gbf2facds
Quick Start
- Command:
gbf2facds -na < records.gbf > cds.fna - Local executable:
/home/vimalinx/miniforge3/envs/bio/bin/gbf2facds - Reference: See
references/help.mdfor detailed usage
When To Use This Tool
- Extract CDS sequences from GenBank flatfiles in FASTA form.
- Choose nucleotide CDS output (
-na) or translated protein output (-aa) from the same GenBank input. - Flatten GenBank CDS annotations into FASTA records for downstream alignment, clustering, or annotation QC.
Common Patterns
# 1) Extract nucleotide CDS sequences
gbf2facds -na < records.gbf > cds.fna
# 2) Extract translated CDS protein sequences
gbf2facds -aa < records.gbf > cds.faa
Recommended Workflow
- Prepare GenBank format input files
- Pick
-nafor nucleotide CDS or-aafor protein translation output. - Run
gbf2facdson a representative sample and inspect the FASTA headers. - Use extracted CDS for downstream bioinformatics analyses
Guardrails
--helpand--versionare rejected as unrecognized arguments; the only real switches are the nucleotide/protein selectors.- The wrapper depends on
gbf2infoandxtract, so the broader EDirect toolchain must be onPATH. - FASTA headers include accession, protein_id, gene, product, location, and
gbkey, so downstream parsers should expect metadata-rich headers rather than bare accessions.