1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
|
===============
augur translate
===============
.. contents::
:local:
.. argparse::
:module: augur
:func: make_parser
:prog: augur
:path: translate
Example Node Data JSON
======================
Here's an example of the output node-data JSON where ``NODE_1`` has no
mutations compared to it's parent and ``NODE_2`` has multiple mutations in
multiple genes.
.. code-block:: json
{
"annotations": {
"GENE_1": {
"end": 1685,
"seqid": "reference.gb",
"start": 108,
"strand": "+",
"type": "CDS"
},
"GENE_2": {
"end": 2705,
"seqid": "reference.gb",
"start": 1807,
"strand": "+",
"type": "CDS"
},
},
"nodes": {
"NODE_1": {
"aa_muts": []
},
"NODE_2": {
"aa_muts": [
"GENE_1": [
"S139N",
"R213K",
"R439G",
"V440A",
"D474N",
"S479W",
"S481T",
"P485L",
"R521K"
],
"GENE_2": [
"P43S",
"D46N",
"C64R",
"R98K",
"D136G",
"M175V"
]
]
}
},
"reference": {
"GENE_1": "MATLLRSLAL...",
"GENE_2": "MAEEQARHVK..."
}
}
|