vimalinx/bio-agent / .claude/skills/fasterq-dump
fasterq-dump
UnverifiedUse when extracting FASTQ or FASTA files from NCBI SRA run accessions, especially after staging runs locally with prefetch.
fasterq-dump
Quick Start
- Command:
fasterq-dump - Local executable: Not installed in this workspace
- Full reference: See
references/help.md
When To Use This Tool
- Convert an SRA run accession into FASTQ files for alignment, QC, or assembly.
- Prefer this over legacy
fastq-dumpfor large public SRA runs when you have enough scratch space. - Use it after
prefetchwhen you want conversion to read from a local accession cache instead of streaming from NCBI.
Common Patterns
# 1) Convert a run accession into paired FASTQ files in a dedicated output directory
fasterq-dump SRR000001 --split-files -e 8 -O fastq -t /scratch
# 2) Best practice for larger runs: prefetch first, then convert from the local accession directory
prefetch SRR000001
fasterq-dump ~/ncbi/public/sra/SRR000001 --split-files -e 8 -O fastq -t /scratch
# 3) Stream a single split-spot FASTQ to stdout for ad hoc processing
fasterq-dump SRR000001 --split-spot -Z | gzip > SRR000001.fastq.gz
Recommended Workflow
- Resolve the exact run accession and, for large jobs, download it locally with
prefetchfirst. - Set an output directory with
-Oand a roomy scratch directory with-t, ideally on different filesystems. - Pick the output mode deliberately:
--split-filesfor paired-end files,--split-spotfor a single stream, or--fasta-unsortedwhen FASTA is enough. - Validate the resulting FASTQ filenames and sizes, then compress afterward with
gziporpigzif needed.
Guardrails
- This tool is not installed locally right now, so these patterns are based on upstream SRA Toolkit behavior rather than a live binary in this workspace.
fasterq-dumptakes one accession at a time and writes output into the current directory unless-Ois supplied.- The tool also creates a temporary
fasterq.tmp.*directory and can require very large scratch space, with worst-case usage on the order of multiple times the final FASTQ size. --stdoutdoes not work with the default split-3 behavior or with--split-files; use--split-spotor another single-stream mode when redirecting output.- There is no built-in gzip output mode; compress files explicitly after conversion.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 192k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 192k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 192k | Updated | Claude CodeCodex | Verified | Install |