ScreenPro2 0.5.1__tar.gz → 0.7.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {screenpro2-0.5.1 → screenpro2-0.7.0}/LICENSE +1 -1
- {screenpro2-0.5.1 → screenpro2-0.7.0}/PKG-INFO +16 -10
- {screenpro2-0.5.1 → screenpro2-0.7.0}/README.md +10 -6
- {screenpro2-0.5.1 → screenpro2-0.7.0}/pyproject.toml +3 -2
- {screenpro2-0.5.1 → screenpro2-0.7.0}/screenpro/assays/__init__.py +2 -2
- {screenpro2-0.5.1 → screenpro2-0.7.0}/screenpro/ngs/cas9.py +9 -10
- {screenpro2-0.5.1 → screenpro2-0.7.0}/screenpro/__init__.py +0 -0
- {screenpro2-0.5.1 → screenpro2-0.7.0}/screenpro/__main__.py +0 -0
- {screenpro2-0.5.1 → screenpro2-0.7.0}/screenpro/dashboard/__init__.py +0 -0
- {screenpro2-0.5.1 → screenpro2-0.7.0}/screenpro/load.py +0 -0
- {screenpro2-0.5.1 → screenpro2-0.7.0}/screenpro/main.py +0 -0
- {screenpro2-0.5.1 → screenpro2-0.7.0}/screenpro/ngs/__init__.py +0 -0
- {screenpro2-0.5.1 → screenpro2-0.7.0}/screenpro/ngs/cas12.py +0 -0
- {screenpro2-0.5.1 → screenpro2-0.7.0}/screenpro/phenoscore/__init__.py +0 -0
- {screenpro2-0.5.1 → screenpro2-0.7.0}/screenpro/phenoscore/_annotate.py +0 -0
- {screenpro2-0.5.1 → screenpro2-0.7.0}/screenpro/phenoscore/delta.py +0 -0
- {screenpro2-0.5.1 → screenpro2-0.7.0}/screenpro/phenoscore/deseq.py +0 -0
- {screenpro2-0.5.1 → screenpro2-0.7.0}/screenpro/phenoscore/evaluate.py +0 -0
- {screenpro2-0.5.1 → screenpro2-0.7.0}/screenpro/phenoscore/phenostat.py +0 -0
- {screenpro2-0.5.1 → screenpro2-0.7.0}/screenpro/plotting/__init__.py +0 -0
- {screenpro2-0.5.1 → screenpro2-0.7.0}/screenpro/plotting/_rank.py +0 -0
- {screenpro2-0.5.1 → screenpro2-0.7.0}/screenpro/plotting/_utils.py +0 -0
- {screenpro2-0.5.1 → screenpro2-0.7.0}/screenpro/plotting/pheno_plots.py +0 -0
- {screenpro2-0.5.1 → screenpro2-0.7.0}/screenpro/plotting/qc_plots.py +0 -0
- {screenpro2-0.5.1 → screenpro2-0.7.0}/screenpro/preprocessing.py +0 -0
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: ScreenPro2
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.7.0
|
|
4
4
|
Summary: Flexible analysis of high-content CRISPR screening
|
|
5
5
|
License: MIT
|
|
6
|
+
License-File: LICENSE
|
|
6
7
|
Keywords: CRISPR,screening,bioinformatics
|
|
7
|
-
Author:
|
|
8
|
-
Author-email:
|
|
8
|
+
Author: Abolfazl Arab
|
|
9
|
+
Author-email: abolfazl.arab@ucsf.edu
|
|
9
10
|
Requires-Python: >=3.9
|
|
10
11
|
Classifier: License :: OSI Approved :: MIT License
|
|
11
12
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -14,16 +15,19 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
14
15
|
Classifier: Programming Language :: Python :: 3.11
|
|
15
16
|
Classifier: Programming Language :: Python :: 3.12
|
|
16
17
|
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
17
19
|
Project-URL: Homepage, https://github.com/ArcInstitute/ScreenPro2
|
|
18
20
|
Project-URL: Repository, https://github.com/ArcInstitute/ScreenPro2
|
|
19
21
|
Description-Content-Type: text/markdown
|
|
20
22
|
|
|
21
23
|
[](https://arcinstitute.org/tools/screenpro2)
|
|
24
|
+
[](https://doi.org/10.5281/zenodo.18807934)
|
|
25
|
+
[](https://doi.org/10.1038/s41589-026-02312-z)
|
|
22
26
|
[](https://badge.fury.io/py/ScreenPro2)
|
|
23
27
|
[](https://screenpro2.readthedocs.io/en/latest/?version=latest)
|
|
24
28
|
[](https://pepy.tech/project/screenpro2)
|
|
25
29
|
[](https://pepy.tech/project/screenpro2)
|
|
26
|
-
|
|
30
|
+
|
|
27
31
|
# ScreenPro2
|
|
28
32
|
|
|
29
33
|
## Introduction
|
|
@@ -356,11 +360,13 @@ ScreenPro2 is licensed under the terms of the MIT license (see [LICENSE](LICENSE
|
|
|
356
360
|
by Abolfazl (Abe) Arab ([@abearab](https://github.com/abearab)) as a Research Associate in the Gilbert lab at UCSF and Arc Institute.
|
|
357
361
|
|
|
358
362
|
## Citation
|
|
359
|
-
If you use ScreenPro2 in your research, please cite the
|
|
363
|
+
If you use ScreenPro2 in your research, please cite both the software release and the published paper.
|
|
360
364
|
|
|
361
|
-
|
|
365
|
+
**Final publication note**: The final ScreenPro2 publication is now available in _Nature Chemical Biology_ (2026): https://doi.org/10.1038/s41589-026-02312-z
|
|
366
|
+
|
|
367
|
+
- **Software (Zenodo)**:
|
|
368
|
+
> Arab, A., et al. ArcInstitute/ScreenPro2. _Zenodo_ (2026). https://doi.org/10.5281/zenodo.18884467
|
|
362
369
|
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
Tests can be easily run using the `pytest` framework.
|
|
370
|
+
- **Paper (Nature Chemical Biology)**:
|
|
371
|
+
> O’Loughlin, T.A., Arab, A., et al. **Chemogenomic maps reveal a PRDX1-dependent iron–damage axis in the DNA damage response.** _Nat Chem Biol_ (2026). https://doi.org/10.1038/s41589-026-02312-z
|
|
366
372
|
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
[](https://arcinstitute.org/tools/screenpro2)
|
|
2
|
+
[](https://doi.org/10.5281/zenodo.18807934)
|
|
3
|
+
[](https://doi.org/10.1038/s41589-026-02312-z)
|
|
2
4
|
[](https://badge.fury.io/py/ScreenPro2)
|
|
3
5
|
[](https://screenpro2.readthedocs.io/en/latest/?version=latest)
|
|
4
6
|
[](https://pepy.tech/project/screenpro2)
|
|
5
7
|
[](https://pepy.tech/project/screenpro2)
|
|
6
|
-
|
|
8
|
+
|
|
7
9
|
# ScreenPro2
|
|
8
10
|
|
|
9
11
|
## Introduction
|
|
@@ -336,10 +338,12 @@ ScreenPro2 is licensed under the terms of the MIT license (see [LICENSE](LICENSE
|
|
|
336
338
|
by Abolfazl (Abe) Arab ([@abearab](https://github.com/abearab)) as a Research Associate in the Gilbert lab at UCSF and Arc Institute.
|
|
337
339
|
|
|
338
340
|
## Citation
|
|
339
|
-
If you use ScreenPro2 in your research, please cite the
|
|
341
|
+
If you use ScreenPro2 in your research, please cite both the software release and the published paper.
|
|
340
342
|
|
|
341
|
-
|
|
343
|
+
**Final publication note**: The final ScreenPro2 publication is now available in _Nature Chemical Biology_ (2026): https://doi.org/10.1038/s41589-026-02312-z
|
|
344
|
+
|
|
345
|
+
- **Software (Zenodo)**:
|
|
346
|
+
> Arab, A., et al. ArcInstitute/ScreenPro2. _Zenodo_ (2026). https://doi.org/10.5281/zenodo.18884467
|
|
342
347
|
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
Tests can be easily run using the `pytest` framework.
|
|
348
|
+
- **Paper (Nature Chemical Biology)**:
|
|
349
|
+
> O’Loughlin, T.A., Arab, A., et al. **Chemogenomic maps reveal a PRDX1-dependent iron–damage axis in the DNA damage response.** _Nat Chem Biol_ (2026). https://doi.org/10.1038/s41589-026-02312-z
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "ScreenPro2"
|
|
3
3
|
description = "Flexible analysis of high-content CRISPR screening"
|
|
4
|
-
version = "0.
|
|
4
|
+
version = "0.7.0"
|
|
5
5
|
authors = [
|
|
6
|
-
"
|
|
6
|
+
"Abolfazl Arab <abolfazl.arab@ucsf.edu>",
|
|
7
|
+
"Nick Youngblut <nick.youngblut@arcinstitute.org>",
|
|
7
8
|
]
|
|
8
9
|
license = "MIT"
|
|
9
10
|
readme = "README.md"
|
|
@@ -71,8 +71,8 @@ class PooledScreens(object):
|
|
|
71
71
|
growth_factors = []
|
|
72
72
|
# calculate growth factor for gamma, tau, or rho score per replicates
|
|
73
73
|
for replicate in adat.obs.replicate.unique():
|
|
74
|
-
db_untreated = adat.obs.query(f'condition == "{untreated}" & replicate == {str(replicate)}')[db_rate_col][0]
|
|
75
|
-
db_treated = adat.obs.query(f'condition == "{treated}" & replicate == {str(replicate)}')[db_rate_col][0]
|
|
74
|
+
db_untreated = adat.obs.query(f'condition == "{untreated}" & replicate == {str(replicate)}')[db_rate_col].iloc[0]
|
|
75
|
+
db_treated = adat.obs.query(f'condition == "{treated}" & replicate == {str(replicate)}')[db_rate_col].iloc[0]
|
|
76
76
|
|
|
77
77
|
growth_factors.append(('gamma', db_untreated, replicate, f'gamma_replicate_{replicate}'))
|
|
78
78
|
growth_factors.append(('tau', db_treated, replicate, f'tau_replicate_{replicate}'))
|
|
@@ -154,10 +154,9 @@ def map_to_library_single_guide(df_count, library, return_type='all', verbose=Fa
|
|
|
154
154
|
)
|
|
155
155
|
|
|
156
156
|
if verbose:
|
|
157
|
-
print(
|
|
158
|
-
|
|
159
|
-
res_map
|
|
160
|
-
int(res.select(pl.sum("count")).to_pandas()['count'])
|
|
157
|
+
print(
|
|
158
|
+
"% mapped reads",
|
|
159
|
+
100 * res_map['count'].sum() / res["count"].sum()
|
|
161
160
|
)
|
|
162
161
|
|
|
163
162
|
if return_type == 'unmapped':
|
|
@@ -221,8 +220,8 @@ def map_to_library_dual_guide(df_count, library, get_recombinant=False, return_t
|
|
|
221
220
|
if verbose:
|
|
222
221
|
print("% mapped reads",
|
|
223
222
|
100 * \
|
|
224
|
-
res_map
|
|
225
|
-
|
|
223
|
+
res_map['count'].sum() / \
|
|
224
|
+
res["count"].sum()
|
|
226
225
|
)
|
|
227
226
|
|
|
228
227
|
if get_recombinant:
|
|
@@ -230,8 +229,8 @@ def map_to_library_dual_guide(df_count, library, get_recombinant=False, return_t
|
|
|
230
229
|
if verbose:
|
|
231
230
|
print("% unmapped reads",
|
|
232
231
|
100 * \
|
|
233
|
-
res_unmap
|
|
234
|
-
|
|
232
|
+
res_unmap['count'].sum() / \
|
|
233
|
+
res["count"].sum()
|
|
235
234
|
)
|
|
236
235
|
|
|
237
236
|
sgRNA_table = pd.concat([
|
|
@@ -253,8 +252,8 @@ def map_to_library_dual_guide(df_count, library, get_recombinant=False, return_t
|
|
|
253
252
|
if verbose:
|
|
254
253
|
print("% fully remapped recombination events",
|
|
255
254
|
100 * \
|
|
256
|
-
res_recomb_events.drop_nulls()
|
|
257
|
-
|
|
255
|
+
res_recomb_events.drop_nulls()['count'].sum() / \
|
|
256
|
+
res['count'].sum()
|
|
258
257
|
)
|
|
259
258
|
|
|
260
259
|
if return_type == 'unmapped':
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|