Examples¶
Copy-pasteable commands for common tasks. Screenshots are TBD.
1. Everything for a project (data + metadata)¶
Resolves every Run in the project, downloads each through the segmented engine, and md5-verifies it.
2. Metadata only¶
→ PRJNA211801.metadata.tsv (and for GSA, *.metadata.csv + CRA*.metadata.xlsx).
3. Direct gzip FASTQ¶
4. Convert SRA → FASTQ (single-cell friendly)¶
5. Batch download a list, in parallel¶
adaptiseq -i accessions.txt -g # adaptive worker pool (default)
adaptiseq -i accessions.txt -g -j 8 --no-adaptive # fixed 8 workers
accessions.txt — one accession per line, databases may be mixed:
6. Merge an Experiment's Runs¶
7. Aspera (ENA), adaptive pool¶
8. Force a database / protocol¶
9. From Python¶
from adaptiseq import fetch, get_metadata
rows = get_metadata("SRR7706354")
result = fetch("accessions.txt", outdir="data/", gzip=True, jobs=20, adaptive=True)
print(result.success_ids, result.fail_ids, result.failed)
10. Resume an interrupted run¶
Just re-run the same command. Completed Runs in success.log are skipped, and
partially downloaded files (*.part/*.part.meta) are resumed, not restarted. To
force a re-download of one Run: