refseq-nm-cds
Operational EDirect workflow for downloading RefSeq mRNA GenBank flatfiles by species and extracting NM_* CDS intervals/sequences into <species>_cds.txt.
Quick Start
- Command:
refseq-nm-cds <species> - Local executable:
/home/vimalinx/miniforge3/envs/bio/bin/refseq-nm-cds - Supported species/aliases:
human|man,mouse|mice,rat,pig,cow,frog,fish|zebrafish, orall
When To Use This Tool
Retrieving NCBI RefSeq NM (mRNA) coding sequences for model organisms. Accepts species name as the sole argument and outputs CDS records. Installed as part of the bioconda entrez-direct package.
Common Patterns
# 1) Download and process the default human set
refseq-nm-cds human
# 2) Use an accepted alias
refseq-nm-cds man
refseq-nm-cds zebrafish
# 3) Process all supported species
refseq-nm-cds all
Recommended Workflow
- Pick one species first to estimate runtime, disk growth, and network behavior.
- Let the script finish both its download and processing phases.
- Collect the resulting
<species>_cds.txtfiles and inspect a few rows before downstream use. - Only then scale out to
allif you really need every supported species.
Guardrails
- This script is not a light query helper. By default it both downloads many
*.rna.gbff.gzfiles and processes them. - If no species is supplied, source inspection shows it defaults to
human. - Unsupported arguments such as
--helpor--versionare treated as species names. In local testing that path also emitted a shell error from a straybreakbefore printing the species warning. - The workflow depends on many sibling tools being on
PATH, includingnquire,skip-if-file-exists,gbf2xml, andxtract. - Output is written to files such as
human_cds.txt,mouse_cds.txt, andzebrafish_cds.txt; it is not primarily a stdout-streaming tool.