Skip to main content

Parse genomes in GenBank/GFF3 formats to JSON

Project description

genome2json

Parse genomes in GenBank/GFF3 format to JSON

Implemented in pure Python using builtin libraries.

$ g2j -h

usage: Genome2JSON [-h] (-gbk GENBANK | -gff GENERAL) [-fa FASTA] -o OUTPUT
                   [--json_indent JSON_INDENT] [--grouped]

Parse genomes in GenBank/GFF3 format, and convert to JSON

optional arguments:
  -h, --help            show this help message and exit
  -gbk GENBANK, --genbank GENBANK
                        GenBank file
  -gff GENERAL, --general GENERAL
                        GFF3 file
  -fa FASTA, --fasta FASTA
                        FASTA file, required when parsing GFF
  -o OUTPUT, --output OUTPUT
                        Save JSON to file
  --json_indent JSON_INDENT
                        Number of spaces to indent in JSON
  --grouped             Group overlapping sequence features

Cameron Gilchrist 2020

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

genome2json-0.1.1.tar.gz (12.2 kB view hashes)

Uploaded Source

Built Distribution

genome2json-0.1.1-py3-none-any.whl (14.3 kB view hashes)

Uploaded Python 3

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