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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file gff_to_genbank-0.0.2.tar.gz.

File metadata

  • Download URL: gff_to_genbank-0.0.2.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.25.1

File hashes

Hashes for gff_to_genbank-0.0.2.tar.gz
Algorithm Hash digest
SHA256 61ba939a985c0b76cede2ca55806ae3af2ca317418d8c904c8977284f2430604
MD5 7e5a74271b5b23972897ded5c1902ac1
BLAKE2b-256 733b47269e0e23b2ab12d6cab6a731b80f261b5afcb023a1a5ef9e90b7df38b5

See more details on using hashes here.

File details

Details for the file gff_to_genbank-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for gff_to_genbank-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5f16eb1ecb321332e258522e010ef6e24d0488effa9b5a7149912846a24a2aaf
MD5 9d1ca969610bdbbd9bfef17802247bdb
BLAKE2b-256 70dfc940acf90aa0df58a692c4f5cea3da7937f15234751cabd38ae0c47c4424

See more details on using hashes here.

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