Metadata-Version: 2.3
Name: gff-to-genbank
Version: 0.1.0
Summary: Script to convert from GFF to Genbank
Project-URL: Documentation, https://github.com/corneliusroemer/gff-to-genbank#readme
Project-URL: Issues, https://github.com/corneliusroemer/gff-to-genbank/issues
Project-URL: Source, https://github.com/corneliusroemer/gff-to-genbank
Author-email: Cornelius Roemer <cornelius.roemer@gmail.com>
License-Expression: MIT
License-File: LICENSE.txt
Classifier: Development Status :: 4 - Beta
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=3.8
Requires-Dist: bcbio-gff>=0.7
Requires-Dist: biopython>=1.81
Description-Content-Type: text/markdown

# 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:

```bash
pip install gff-to-genbank
```

```bash
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:

```bash
hatch version <new_version>
```

Publishing to PyPi:

```bash
hatch build
hatch publish
```
