json2gff - Convert JSON to GFF

Overview

Changed in version 0.3.4: using click instead of argparse

New in version 0.2.6.

This script converts annotations in JSON format that were created using MGKit back into GFF annotations.

mongodb command

Annotations converted into MongoDB records with get-gff-info mongodb can be converted back into a GFF file using this command. It can be useful to get a GFF file as output from a query to a MongoDB instance on the command line.

For example:

mongoexport -d db -c test | json2gff mongodb

will convert all the annotations in the database db, collection test to the standard out.

Options

json2gff

Main function

json2gff [OPTIONS] COMMAND [ARGS]...

Options

--version

Show the version and exit.

--cite

mongodb

Convert annotations from a MongoDB instance to GFF

json2gff mongodb [OPTIONS] [INPUT_FILE] [GFF_FILE]

Options

-v, --verbose

Arguments

INPUT_FILE

Optional argument

GFF_FILE

Optional argument