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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file genome2json-0.1.1.tar.gz.

File metadata

  • Download URL: genome2json-0.1.1.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.5

File hashes

Hashes for genome2json-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9f55f2794a4f124ec814a33196efc2a965456eed225952d56d8002e53a7f44c3
MD5 43267100fa1035e0a8d2ff254bff2358
BLAKE2b-256 3d687e2e8c3291d1b7c801209fe78293e78d12ecaf154dea26b1550413658cd6

See more details on using hashes here.

File details

Details for the file genome2json-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: genome2json-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 14.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.5

File hashes

Hashes for genome2json-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b39bc9bdd2bee16ab2a86d474fe09a3ff5ece1bb072f6cf7d8509e3048f626e5
MD5 368a949acb207ca516987328b336fb42
BLAKE2b-256 ca1e6acfa504db562d6667d1debc10d708475a278adf3437ee9ed89a40d5778f

See more details on using hashes here.

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