From 0f3f73a00ba2ce08e12449c29f9dfba6bdf0c638 Mon Sep 17 00:00:00 2001 From: Danny Park Date: Thu, 14 May 2020 15:50:36 -0400 Subject: [PATCH] workaround for what appears to be a wdl-aid bug --- pipes/WDL/workflows/build_augur_tree.wdl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pipes/WDL/workflows/build_augur_tree.wdl b/pipes/WDL/workflows/build_augur_tree.wdl index cdc1df87e..3589ef960 100644 --- a/pipes/WDL/workflows/build_augur_tree.wdl +++ b/pipes/WDL/workflows/build_augur_tree.wdl @@ -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 @@ -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"] } @@ -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 } @@ -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,