annotate usher.xml @ 3:746b434c8fbb draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit 5de7b91f2bda9c351f9512601f899248b7278924
author iuc
date Sun, 17 Mar 2024 18:10:07 +0000
parents 8f6c7638eab2
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
1 <tool id='usher' name='UShER' version='@TOOL_VERSION@+@GALAXY_TOOL_VERSION@' profile='20.01'>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
2 <description>ultrafast sample placement on existing trees</description>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
3 <macros>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
4 <import>macros.xml</import>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
5 </macros>
3
746b434c8fbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit 5de7b91f2bda9c351f9512601f899248b7278924
iuc
parents: 2
diff changeset
6 <expand macro="xrefs"/>
0
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
7 <expand macro='requirements' />
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
8 <version_command>usher --version</version_command>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
9 <command detect_errors='exit_code'><![CDATA[
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
10 #if $vcf.ext == 'vcf_bgzip':
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
11 ln -s '$vcf' input.vcf.gz &&
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
12 ln -s '$vcf.metadata.tabix_index' input.vcf.gz.tbi &&
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
13 #set $input_vcf = 'input.vcf.gz'
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
14 #else:
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
15 ln -s '$vcf' input.vcf &&
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
16 #set $input_vcf = 'input.vcf'
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
17 #end if
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
18
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
19 usher
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
20 -v '$input_vcf'
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
21 #if $tree
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
22 -t '${tree}'
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
23 #end if
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
24 #if $load_mutation_annotated_tree
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
25 -i '${load_mutation_annotated_tree}'
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
26 #end if
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
27 $output_options.save_mutation_annotated_tree
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
28 $sort_mode
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
29 $collapse_options.collapse_tree
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
30 $collapse_options.collapse_output_tree
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
31 #if $max_uncertainty_per_sample
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
32 -e $max_uncertainty_per_sample
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
33 #end if
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
34 $output_options.write_uncondensed_final_tree
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
35 #if $output_options.write_subtrees_size
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
36 -k $output_options.write_subtrees_size
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
37 #end if
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
38 #if $output_options.write_single_subtree
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
39 -K $output_options.write_single_subtree
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
40 #end if
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
41 $output_options.write_parsimony_scores_per_node
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
42 #if $output_options.multiple_placements
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
43 -M $output_options.multiple_placements
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
44 #end if
3
746b434c8fbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit 5de7b91f2bda9c351f9512601f899248b7278924
iuc
parents: 2
diff changeset
45 $retain_input_branch_lengths
0
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
46 -T \${GALAXY_SLOTS:-1}
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
47 -d ./
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
48 #if $output_options.write_subtrees_size
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
49 && mkdir -p out_subtrees out_subtrees_expanded out_subtrees_mutations
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
50 && mv subtree*expanded.txt ./out_subtrees_expanded
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
51 && mv subtree*mutations.txt ./out_subtrees_mutations
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
52 && mv subtree*.nh ./out_subtrees
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
53 #end if
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
54 ]]> </command>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
55 <inputs>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
56 <param name="vcf" type="data" format="vcf,vcf_bgzip" label="VCF file" help="Input VCF file."/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
57 <param name="tree" type="data" format="newick" optional="True" label="Tree file" help="Input tree file in Newick format."/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
58 <param argument="--load-mutation-annotated-tree" type="data" format="protobuf3" optional="True" label="Mutation-annotated tree object" help="Load a mutation annotated tree file, in protocol-buffers format (protobuf3)."/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
59 <param name="sort_mode" type="select" label="Mode of sorting new samples">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
60 <option value="">Default sorting</option>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
61 <option value="--sort-before-placement-1">Sort based on computed parsimony score and then number of optimal placements before the actual placement (-s)</option>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
62 <option value="--sort-before-placement-1 --reverse-sort">Sort based on computed parsimony score and then number of optimal placements before the actual placement [reversed] (-s -r)</option>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
63 <option value="--sort-before-placement-2">Sort based on the number of optimal placements and then the parsimony score before the actual placement (-S)</option>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
64 <option value="--sort-before-placement-2 --reverse-sort">Sort based on the number of optimal placements and then the parsimony score before the actual placement [reversed] (-S -r)</option>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
65 <option value="--sort-before-placement-3">Sort based on the number of ambiguous bases (-A)</option>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
66 </param>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
67 <param argument="--max-uncertainty-per-sample" type="integer" optional="True" min="0" max="10000000" value="" label="Maximum number of equally parsimonious placements" help="Maximum number of equally parsimonious placements allowed per sample beyond which the sample is ignored." />
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
68 <param argument="--retain-input-branch-lengths" type="boolean" truevalue="--retain-input-branch-lengths" falsevalue="" label="Retain the branch lengths" help="Retain the branch lengths from the input tree in out newick files instead of using number of mutations for the branch lengths." />
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
69 <section name="collapse_options" title="Collapse options" expanded="True">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
70 <param argument="--collapse-tree" type="boolean" truevalue="--collapse-tree" falsevalue="" label="Collapse internal nodes of the input tree" help="Collapse internal nodes of the input tree with no mutations and condense identical sequences in polytomies into a single node and the save the tree to file condensed-tree.nh in outdir." />
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
71 <param argument="--collapse-output-tree" type="boolean" truevalue="--collapse-output-tree" falsevalue="" label="Collapse internal nodes of the output tree" help="Collapse internal nodes of the output tree with no mutations before the saving the tree to file final-tree.nh in outdir." />
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
72 </section>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
73 <section name="output_options" title="Output tree options" expanded="True">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
74 <param argument="--save-mutation-annotated-tree" type="boolean" truevalue="--save-mutation-annotated-tree annotated-tree.pb" falsevalue="" label="Save the new mutation-annotated tree object" help="Save output mutation-annotated tree object to the file new_global_assignments.pb." />
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
75 <param argument="--write-uncondensed-final-tree" type="boolean" truevalue="--write-uncondensed-final-tree" falsevalue="" label="Uncondensed final tree" help="Write the final tree in uncondensed format and save to file uncondensed-final-tree.nh in outdir." />
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
76 <param argument="--write-subtrees-size" type="integer" optional="True" min="0" max="100" value="" label="Generate multiple subtrees" help="Write minimum set of subtrees covering the newly added samples of size equal to this value." />
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
77 <param argument="--write-single-subtree" type="integer" optional="True" min="0" max="100" value="" label="Generate a single subtree" help="Similar to write-subtrees-size but produces a single subtree with all newly added samples along with random samples up to the value specified by this argument." />
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
78 <param argument="--write-parsimony-scores-per-node" type="boolean" truevalue="--write-parsimony-scores-per-node" falsevalue="" label="Generate parsimony scores per node" help="Write the parsimony scores for adding new samples at each existing node in the tree without modifying the tree in a file names parsimony-scores.tsv in outdir." />
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
79 <param argument="--multiple-placements" type="integer" optional="True" min="0" max="100" value="" label="Multiple placements" help="Create a new tree up to this limit for each possibility of parsimony-optimal placement." />
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
80 </section>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
81 </inputs>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
82 <outputs>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
83 <data name="annotated_tree" format="protobuf3" from_work_dir="annotated-tree.pb" label="${tool.name} on ${on_string}: mutation annotated tree">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
84 <filter>output_options['save_mutation_annotated_tree'] is True</filter>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
85 </data>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
86 <data name="condensed_tree" format="newick" from_work_dir="condensed-tree.nh" label="${tool.name} on ${on_string}: condensed tree">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
87 <filter>collapse_options['collapse_tree'] is True</filter>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
88 </data>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
89 <data name="final_tree" format="newick" from_work_dir="final-tree.nh" label="${tool.name} on ${on_string}: final tree">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
90 <filter>output_options['write_uncondensed_final_tree'] is False and output_options['write_parsimony_scores_per_node'] is False</filter>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
91 </data>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
92 <data name="uncondensed_tree" format="newick" from_work_dir="uncondensed-final-tree.nh" label="${tool.name} on ${on_string}: uncondensed tree">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
93 <filter>output_options['write_uncondensed_final_tree'] is True</filter>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
94 </data>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
95 <data name="mutation_paths" format="txt" from_work_dir="mutation-paths.txt" label="${tool.name} on ${on_string}: mutation paths">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
96 <filter>output_options['save_mutation_annotated_tree'] is False and output_options['write_parsimony_scores_per_node'] is False</filter>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
97 </data>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
98 <data name="clades" format="txt" from_work_dir="clades.txt" label="${tool.name} on ${on_string}: clades">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
99 <filter>output_options['save_mutation_annotated_tree'] is False and output_options['write_parsimony_scores_per_node'] is False</filter>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
100 </data>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
101 <collection name='subtrees' type='list' label='${tool.name} on ${on_string}: subtrees'>
2
8f6c7638eab2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit 59c78982b11e280895f2f51c25ada4613968dc79"
iuc
parents: 1
diff changeset
102 <discover_datasets pattern='(?P&lt;designation&gt;.*)\.nh' format="newick" directory='out_subtrees'/>
0
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
103 <filter>output_options['write_subtrees_size']</filter>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
104 </collection>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
105 <collection name='subtrees_expanded' type='list' label='${tool.name} on ${on_string}: subtrees expanded'>
2
8f6c7638eab2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit 59c78982b11e280895f2f51c25ada4613968dc79"
iuc
parents: 1
diff changeset
106 <discover_datasets pattern='(?P&lt;designation&gt;.*)\.txt' format='txt' directory='out_subtrees_expanded'/>
0
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
107 <filter>output_options['write_subtrees_size']</filter>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
108 </collection>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
109 <collection name='subtrees_mutations' type='list' label='${tool.name} on ${on_string}: subtrees mutations'>
2
8f6c7638eab2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit 59c78982b11e280895f2f51c25ada4613968dc79"
iuc
parents: 1
diff changeset
110 <discover_datasets pattern='(?P&lt;designation&gt;.*)\.txt' format='txt' directory='out_subtrees_mutations'/>
0
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
111 <filter>output_options['write_subtrees_size']</filter>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
112 </collection>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
113 <data name="current_tree" format="newick" from_work_dir="current-tree.nh" label="${tool.name} on ${on_string}: current tree">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
114 <filter>output_options['write_parsimony_scores_per_node'] is True</filter>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
115 </data>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
116 <data name="parsimony_scores" format="tabular" from_work_dir="parsimony-scores.tsv" label="${tool.name} on ${on_string}: parsimony scores per node">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
117 <filter>output_options['write_parsimony_scores_per_node'] is True</filter>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
118 </data>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
119 <data name="single_subtree" format="newick" from_work_dir="single-subtree.nh" label="${tool.name} on ${on_string}: single subtree">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
120 <filter>output_options['write_single_subtree']</filter>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
121 </data>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
122 <data name="single_subtree_expanded" format="txt" from_work_dir="single-subtree-expanded.txt" label="${tool.name} on ${on_string}: single subtree expanded">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
123 <filter>output_options['write_single_subtree']</filter>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
124 </data>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
125 <data name="single_subtree_mutations" format="txt" from_work_dir="single-subtree-mutations.txt" label="${tool.name} on ${on_string}: single subtree mutations">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
126 <filter>output_options['write_single_subtree']</filter>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
127 </data>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
128 </outputs>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
129 <tests>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
130 <test expect_num_outputs="3">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
131 <param name="vcf" value="global_samples.vcf.gz" ftype="vcf_bgzip" />
2
8f6c7638eab2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit 59c78982b11e280895f2f51c25ada4613968dc79"
iuc
parents: 1
diff changeset
132 <param name="tree" value="global_phylo.nh" ftype="newick"/>
0
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
133 <section name="collapse_options">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
134 <param name="collapse_tree" value="true"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
135 </section>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
136 <section name="output_options">
2
8f6c7638eab2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit 59c78982b11e280895f2f51c25ada4613968dc79"
iuc
parents: 1
diff changeset
137 <param name="save_mutation_annotated_tree" value="true" ftype="newick"/>
0
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
138 </section>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
139 <output name="annotated_tree" file="test_01_annotated_tree.pb" ftype="protobuf3">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
140 <assert_contents>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
141 <has_size value="26100" delta="100"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
142 </assert_contents>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
143 </output>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
144 <output name="condensed_tree" file="test_01_condensed_tree.nh" ftype="newick"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
145 <output name="final_tree" file="test_01_final_tree.nh" ftype="newick"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
146 </test>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
147 <test expect_num_outputs="3">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
148 <param name="vcf" value="new_samples.vcf.gz"/>
2
8f6c7638eab2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit 59c78982b11e280895f2f51c25ada4613968dc79"
iuc
parents: 1
diff changeset
149 <param name="load_mutation_annotated_tree" value="test_01_annotated_tree.pb" ftype="protobuf3"/>
0
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
150 <section name="output_options">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
151 <param name="write_uncondensed_final_tree" value="true"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
152 </section>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
153 <output name="uncondensed_tree" file="test_02_uncondensed_tree.nh" ftype="newick"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
154 <output name="mutation_paths" file="test_02_mutation_path.nh" ftype="txt"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
155 <output name="clades" ftype="txt">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
156 <assert_contents>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
157 <has_size value="0" delta="0"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
158 </assert_contents>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
159 </output>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
160 </test>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
161 <test expect_num_outputs="4">
1
335665e15630 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit 0c34dd1ab21540c0239cbb5ede69ca07f2c5abca"
iuc
parents: 0
diff changeset
162 <param name="vcf" value="global_samples.vcf.gz" ftype="vcf_bgzip" />
2
8f6c7638eab2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit 59c78982b11e280895f2f51c25ada4613968dc79"
iuc
parents: 1
diff changeset
163 <param name="tree" value="global_phylo.nh" ftype="newick"/>
0
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
164 <param name="sort_mode" value="--sort-before-placement-1"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
165 <section name="collapse_options">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
166 <param name="collapse_tree" value="true"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
167 </section>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
168 <output name="condensed_tree" file="test_03_condensed_tree.nh" ftype="newick"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
169 <output name="final_tree" file="test_03_final_tree.nh" ftype="newick"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
170 <output name="mutation_paths" ftype="txt">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
171 <assert_contents>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
172 <has_size value="0"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
173 </assert_contents>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
174 </output>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
175 <output name="clades" ftype="txt">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
176 <assert_contents>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
177 <has_size value="0"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
178 </assert_contents>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
179 </output>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
180 </test>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
181 <test expect_num_outputs="6">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
182 <param name="vcf" value="new_samples.vcf.gz"/>
2
8f6c7638eab2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit 59c78982b11e280895f2f51c25ada4613968dc79"
iuc
parents: 1
diff changeset
183 <param name="load_mutation_annotated_tree" value="test_01_annotated_tree.pb" ftype="protobuf3"/>
0
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
184 <section name="output_options">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
185 <param name="write_uncondensed_final_tree" value="true"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
186 <param name="write_subtrees_size" value="20"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
187 </section>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
188 <output name="uncondensed_tree" file="test_04_uncondensed_tree.nh" ftype="newick"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
189 <output name="mutation_paths" file="test_04_mutation_paths.txt" ftype="txt"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
190 <output name="clades" ftype="txt">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
191 <assert_contents>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
192 <has_size value="0"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
193 </assert_contents>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
194 </output>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
195 <output_collection name="subtrees" type="list" count="1">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
196 <element name="subtree-1" file="test_04_subtree_1.nh"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
197 </output_collection>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
198 <output_collection name="subtrees_expanded" type="list" count="1">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
199 <element name="subtree-1-expanded" file="test_04_subtree_1_expanded.txt" ftype="txt"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
200 </output_collection>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
201 <output_collection name="subtrees_mutations" type="list" count="1">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
202 <element name="subtree-1-mutations" file="test_04_subtree_1_mutations.txt" ftype="txt"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
203 </output_collection>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
204 </test>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
205 <test expect_num_outputs="2">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
206 <param name="vcf" value="new_samples.vcf.gz"/>
2
8f6c7638eab2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit 59c78982b11e280895f2f51c25ada4613968dc79"
iuc
parents: 1
diff changeset
207 <param name="load_mutation_annotated_tree" value="test_01_annotated_tree.pb" ftype="protobuf3"/>
0
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
208 <section name="output_options">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
209 <param name="write_parsimony_scores_per_node" value="true"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
210 </section>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
211 <output name="current_tree" file="test_05_current_tree.nw" ftype="newick"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
212 <output name="parsimony_scores" file="test_05_parsimony_scores.tabular" ftype="tabular"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
213 </test>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
214 <test expect_num_outputs="3">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
215 <param name="vcf" value="new_samples.vcf.gz"/>
2
8f6c7638eab2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit 59c78982b11e280895f2f51c25ada4613968dc79"
iuc
parents: 1
diff changeset
216 <param name="load_mutation_annotated_tree" value="test_01_annotated_tree.pb" ftype="protobuf3"/>
0
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
217 <section name="output_options">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
218 <param name="multiple_placements" value="2"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
219 </section>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
220 <output name="final_tree" file="test_06_final_tree.nh" ftype="newick"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
221 <output name="mutation_paths" file="test_06_mutation_paths.txt" ftype="txt"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
222 <output name="clades" ftype="txt">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
223 <assert_contents>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
224 <has_size value="0"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
225 </assert_contents>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
226 </output>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
227 </test>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
228 <test expect_num_outputs="6">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
229 <param name="vcf" value="new_samples.vcf.gz"/>
2
8f6c7638eab2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit 59c78982b11e280895f2f51c25ada4613968dc79"
iuc
parents: 1
diff changeset
230 <param name="load_mutation_annotated_tree" value="test_01_annotated_tree.pb" ftype="protobuf3"/>
0
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
231 <section name="output_options">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
232 <param name="write_single_subtree" value="2"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
233 </section>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
234 <output name="final_tree" file="test_06_final_tree.nh" ftype="newick"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
235 <output name="mutation_paths" file="test_06_mutation_paths.txt" ftype="txt"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
236 <output name="clades" ftype="txt">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
237 <assert_contents>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
238 <has_size value="0"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
239 </assert_contents>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
240 </output>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
241 <output name="single_subtree" file="test_07_single_subtree.nh" ftype="newick"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
242 <output name="single_subtree_mutations" file="test_07_single_subtree_mutations.txt" ftype="txt"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
243 <output name="single_subtree_expanded" ftype="txt">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
244 <assert_contents>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
245 <has_size value="0"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
246 </assert_contents>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
247 </output>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
248 </test>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
249 <test expect_num_outputs="3">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
250 <param name="vcf" value="new_samples.vcf.gz"/>
2
8f6c7638eab2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit 59c78982b11e280895f2f51c25ada4613968dc79"
iuc
parents: 1
diff changeset
251 <param name="load_mutation_annotated_tree" value="test_01_annotated_tree.pb" ftype="protobuf3"/>
0
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
252 <param name="sort_mode" value="--sort-before-placement-2"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
253 <output name="final_tree" file="test_08_final_tree.nh" ftype="newick"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
254 <output name="mutation_paths" file="test_08_mutation_path.nh" ftype="txt"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
255 <output name="clades" ftype="txt">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
256 <assert_contents>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
257 <has_size value="0"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
258 </assert_contents>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
259 </output>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
260 </test>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
261 <test expect_num_outputs="3">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
262 <param name="vcf" value="new_samples.vcf.gz"/>
2
8f6c7638eab2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit 59c78982b11e280895f2f51c25ada4613968dc79"
iuc
parents: 1
diff changeset
263 <param name="load_mutation_annotated_tree" value="test_01_annotated_tree.pb" ftype="protobuf3"/>
0
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
264 <param name="sort_mode" value="--sort-before-placement-3"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
265 <output name="final_tree" file="test_09_final_tree.nh" ftype="newick"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
266 <output name="mutation_paths" file="test_09_mutation_path.nh" ftype="txt"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
267 <output name="clades" ftype="txt">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
268 <assert_contents>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
269 <has_size value="0"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
270 </assert_contents>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
271 </output>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
272 </test>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
273 <test expect_num_outputs="3">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
274 <param name="vcf" value="new_samples.vcf.gz"/>
2
8f6c7638eab2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit 59c78982b11e280895f2f51c25ada4613968dc79"
iuc
parents: 1
diff changeset
275 <param name="load_mutation_annotated_tree" value="test_01_annotated_tree.pb" ftype="protobuf3"/>
0
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
276 <param name="sort_mode" value="--sort-before-placement-1 --reverse-sort"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
277 <output name="final_tree" file="test_10_final_tree.nh" ftype="newick"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
278 <output name="mutation_paths" file="test_10_mutation_path.nh" ftype="txt"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
279 <output name="clades" ftype="txt">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
280 <assert_contents>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
281 <has_size value="0"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
282 </assert_contents>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
283 </output>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
284 </test>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
285 <test expect_num_outputs="3">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
286 <param name="vcf" value="new_samples.vcf.gz"/>
2
8f6c7638eab2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit 59c78982b11e280895f2f51c25ada4613968dc79"
iuc
parents: 1
diff changeset
287 <param name="load_mutation_annotated_tree" value="test_01_annotated_tree.pb" ftype="protobuf3"/>
0
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
288 <param name="sort_mode" value="--sort-before-placement-2 --reverse-sort"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
289 <output name="final_tree" file="test_11_final_tree.nh" ftype="newick"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
290 <output name="mutation_paths" file="test_11_mutation_path.nh" ftype="txt"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
291 <output name="clades" ftype="txt">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
292 <assert_contents>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
293 <has_size value="0"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
294 </assert_contents>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
295 </output>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
296 </test>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
297 <test expect_num_outputs="3">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
298 <param name="vcf" value="new_samples.vcf.gz" ftype="vcf_bgzip"/>
2
8f6c7638eab2 "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit 59c78982b11e280895f2f51c25ada4613968dc79"
iuc
parents: 1
diff changeset
299 <param name="load_mutation_annotated_tree" value="test_01_annotated_tree.pb" ftype="protobuf3"/>
3
746b434c8fbb planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit 5de7b91f2bda9c351f9512601f899248b7278924
iuc
parents: 2
diff changeset
300 <param name="retain_input_branch_lengths" value="true"/>
0
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
301 <output name="final_tree" file="test_12_final_tree.nh" ftype="newick" lines_diff="2"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
302 <output name="mutation_paths" file="test_12_mutation_path.nh" ftype="txt"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
303 <output name="clades" ftype="txt">
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
304 <assert_contents>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
305 <has_size value="0"/>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
306 </assert_contents>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
307 </output>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
308 </test>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
309 </tests>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
310 <help><![CDATA[
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
311 .. class:: infomark
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
312
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
313 **Purpose**
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
314
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
315 UShER is a program for rapid, accurate placement of samples to existing phylogenies. While not restricted to SARS-CoV-2 phylogenetic analyses, it has enabled real-time phylogenetic analyses and genomic contact tracing in that its placement is orders of magnitude faster and more memory-efficient than previous methods, and is being widely used by several SARS-CoV-2 research groups, including the UCSC Genome Browser team and Rob Lanfear’s global phylogeny releases.
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
316
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
317 ----
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
318
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
319 .. class:: infomark
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
320
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
321 **How UShER works?**
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
322
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
323 Given existing samples, whose genotypes and phylogenetic tree is known, and the genotypes of new samples, UShER aims to incorporate new samples into the phylogenetic tree while preserving the topology of existing samples and maximizing parsimony. UShER’s algorithm consists of two phases: (i) the pre-processing phase and (ii) the placement phase.
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
324
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
325 In the pre-processing phase, UShER accepts the phylogenetic tree of existing samples in a Newick format and their genotypes, specified as a set of single-nucleotide variants with respect to a reference sequence (UShER currently ignores indels), in a VCF format. For each site in the VCF, UShER uses `Fitch-Sankoff algorithm <https://evolution.gs.washington.edu/gs541/2010/lecture1.pdf>`_ to find the most parsimonious nucleotide assignment for every node of the tree (UShER automatically labels internal tree nodes).
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
326
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
327 When a sample contains ambiguous genotypes, multiple nucleotides may be most parsimonious at a node. To resolve these, UShER assigns it any one of the most parsimonious nucleotides with preference, when possible, given to the reference base. UShER also allows the VCF to specify ambiguous bases in samples using `IUPAC format <https://www.bioinformatics.org/sms/iupac.html>`_, which are also resolved to a unique base using the above strategy. When a node is found to carry a mutation, i.e. the base assigned to the node differs from its parent, the mutation gets added to a list of mutations corresponding to that node. Finally, UShER uses `protocol buffers <https://developers.google.com/protocol-buffers>`_ to store in a file, the Newick string corresponding to the input tree and a list of lists of node mutation, which we refer to as mutation-annotated tree object.
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
328
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
329 The mutation-annotated tree object carries sufficient information to derive parsimony-resolved genotypes for any tip of the tree using the sequence of mutations from the root to that tip. Compared to other tools that use full multiple-sequence alignment (MSA) to guide the placement, UShER's mutation-annotated tree object is compact and is what helps make it fast.
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
330
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
331 In the placement phase, UShER loads the pre-processed mutation-annotated tree object and the genotypes of new samples in a VCF format and sequentially adds the new samples to the tree. For each new sample, UShER computes the additional parsimony score required for placing it at every node in the current tree while considering the full path of mutations from the root of the tree to that node.
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
332
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
333 Next, UShER places the new sample at the node that results in the smallest additional parsimony score. When multiple node placements are equally parsimonious, UShER picks the node with a greater number of descendant leaves for placement. If the choice is between a parent and its child node, the parent node would always be selected by this rule. However, a more accurate placement should reflect the number of leaves uniquely attributable to the child versus parent node. Therefore, in these cases, UShER picks the parent node if the number of descendant leaves of the parent that are not shared with the child node exceed the number of descendant leaves of the child.
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
334
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
335 UShER also automatically imputes and reports ambiguous genotypes for the newly added samples and ignores missing bases, such as 'N' or '.' (i.e. missing bases never contribute to the parsimony score).
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
336
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
337 At the end of the placement phase, UShER allows the user to create another protocol-buffer (protobuf) file containing the mutation-annotated tree object for the newly generated tree including added samples. This allows for another round of placements to be carried out over and above the newly added samples.
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
338
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
339
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
340 ]]> </help>
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
341 <expand macro="citations" />
524cb8f7a69a "planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/usher commit c1531745ea5f5c4fbd22ad18e290b47fdcb01bb1"
iuc
parents:
diff changeset
342 </tool>