Skip to main content

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

Metadata

Release files for gff-to-genbank 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gff-to-genbank 0.1.0
File Size Uploaded Provenance
gff_to_genbank-0.1.0.tar.gz 5.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for gff-to-genbank 0.1.0
File Interpreter ABI Platform
gff_to_genbank-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 11.0 kB

Release files / gff_to_genbank-0.1.0.tar.gz

Download URL gff_to_genbank-0.1.0.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
52c5e75162283c41e4e7b3a50e725b3d244e5eb7df55890e249f0ffd1480195a
BLAKE2b-256 checksum
How to use checksums
93c8b6a9657695b2bdde912d11959fbd8f862760eca5511771493f7bc3314d0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.27.2

Release files / gff_to_genbank-0.1.0-py3-none-any.whl

Download URL gff_to_genbank-0.1.0-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c423d7f640f88174f13d5b588352bd57b887ed9899c131f5357998502690dab5
BLAKE2b-256 checksum
How to use checksums
859d77ccaa2c4e6db2b2effcf5efb2b181e1b624775ac5944f55cbbf3d78a5b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.27.2

Security for gff-to-genbank 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page