.. _genomediff-format: |gdtools| Utility Program =========================== Performs various functions on genomediff formatted files. Options depend on the COMMAND supplied. Only a small subset of these commands are described below. For a full list of gdtools subcommands run it from the command line with no options:: gdtools Command: ANNOTATE ------------------- Usage:: gdtools ANNOTATE -r reference.gbk [--html -o output.html] input1.gd input2.gd ... .. program:: gdtools ANNOTATE Annotate a |Genome Diff| file with information about mutations (what genes they affect, amino acid substitutions, etc.) Default output is to another |Genome Diff|, but an HTML table can be produced with a table of mutations in a single |Genome Diff| file or to compare the mutations present in several |Genome Diff| files. .. option:: -r , --reference= Reference sequence files (Genbank, GFF, or FASTA). This option may be entered multiple times. REQUIRED .. option:: -o , --output= Output file containing the mutation table. DEFAULT: "annotated.gd" or "annotated.html". .. option:: --html Output an HTML table instead of a |Genome Diff| file. input1.gd input2.gd ... Input |Genome Diff| file(s). This option may be entered multiple times to compare across files. REQUIRED Command: APPLY ---------------- Usage:: gdtools APPLY -r reference.gbk -f GFF3 [-o output.html] input.gd .. program:: gdtools APPLY Apply the mutations described in the input |Genome Diff| to the reference sequence(s). .. option:: -r , --reference= Reference sequence files (Genbank, GFF, or FASTA). This option may be entered multiple times. REQUIRED .. option:: -o , --output= Output file containing the mutation table. DEFAULT: "output.*" .. option:: -f , --format= Output format. Possible values are "fasta" or "gff3". input.gd Input |Genome Diff| file. REQUIRED Command: SUBTRACT ----------------- Usage:: gdtools SUBTRACT [-o output.gd] input.gd subtract1.gd [subtract2.gd ...] .. program:: gdtools SUBTRACT Creates a new |Genome Diff| file of mutations from the input file that are present after removing mutations present in any of the subtracted |Genome Diff| files. .. option:: -o , --output= Output |Genome Diff| file. DEFAULT: "output.gd". input.gd Input |Genome Diff| file. subtract.gd [subtract2.gd ...] |Genome Diff| files to subtract from input file. Command: INTERSECT ------------------ Usage:: gdtools INTERSECT [-o output.gd] input1.gd input2.gd ... .. program:: gdtools INTERSECT Creates a new |Genome Diff| file with mutations that are present in ALL input |Genome Diff| files. .. option:: -o , --output= Output |Genome Diff| file. DEFAULT: "output.gd". input1.gd input2.gd ... Input |Genome Diff| files.