Skip to content

Commit 4453f5d

Browse files
committed
explain
1 parent 026e361 commit 4453f5d

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@ snakemake -s workflow/metadata.smk --executor slurm -j 20 --default-resources sl
99
snakemake -s workflow/downloads.smk --executor slurm -j 20 --default-resources slurm_account=dla_mm slurm_partition=cpu --keep-going --use-conda --conda-frontend mamba --latency-wait 60 --printshellcmds
1010
```
1111
`Metadata.smk` should NOT be run with `--keep-going`, all rules should always finish without errors. <br>
12-
`Downloads.smk` should be run with `--keep-going`, because it is possible that the files belonging to a NCBI accession are no longer available which means that the rule for that accession will fail.
12+
`Downloads.smk` should be run with `--keep-going`, because it is possible that the files belonging to a NCBI accession are no longer available which means that the rule for that accession will fail. Or a sample is invalid and will fail during fasterq-dump.
1313

14-
## Selecting species
15-
You can specify NCBI taxon ids in `config/metadata.yaml` under `taxon_id`. Single or multiple taxons can be specified separated by a space. **If you specify a taxon id that belongs to a rank higher than a species, all species of that rank will be downloaded!**
14+
## Selecting species & accessions
15+
You can specify NCBI taxon ids in `Data/taxons.txt`. Single or multiple taxons can be specified separated by a space. **If you specify a taxon id that belongs to a rank higher than a species, all species of that rank will be downloaded!**
16+
17+
Sample accession and study accession can be specified in `Data/accessions.txt`. All samples associated with a study will be collected and downloaded.
18+
19+
You can combine as long as you specify everything in their respective files.

0 commit comments

Comments
 (0)