Skip to content
This repository has been archived by the owner on Dec 12, 2023. It is now read-only.

Commit

Permalink
Merge pull request #29 from ArcInstitute/master
Browse files Browse the repository at this point in the history
release v0.2.5
  • Loading branch information
abearab authored Dec 11, 2023
2 parents b62236b + cc734f7 commit 0cf090d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ jobs:
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
password: ${{ secrets.PYPI_TOKEN }}
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,11 @@ Here is an example for running the workflow on a [CRISPRi-dual-sgRNA-screens](#c
```python
# Run the ScreenPro2 workflow for CRISPRi-dual-sgRNA-screens
screen.calculateDrugScreen(
t0='T0', untreated='DMSO', treated='Drug',
growth_rate=1, # can be replaced by the growth values (population doublings/doubling differences)
t0='T0',
untreated='DMSO', # replace with the label for untreated condition
treated='Drug', # replace with the label for treated condition
db_untreated=1, # replace with doubling rate of untreated condition
db_treated=1, # replace with doubling rate of treated condition
score_level='compare_reps'
)
```
Expand Down Expand Up @@ -129,4 +132,4 @@ ScreenPro2 is licensed under the terms of the MIT license (see [LICENSE](LICENSE
by Abolfazl (Abe) Arab ([@abearab](https://github.com/abearab)), a Research Associate in the Gilbert lab at UCSF and Arc Institute.

## Citation
If you use ScreenPro2 in your research, please cite the following paper.
If you use ScreenPro2 in your research, please cite the following paper.
3 changes: 2 additions & 1 deletion screenpro/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,9 @@ def calculateDrugScreen(self, t0, untreated, treated, db_untreated, db_treated,
n_reps=self.n_reps,
math=self.math, test=self.test, score_level=score_level
)
# TO-DO: warning / error if db_untreated and db_treated are too close, i.e. growth_rate ~= 0.
rho_name, rho = ps.runPhenoScore(
self.adata, cond1=untreated, cond2=treated, growth_rate=np.abs(db_untreated - (1 - db_treated)),
self.adata, cond1=untreated, cond2=treated, growth_rate=np.abs(db_untreated - db_treated),
n_reps=self.n_reps,
math=self.math, test=self.test, score_level=score_level
)
Expand Down
12 changes: 0 additions & 12 deletions screenpro/pyproject.toml

This file was deleted.

0 comments on commit 0cf090d

Please sign in to comment.