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
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
File details
Details for the file gff_to_genbank-0.1.0.tar.gz
.
File metadata
- Download URL: gff_to_genbank-0.1.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52c5e75162283c41e4e7b3a50e725b3d244e5eb7df55890e249f0ffd1480195a |
|
MD5 | 0d5f4aa12c702d4bd74278abc6205cf8 |
|
BLAKE2b-256 | 93c8b6a9657695b2bdde912d11959fbd8f862760eca5511771493f7bc3314d0b |
File details
Details for the file gff_to_genbank-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: gff_to_genbank-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c423d7f640f88174f13d5b588352bd57b887ed9899c131f5357998502690dab5 |
|
MD5 | 7e2123afd0a13f537bac61d8212f0317 |
|
BLAKE2b-256 | 859d77ccaa2c4e6db2b2effcf5efb2b181e1b624775ac5944f55cbbf3d78a5b0 |