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.3.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

gff_to_genbank-0.0.3-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for gff_to_genbank-0.0.3.tar.gz
Algorithm Hash digest
SHA256 d28f73719bfbdcef0e698fb758f13765205a6c70a847db89e70298e6575f4ca1
MD5 ee8a1a2b81247b0dc416c819c5fef193
BLAKE2b-256 1cc571b7d2e5472aa1d38947193372b33cb6b1116b80c6fd4124fbf5a09e7c26

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gff_to_genbank-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f32734fe50d7be38f559b9529cedd014c4082cf392c144f8221f37bdb20acb7e
MD5 c47317b9877ce765b1d041b8e5b91398
BLAKE2b-256 91bb6799f7a600cfe72298cf63f38ed7dafcdfa337387ee9e32936507f12f502

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