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
- BioPython - https://biopython.org/
- BCBio - https://github.com/chapmanb/bcbb
Development
Set new version:
hatch version <new_version>
Publishing to PyPi:
hatch build
hatch publish
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for gff_to_genbank-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f16eb1ecb321332e258522e010ef6e24d0488effa9b5a7149912846a24a2aaf |
|
MD5 | 9d1ca969610bdbbd9bfef17802247bdb |
|
BLAKE2b-256 | 70dfc940acf90aa0df58a692c4f5cea3da7937f15234751cabd38ae0c47c4424 |