Skip to content

Commit

Permalink
workaround for what appears to be a wdl-aid bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dpark01 committed May 14, 2020
1 parent cf64ed3 commit 0f3f73a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pipes/WDL/workflows/build_augur_tree.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ workflow build_augur_tree {

input {
Array[File] assembly_fastas
File metadata
File sample_metadata
String virus
File ref_fasta
File genbank_gb
Expand All @@ -21,7 +21,7 @@ workflow build_augur_tree {
description: "Set of assembled genomes to align and build trees. These must represent a single chromosome/segment of a genome only. Fastas may be one-sequence-per-individual or a concatenated multi-fasta (unaligned) or a mixture of the two. Fasta header records need to be pipe-delimited (|) for each metadata value.",
patterns: ["*.fasta", "*.fa"]
}
metadata: {
sample_metadata: {
description: "Metadata in tab-separated text format. See https://nextstrain-augur.readthedocs.io/en/stable/faq/metadata.html for details.",
patterns: ["*.txt", "*.tsv"]
}
Expand Down Expand Up @@ -61,14 +61,14 @@ workflow build_augur_tree {
input:
raw_tree = draft_augur_tree.aligned_tree,
aligned_fasta = augur_mafft_align.aligned_sequences,
metadata = metadata,
metadata = sample_metadata,
basename = virus
}
if(defined(ancestral_traits_to_infer) && length(select_first([ancestral_traits_to_infer,[]]))>0) {
call nextstrain.ancestral_traits {
input:
tree = refine_augur_tree.tree_refined,
metadata = metadata,
metadata = sample_metadata,
columns = select_first([ancestral_traits_to_infer,[]]),
basename = virus
}
Expand All @@ -89,7 +89,7 @@ workflow build_augur_tree {
call nextstrain.export_auspice_json {
input:
refined_tree = refine_augur_tree.tree_refined,
metadata = metadata,
metadata = sample_metadata,
branch_lengths = refine_augur_tree.branch_lengths,
traits = ancestral_traits.node_data_json,
nt_muts = ancestral_tree.nt_muts_json,
Expand Down

0 comments on commit 0f3f73a

Please sign in to comment.