bio-sra-data
Installation
SKILL.md
Version Compatibility
Reference examples tested with: BioPython 1.83+, Entrez Direct 21.0+, SRA Toolkit 3.0+
Before using code patterns, verify installed versions match. If versions differ:
- Python:
pip show <package>thenhelp(module.function)to check signatures - CLI:
<tool> --versionthen<tool> --helpto confirm flags
If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying.
SRA Data
Download raw sequencing data from the Sequence Read Archive using the SRA toolkit.
"Download FASTQ from SRA" → Fetch raw sequencing reads from an SRA accession as FASTQ files.
- CLI:
fasterq-dump SRR_ACCESSION(SRA Toolkit) - Python:
subprocess.run(['fasterq-dump', accession])orEntrez.efetch()for metadata