freedomintelligence/openclaw-medical-skills/bio-sra-data
Claude Code and agent skill by freedomintelligence/openclaw-medical-skills
- community
Checking that the SKILL.md file is still in the repository.
Download sequencing data from NCBI SRA using the SRA toolkit. Use when downloading FASTQ files from SRA accessions, prefetching large datasets, or validating SRA downloads.
Install
npx vskill@latest install freedomintelligence/openclaw-medical-skills/bio-sra-dataSKILL.md
The same SKILL.md was published earlier as freedomintelligence/openclaw-medical-skills/bio-sra-data.
SRA Data
Download raw sequencing data from the Sequence Read Archive using the SRA toolkit.
Installation
Core Commands
fasterq-dump - Download FASTQ (Recommended)
Fast, multithreaded FASTQ extraction. Preferred over fastq-dump.
Key Options:
| Option | Description | Example | |
|---|---|---|---|
-O / --outdir | Output directory | -O ./fastq/ | |
-o / --outfile | Output filename | -o sample.fastq | |
-e / --threads | Number of threads | -e 8 | |
-p / --progress | Show progress bar | -p | |
-S / --split-files | Split paired reads (default) | -S | |
-3 / --split-3 | Also output unpaired reads | -3 | |
--skip-technical | Skip technical reads | --skip-technical | |
-t / --temp | Temp directory | -t /tmp | |
-f / --force | Overwrite existing | -f |
prefetch - Download SRA Files First
For large files or unreliable connections, prefetch first, then convert.
Prefetch Options:
| Option | Description | |
|---|---|---|
-O / --output-directory | Download location | |
-p / --progress | Show progress | |
-f / --force | Re-download if exists | |
--max-size | Max file size (e.g., 50G) | |
-X / --max-size | Same as above |
vdb-validate - Verify Downloads
Check integrity of downloaded SRA files.
sra-stat - Get Run Statistics
Get information about an SRA run without downloading.
Configuration
vdb-config - Configure SRA Toolkit
Set up cache location and other settings.
Cache Location
Default: ~/ncbi/ on Linux/macOS
Code Patterns
Download Single Run
Download Multiple Runs
Prefetch Then Convert (Large Files)
Batch Download Script
Python Wrapper
Find SRA Accessions with Entrez
SRA Accession Types
| Prefix | Type | Description | |
|---|---|---|---|
| SRR | Run | Individual sequencing run | |
| SRX | Experiment | Experimental design | |
| SRS | Sample | Biological sample | |
| SRP | Project/Study | Research project | |
| PRJNA | BioProject | NCBI BioProject ID | |
| SAMN | BioSample | NCBI BioSample ID |
Use Run accessions (SRR*) with fasterq-dump.
Common Errors
| Error | Cause | Solution | |
|---|---|---|---|
item not found | Invalid accession | Check accession exists | |
disk full | Insufficient space | Check temp and output dirs | |
timeout | Network issues | Use prefetch first | |
path not found | Bad output path | Create output directory | |
permission denied | Cache permission | Check vdb-config |
Comparison: fasterq-dump vs fastq-dump
| Feature | fasterq-dump | fastq-dump | |
|---|---|---|---|
| Speed | Fast (multithreaded) | Slow (single-threaded) | |
| Memory | Higher | Lower | |
| Progress | Built-in | None | |
| Recommended | Yes | Legacy only |
Always prefer fasterq-dump unless memory constrained.
Decision Tree
Related Skills
- entrez-search - Search SRA database to find accessions
- sequence-io - Read downloaded FASTQ files with Biopython
- sequence-io/paired-end-fastq - Handle paired R1/R2 files
- alignment-files - Align downloaded reads
<!-- AUTHOR_SIGNATURE: 9a7f3c2e-MD-BABU-MIA-2026-MSSM-SECURE -->
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/bio-sra-data/SKILL.md
Popularity
- Repository stars
- 2,777
- Repository forks
- 386
- 7-day trend score
- 40
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/freedomintelligence/openclaw-medical-skills/bio-sra-data)