Skip to content

Commit 8b69654

Browse files
committed
Merge branch 'main' of github.com:slowkow/saturation into main
2 parents d8c4d20 + 07162ec commit 8b69654

File tree

1 file changed

+11
-8
lines changed

1 file changed

+11
-8
lines changed

README.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# saturation.R
22

3+
<a href="https://zenodo.org/badge/latestdoi/611932244"><img src="https://zenodo.org/badge/611932244.svg" alt="DOI"></a>
4+
35
Here is an R script `saturation.R` for estimating sequencing saturation from a
46
GEX, VDJ, or ADT dataset from the 10x Genomics platform.
57

@@ -57,7 +59,7 @@ Writing output/total_reads-vs-saturation-gex.pdf
5759
```
5860

5961
<p align="center">
60-
<img width="50%" src="https://user-images.githubusercontent.com/209714/224153589-ef7b1580-c29e-43e6-938a-d4d9e66af541.png">
62+
<img width="50%" src="https://user-images.githubusercontent.com/209714/224188198-19f808f7-cbe9-4c21-a88a-8bbf9eb4cec7.png">
6163
</p>
6264

6365

@@ -76,7 +78,7 @@ Writing output/tcr/total_reads-vs-saturation-vdj.pdf
7678
```
7779

7880
<p align="center">
79-
<img width="50%" src="https://user-images.githubusercontent.com/209714/224153652-933585f5-3e48-4a35-8514-cc2f3b7d339e.png">
81+
<img width="50%" src="https://user-images.githubusercontent.com/209714/224188379-cba4664a-cc5d-4f49-a03f-9496cf77522a.png">
8082
</p>
8183

8284
### ADT
@@ -95,11 +97,10 @@ Writing output/histogram-saturation-adt-feature.pdf
9597
```
9698

9799
<p align="center">
98-
<img width="50%" src="https://user-images.githubusercontent.com/209714/224153734-6fe76c17-0aef-487c-8e3f-de70a1540c86.png">
99-
<img width="50%" src="https://user-images.githubusercontent.com/209714/224153888-63613f19-0840-4d79-8a2f-5ebca0ffafb3.png">
100+
<img width="50%" src="https://user-images.githubusercontent.com/209714/224188298-b136b303-fcf1-4c73-a764-6e64ee178d0c.png">
101+
<img width="50%" src="https://user-images.githubusercontent.com/209714/224188339-428709d8-c885-4d28-85f1-16159b58821f.png">
100102
</p>
101103

102-
103104
## Running parallel jobs with rush
104105

105106
Install [rush](https://github.com/shenwei356/rush) by Wei Shen:
@@ -108,9 +109,11 @@ Install [rush](https://github.com/shenwei356/rush) by Wei Shen:
108109
go install github.com/shenwei356/rush
109110
```
110111

111-
ls /projects/irae_blood/cellranger_output/*/{molecule_info.h5,all_contig_annotations.csv,*.stat.csv.gz} > files.txt
112-
113-
rush -i files.txt -o rush-saturation.txt -j16 'Rscript saturation.R --out irae_blood/{/%} --file {}'
112+
Then make a list of input files and pass it to rush:
114113

114+
```bash
115+
ls /project/cellranger_output/*/{molecule_info.h5,all_contig_annotations.csv,*.stat.csv.gz} > files.txt
115116

117+
rush -i files.txt -o rush-saturation.txt -j16 'Rscript saturation.R --out out/{/%} --file {}'
118+
```
116119

0 commit comments

Comments
 (0)