Mercurial > repos > greg > vsnp_build_tables
annotate vsnp_build_tables.xml @ 9:f641e52353e8 draft
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
author | greg |
---|---|
date | Thu, 29 Jul 2021 13:52:48 +0000 |
parents | a5b1e7dcc971 |
children | 14384fd2a7e2 |
rev | line source |
---|---|
9
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
1 <tool id="vsnp_build_tables" name="vSNP: build tables" version="@WRAPPER_VERSION@.3+galaxy0" profile="@PROFILE@"> |
0 | 2 <description></description> |
3 | 3 <macros> |
4 <import>macros.xml</import> | |
5 </macros> | |
0 | 6 <requirements> |
6 | 7 <requirement type="package" version="1.79">biopython</requirement> |
0 | 8 <requirement type="package" version="0.25.3">pandas</requirement> |
6 | 9 <requirement type="package" version="1.4.4">xlsxwriter</requirement> |
0 | 10 </requirements> |
11 <command detect_errors="exit_code"><![CDATA[ | |
12 #import re | |
9
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
13 #set output_excel_dir = 'output_excel_dir' |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
14 #set input_type = $input_type_cond.input_type |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
15 mkdir $output_excel_dir && |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
16 #if $input_type == "collection": |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
17 #set input_newick_dir = 'input_newick_dir' |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
18 mkdir $input_newick_dir && |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
19 #set input_json_avg_mq_dir = 'input_json_avg_mq_dir' |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
20 mkdir $input_json_avg_mq_dir && |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
21 #set input_json_dir = 'input_json_dir' |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
22 mkdir $input_json_dir && |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
23 #for $i in $input_type_cond.input_avg_mq_json_collection: |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
24 #set file_name = $i.file_name |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
25 #set identifier = re.sub('[^\s\w\-]', '_', str($i.element_identifier)) |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
26 ln -s '$file_name' '$input_json_avg_mq_dir/$identifier' && |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
27 #end for |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
28 #for $i in $input_type_cond.input_snps_json_collection: |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
29 #set file_name = $i.file_name |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
30 #set identifier = re.sub('[^\s\w\-]', '_', str($i.element_identifier)) |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
31 ln -s '$file_name' '$input_json_dir/$identifier' && |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
32 #end for |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
33 #for $i in $input_type_cond.input_newick_collection: |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
34 #set file_name = $i.file_name |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
35 #set identifier = re.sub('[^\s\w\-]', '_', str($i.element_identifier)) |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
36 ln -s '$file_name' '$input_newick_dir/$identifier' && |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
37 #end for |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
38 #end if |
0 | 39 python '$__tool_directory__/vsnp_build_tables.py' |
9
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
40 #if $input_type == "single": |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
41 --input_avg_mq_json '$input_avg_mq_json' |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
42 --input_snps_json '$input_snps_json' |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
43 --input_newick '$input_newick' |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
44 #end if: |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
45 #if str($gbk_cond.gbk_param) == "yes": |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
46 #set gbk_source_cond = $gbk_cond.gbk_source_cond |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
47 #set gbk_source = $gbk_source_cond.gbk_source |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
48 #if str($gbk_source) == "cached": |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
49 --gbk_file '$gbk_source_cond.gbk_file.fields.path' |
0 | 50 #else: |
9
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
51 --gbk_file '$gbk_source_cond.gbk_file' |
0 | 52 #end if |
53 #end if | |
9
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
54 --processes \${GALAXY_SLOTS:-8} |
0 | 55 ]]></command> |
56 <inputs> | |
9
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
57 <conditional name="input_type_cond"> |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
58 <param name="input_type" type="select" label="Choose the category for the files to be analyzed"> |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
59 <option value="single" selected="true">Single files</option> |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
60 <option value="collection">Collection of files</option> |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
61 </param> |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
62 <when value="single"> |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
63 <param name="input_snps_json" type="data" format="json" label="SNPs json file"/> |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
64 <param name="input_avg_mq_json" type="data" format="json" label="Average MQ json file"/> |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
65 <param name="input_newick" type="data" format="newick" label="Best-scoring ML tree file"/> |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
66 </when> |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
67 <when value="collection"> |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
68 <param name="input_snps_json_collection" format="json" type="data_collection" collection_type="list" label="Collection of SNPs json files"/> |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
69 <param name="input_avg_mq_json_collection" format="json" type="data_collection" collection_type="list" label="Collection of average MQ json files"/> |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
70 <param name="input_newick_collection" format="newick" type="data_collection" collection_type="list" label="Collection of best-scoring ML tree files"/> |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
71 </when> |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
72 </conditional> |
0 | 73 <conditional name="gbk_cond"> |
74 <param name="gbk_param" type="select" label="Use Genbank file?"> | |
75 <option value="yes" selected="true">yes</option> | |
76 <option value="no">No</option> | |
77 </param> | |
78 <when value="yes"> | |
79 <conditional name="gbk_source_cond"> | |
80 <param name="gbk_source" type="select" label="Choose the source for the Genbank file"> | |
81 <option value="cached" selected="true">locally cached</option> | |
82 <option value="history">from history</option> | |
83 </param> | |
84 <when value="cached"> | |
85 <param name="gbk_file" type="select" label="Genbank file"> | |
86 <options from_data_table="vsnp_genbank"> | |
3 | 87 <validator type="no_options" message="A cached Genbank file is not available for the build associated with the selected average MQ json file"/> |
0 | 88 </options> |
89 </param> | |
90 </when> | |
91 <when value="history"> | |
92 <param name="gbk_file" type="data" format="genbank" label="Genbank file"> | |
93 <validator type="no_options" message="The current history does not include a genbank dataset"/> | |
94 </param> | |
95 </when> | |
96 </conditional> | |
97 </when> | |
98 <when value="no"/> | |
99 </conditional> | |
100 </inputs> | |
101 <outputs> | |
4
b67a6326a96b
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 23762af1ec5da6c6f7407f6194d7a2bf9d242618"
greg
parents:
3
diff
changeset
|
102 <collection name="excel" type="list" format="xlsx" label="${tool.name} on ${on_string}"> |
3 | 103 <discover_datasets pattern="(?P<designation>.+)\.(?P<ext>xlsx)" directory="output_excel_dir"/> |
0 | 104 </collection> |
105 </outputs> | |
106 <tests> | |
107 <test> | |
108 <param name="input_snps_json" value="input_snps_json.json" ftype="json" dbkey="89"/> | |
109 <param name="input_newick" value="input_newick.newick" ftype="newick" dbkey="89"/> | |
110 <param name="input_avg_mq_json" value="input_avg_mq_json.json" ftype="json" dbkey="89"/> | |
111 <param name="gbk_param" value="no"/> | |
3 | 112 <output_collection name="excel" type="list" count="2"> |
9
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
113 <element name="cascade_table" file="cascade_table.xlsx" ftype="xlsx" compare="sim_size"/> |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
114 <element name="sort_table" file="sort_table.xlsx" ftype="xlsx" compare="sim_size"/> |
0 | 115 </output_collection> |
116 </test> | |
117 <test> | |
9
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
118 <param name="input_type" value="collection"/> |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
119 <param name="input_snps_json_collection"> |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
120 <collection type="list"> |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
121 <element name="Mbovis-01_snps.json" value="Mbovis-01_snps.json" dbkey="89"/> |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
122 <element name="Mbovis-01D_snps.json" value="Mbovis-01D_snps.json" dbkey="89"/> |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
123 <element name="Mbovis-01D6_snps.json" value="Mbovis-01D6_snps.json" dbkey="89"/> |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
124 </collection> |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
125 </param> |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
126 <param name="input_newick_collection"> |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
127 <collection type="list"> |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
128 <element name="Mbovis-01_snps.newick" value="Mbovis-01_snps.newick" dbkey="89"/> |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
129 <element name="Mbovis-01D_snps.newick" value="Mbovis-01D_snps.newick" dbkey="89"/> |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
130 <element name="Mbovis-01D6_snps.newick" value="Mbovis-01D6_snps.newick" dbkey="89"/> |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
131 </collection> |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
132 </param> |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
133 <param name="input_avg_mq_json_collection"> |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
134 <collection type="list"> |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
135 <element name="Mbovis-01_snps.json" value="Mbovis-01_avg_mq.json" dbkey="89"/> |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
136 <element name="Mbovis-01D_snps.json" value="Mbovis-01D_avg_mq.json" dbkey="89"/> |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
137 <element name="Mbovis-01D6_snps.json" value="Mbovis-01D6_avg_mq.json" dbkey="89"/> |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
138 </collection> |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
139 </param> |
0 | 140 <param name="gbk_param" value="no"/> |
9
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
141 <output_collection name="excel" type="list" count="6"> |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
142 <element name="Mbovis-01D6_snps_newick_cascade_table" file="Mbovis-01D6_cascade_table.xlsx" ftype="xlsx" compare="sim_size"/> |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
143 <element name="Mbovis-01D6_snps_newick_sort_table" file="Mbovis-01D6_sort_table.xlsx" ftype="xlsx" compare="sim_size"/> |
4
b67a6326a96b
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 23762af1ec5da6c6f7407f6194d7a2bf9d242618"
greg
parents:
3
diff
changeset
|
144 <element name="Mbovis-01D_snps_newick_cascade_table" file="Mbovis-01D_cascade_table.xlsx" ftype="xlsx" compare="sim_size"/> |
b67a6326a96b
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 23762af1ec5da6c6f7407f6194d7a2bf9d242618"
greg
parents:
3
diff
changeset
|
145 <element name="Mbovis-01D_snps_newick_sort_table" file="Mbovis-01D_sort_table.xlsx" ftype="xlsx" compare="sim_size"/> |
9
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
146 <element name="Mbovis-01_snps_newick_cascade_table" file="Mbovis-01_cascade_table.xlsx" ftype="xlsx" compare="sim_size"/> |
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
147 <element name="Mbovis-01_snps_newick_sort_table" file="Mbovis-01_sort_table.xlsx" ftype="xlsx" compare="sim_size"/> |
0 | 148 </output_collection> |
149 </test> | |
150 </tests> | |
151 <help> | |
152 **What it does** | |
153 | |
154 Accepts a combination of single SNPs json, average MQ json and newick files (or associated collections of | |
155 each) to produce annotated SNPs tables in the form of Excel spreadsheets. The SNPs json and average MQ json | |
156 files are typically produced by the **vSNP: get SNPs** tool and the newick files are typically produced by | |
157 the **Phyogenetic reconstruction with RaXML** tool. | |
158 | |
159 The SNPs tables display closely related isolates and enables identification of mixed SNPs when multiple | |
160 bacterial strains are infecting an organism. The table structure is shown below. The columns identify the | |
161 genome location of the SNP calls and the isolates are contained within the rows. The reference (or ancestral | |
162 strain if the reference is an outgroup) is listed across the top, identified as the "reference call". SNPs | |
163 that are not highlighted will match the reference. The map-quality row values are the average of the map | |
164 quality scores of each isolate in that position. These scores measure the confidence that the read has been | |
165 mapped to the correct location on the genome. The maximum score possible is 60, and lower scores lessen the | |
166 confidence that the SNP was correctly identified. The annotation of the position is provided at the bottom | |
167 of the table. | |
168 | |
169 .. image:: table_description.png | |
170 | |
171 SNPs are sorted according to their evolutionary age within the table. The oldest SNPs (encompassing the most | |
172 isolates) are furthest to the left. This sorting is somewhat crude - the intent is to improve readibility or | |
173 more easily match a related tree. | |
174 | |
175 For a more detailed discussion, see the **Validating and correcting SNP calls** section of | |
2 | 176 the `vSNP documentation`_. |
177 | |
178 .. _vSNP documentation: https://github.com/USDA-VS/vSNP/blob/master/docs/detailed_usage.md | |
0 | 179 |
180 **Required Options** | |
181 | |
9
f641e52353e8
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 1131a7accc36df73eac621f6ae8aa3cb62403bde"
greg
parents:
7
diff
changeset
|
182 * **Choose the category for the files to be analyzed** - select "Single files" or "Collections of files", then select the appropriate history items (single SNPs json, average MQ json and newick files, or collections of each) based on the selected option. |
0 | 183 * **Use Genbank file** - Select "yes" to annotate the tables using the information in the Genbank file. Locally cached files, if available, provide the most widely used annotations, but more custom Genbank files can be chosen from the current history. |
184 </help> | |
3 | 185 <expand macro="citations"/> |
0 | 186 </tool> |
187 |