Skip to main content

Script to convert from GFF to Genbank

Project description

gff-to-genbank

Convert GFF file to GenBank file format while extracting the sequences between the annotated regions

Original script written by Brad Chapman and Hsiao Yi - https://github.com/chapmanb/bcbb/blob/master/gff/Scripts/gff/gff_to_genbank.py

Edited by Kartik Chundru to crop the FASTA sequence between the first and last annotated regions.

Edited by Cornelius Roemer to make it work with BioPython 1.81 and to allow compound CDS features. Made pip installable at https://pypi.org/project/gff-to-genbank/

Usage

Installation:

pip install gff-to-genbank
gff-to-genbank <gff_file> <fasta_file>

Output is written to stdout, so you'll want to redirect it to a file.

Dependencies

Development

Set new version:

hatch version <new_version>

Publishing to PyPi:

hatch build
hatch publish

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gff_to_genbank-0.0.2.tar.gz (5.0 kB view hashes)

Uploaded Source

Built Distribution

gff_to_genbank-0.0.2-py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page