-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #74 from broadinstitute/dp-augur
small nextstrain workflow updates
- Loading branch information
Showing
15 changed files
with
6,745 additions
and
14 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
version 1.0 | ||
|
||
import "../tasks/tasks_nextstrain.wdl" as nextstrain | ||
|
||
workflow newick_to_auspice { | ||
meta { | ||
description: "Convert a newick formatted phylogenetic tree into a json suitable for auspice visualization. See https://nextstrain-augur.readthedocs.io/en/stable/usage/cli/export.html" | ||
} | ||
|
||
call nextstrain.export_auspice_json | ||
output { | ||
File auspice_json = export_auspice_json.virus_json | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
version 1.0 | ||
|
||
import "../tasks/tasks_nextstrain.wdl" as nextstrain | ||
|
||
workflow subsample_by_metadata { | ||
meta { | ||
description: "Filter and subsample a sequence set. See https://nextstrain-augur.readthedocs.io/en/stable/usage/cli/filter.html" | ||
} | ||
|
||
call nextstrain.filter_subsample_sequences | ||
output { | ||
File filtered_fasta = filter_subsample_sequences.filtered_fasta | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"build_augur_tree.genbank_gb": "test/input/zika-tutorial/config/zika_outgroup.gb", | ||
"build_augur_tree.ref_fasta": "test/input/zika-tutorial/data/KX369547.1.fna", | ||
"build_augur_tree.export_auspice_json.colors_tsv": "test/input/zika-tutorial/config/colors.tsv", | ||
"build_augur_tree.virus": "testrun", | ||
"build_augur_tree.export_auspice_json.auspice_config": "test/input/zika-tutorial/config/auspice_config.json", | ||
"build_augur_tree.ancestral_traits_to_infer": ["region", "country"], | ||
"build_augur_tree.export_auspice_json.lat_longs_tsv": "test/input/zika-tutorial/config/lat_longs.tsv", | ||
"build_augur_tree.assembly_fastas": ["test/input/zika-tutorial/data/sequences.fasta"], | ||
"build_augur_tree.sample_metadata": "test/input/zika-tutorial/data/metadata.tsv" | ||
} | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Nextstrain build for Zika virus tutorial | ||
|
||
This repository provides the data and scripts associated with the [Zika virus tutorial](https://nextstrain.org/docs/getting-started/zika-tutorial). | ||
|
||
See the [original Zika build repository](https://github.com/nextstrain/zika) for more about the public build. |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
"title": "Tutorial Nextstrain build for Zika virus", | ||
"maintainers": [ | ||
{"name": "Trevor Bedford", "url": "http://bedford.io/team/trevor-bedford/"} | ||
], | ||
"build_url": "https://github.com/nextstrain/zika-tutorial", | ||
"colorings": [ | ||
{ | ||
"key": "gt", | ||
"title": "Genotype", | ||
"type": "categorical" | ||
}, | ||
{ | ||
"key": "num_date", | ||
"title": "Date", | ||
"type": "continuous" | ||
}, | ||
{ | ||
"key": "author", | ||
"title": "Author", | ||
"type": "categorical" | ||
}, | ||
{ | ||
"key": "country", | ||
"title": "Country", | ||
"type": "categorical" | ||
}, | ||
{ | ||
"key": "region", | ||
"title": "Region", | ||
"type": "categorical" | ||
} | ||
], | ||
"geo_resolutions": [ | ||
"country", | ||
"region" | ||
], | ||
"panels": [ | ||
"tree", | ||
"map" | ||
], | ||
"display_defaults": { | ||
"map_triplicate": true | ||
}, | ||
"filters": [ | ||
"country", | ||
"region", | ||
"author" | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
country thailand #511EA8 | ||
country vietnam #4928B4 | ||
country singapore #4334BF | ||
country french polynesia #4041C7 | ||
country american samoa #3F50CC | ||
country fiji #3F5ED0 | ||
country tonga #416CCE | ||
country china #4379CD | ||
country taiwan #4784C7 | ||
country japan #4B8FC1 | ||
country italy #5098B9 | ||
country brazil #56A0AF | ||
country peru #5CA7A4 | ||
country ecuador #63AC99 | ||
country colombia #6BB18E | ||
country french guiana #73B583 | ||
country suriname #7CB878 | ||
country venezuela #86BB6E | ||
country panama #A4BE56 | ||
country nicaragua #AFBD4F | ||
country honduras #B9BC4A | ||
country el salvador #C2BA46 | ||
country guatemala #CCB742 | ||
country mexico #D3B240 | ||
country martinique #DAAC3D | ||
country guadeloupe #DFA43B | ||
country saint barthelemy #E39B39 | ||
country usvi #E68F36 | ||
country puerto rico #E68234 | ||
country jamaica #E67431 | ||
country dominican republic #E4632E | ||
country haiti #E1512A | ||
country cuba #DF4027 | ||
country usa #DC2F24 |
Oops, something went wrong.