Use when converting GenBank-derived GFF into bcftools/csq-friendly Ensembl-like GFF3 with the legacy `gff2gff.py` helper.
/home/vimalinx/miniforge3/envs/bio/bin/gff2gff.py input.gff scratch.db > output.gff3/home/vimalinx/miniforge3/envs/bio/bin/gff2gff.pyreferences/help.md for complete options and usagebcftools csq use.gffutils database and emit a simplified gene / transcript / CDS hierarchy to stdout.gene, mRNA, CDS, ncRNA, Name, and locus_tag attributes.# 1) Convert a GenBank-derived GFF and keep the intermediate gffutils DB
/home/vimalinx/miniforge3/envs/bio/bin/gff2gff.py \
input.gff \
scratch.db \
> output.gff3
# 2) Write the scratch DB to a temporary location
tmp_db=$(mktemp /tmp/gffutils.XXXXXX.db)
/home/vimalinx/miniforge3/envs/bio/bin/gff2gff.py input.gff "$tmp_db" > output.gff3
gffutils; this script imports it before any argument parsing.gffutils database there with force=True.### separators plus gene, transcript, and CDS records before trusting it in annotation workflows.gff2gff.py --help and --version both fail immediately with ModuleNotFoundError: No module named 'gffutils'.ncRNA feature groups and prints only gene, transcript, and CDS records.Name and locus_tag; mismatched GFF flavors can crash or assert instead of degrading gracefully.