$ augur export v2 --tree test.nwk --metadata test.tsv --metadata-columns accession url --output test.json
WARNING: You didn't provide information on who is maintaining this analysis.
Validating produced JSON
Validating schema of 'test.json'...
Validating that the JSON is internally consistent...
Validation of 'test.json' succeeded.
Created
February 10, 2025 17:58
-
-
Save tsibley/844827c32011e5ae66a876297083ab4e to your computer and use it in GitHub Desktop.
Augur/Auspice accession and url demo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "v2", | |
"meta": { | |
"updated": "2025-02-10", | |
"colorings": [], | |
"filters": [], | |
"panels": [ | |
"tree" | |
] | |
}, | |
"tree": { | |
"name": "INT2", | |
"node_attrs": { | |
"div": 0 | |
}, | |
"branch_attrs": {}, | |
"children": [ | |
{ | |
"name": "INT1", | |
"node_attrs": { | |
"div": 1.0 | |
}, | |
"branch_attrs": {}, | |
"children": [ | |
{ | |
"name": "c", | |
"node_attrs": { | |
"div": 2.0 | |
}, | |
"branch_attrs": {} | |
}, | |
{ | |
"name": "b", | |
"node_attrs": { | |
"div": 2.0 | |
}, | |
"branch_attrs": {} | |
} | |
] | |
}, | |
{ | |
"name": "a", | |
"node_attrs": { | |
"div": 1.0, | |
"accession": "ABC123", | |
"url": "https://example.com/#ABC123" | |
}, | |
"branch_attrs": {} | |
} | |
] | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
((c:1,b:1)INT1:1,a:1)INT2:1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name | accession | url | |
---|---|---|---|
a | ABC123 | https://example.com/#ABC123 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment