-
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 #73 from broadinstitute/dp-beast
BEAST WDL workflows
- Loading branch information
Showing
12 changed files
with
2,068 additions
and
26 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
version 1.0 | ||
|
||
import "../tasks/tasks_interhost.wdl" as interhost | ||
|
||
workflow beast_gpu { | ||
call interhost.beast | ||
output { | ||
File beast_log = beast.beast_log | ||
Array[File] trees = beast.trees | ||
String beast_stdout = beast.beast_stdout | ||
} | ||
} |
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,36 @@ | ||
version 1.0 | ||
|
||
import "../tasks/tasks_nextstrain.wdl" as nextstrain | ||
|
||
workflow beast_to_auspice { | ||
meta { | ||
description: "Visualize BEAST output with Nextstrain. This workflow converts a BEAST MCC tree (.tree file) into an Auspice v2 json file. See https://nextstrain-augur.readthedocs.io/en/stable/faq/import-beast.html for details." | ||
} | ||
|
||
input { | ||
File beast_mcc_tree | ||
} | ||
|
||
parameter_meta { | ||
beast_mcc_tree: { | ||
description: "A maximum clade credibility (MCC) tree (.tree file) that is output from a BEAST run.", | ||
patterns: ["*.tree"] | ||
} | ||
} | ||
|
||
call nextstrain.augur_import_beast { | ||
input: | ||
beast_mcc_tree = beast_mcc_tree | ||
} | ||
call nextstrain.export_auspice_json { | ||
input: | ||
tree = augur_import_beast.tree_newick, | ||
node_data_jsons = [augur_import_beast.node_data_json] | ||
} | ||
|
||
output { | ||
File beast_mcc_tree_newick = augur_import_beast.tree_newick | ||
File node_data_json = augur_import_beast.node_data_json | ||
File auspice_input_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
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,4 @@ | ||
{ | ||
"beast_gpu.beast.beauti_xml": "test/input/beast-simple-ebov-20k.xml" | ||
} | ||
|
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 @@ | ||
{ | ||
"beast_to_auspice.beast_mcc_tree": "test/input/beast-mers-mcc.tree", | ||
"beast_to_auspice.export_auspice_json.auspice_config": "test/input/beast-mers-auspice_config.json" | ||
} | ||
|
Oops, something went wrong.