Mercurial > repos > greg > vsnp_build_tables
annotate vsnp_build_tables.xml @ 19:aa39ac3dab94 draft default tip
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit a566ac707fb7263895c008cb10f15f63cdcbf182"
author | greg |
---|---|
date | Tue, 16 Nov 2021 14:01:34 +0000 |
parents | 54a7cafb9b47 |
children |
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> |
12 | 7 <expand macro="biopython_requirement"/> |
0 | 8 <requirement type="package" version="0.25.3">pandas</requirement> |
12 | 9 <expand macro="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 |
10 | 25 #set identifier = re.sub('[^\s\w\-\\.]', '_', str($i.element_identifier)) |
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
|
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 |
10 | 30 #set identifier = re.sub('[^\s\w\-\\.]', '_', str($i.element_identifier)) |
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
|
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 |
10 | 35 #set identifier = re.sub('[^\s\w\-\\.]', '_', str($i.element_identifier)) |
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
|
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"> | |
15
5be0576d2d5e
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit 4c7078b27931895d469b0e9663cc11a925eaf1bd"
greg
parents:
12
diff
changeset
|
92 <param name="gbk_file" type="data" format="genbank" label="Genbank file"/> |
0 | 93 </when> |
94 </conditional> | |
95 </when> | |
96 <when value="no"/> | |
97 </conditional> | |
98 </inputs> | |
99 <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
|
100 <collection name="excel" type="list" format="xlsx" label="${tool.name} on ${on_string}"> |
3 | 101 <discover_datasets pattern="(?P<designation>.+)\.(?P<ext>xlsx)" directory="output_excel_dir"/> |
0 | 102 </collection> |
103 </outputs> | |
104 <tests> | |
105 <test> | |
106 <param name="input_snps_json" value="input_snps_json.json" ftype="json" dbkey="89"/> | |
107 <param name="input_newick" value="input_newick.newick" ftype="newick" dbkey="89"/> | |
108 <param name="input_avg_mq_json" value="input_avg_mq_json.json" ftype="json" dbkey="89"/> | |
109 <param name="gbk_param" value="no"/> | |
3 | 110 <output_collection name="excel" type="list" count="2"> |
17
54a7cafb9b47
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit de17228778242e5adfd9b1d831794b4dc59b76b9"
greg
parents:
15
diff
changeset
|
111 <element name="cascade_table" ftype="xlsx"> |
54a7cafb9b47
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit de17228778242e5adfd9b1d831794b4dc59b76b9"
greg
parents:
15
diff
changeset
|
112 <assert_contents> |
54a7cafb9b47
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit de17228778242e5adfd9b1d831794b4dc59b76b9"
greg
parents:
15
diff
changeset
|
113 <has_size value="6853" delta="100"/> |
54a7cafb9b47
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit de17228778242e5adfd9b1d831794b4dc59b76b9"
greg
parents:
15
diff
changeset
|
114 </assert_contents> |
54a7cafb9b47
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit de17228778242e5adfd9b1d831794b4dc59b76b9"
greg
parents:
15
diff
changeset
|
115 </element> |
54a7cafb9b47
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit de17228778242e5adfd9b1d831794b4dc59b76b9"
greg
parents:
15
diff
changeset
|
116 <element name="sort_table" ftype="xlsx"> |
54a7cafb9b47
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit de17228778242e5adfd9b1d831794b4dc59b76b9"
greg
parents:
15
diff
changeset
|
117 <assert_contents> |
54a7cafb9b47
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit de17228778242e5adfd9b1d831794b4dc59b76b9"
greg
parents:
15
diff
changeset
|
118 <has_size value="6847" delta="100"/> |
54a7cafb9b47
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit de17228778242e5adfd9b1d831794b4dc59b76b9"
greg
parents:
15
diff
changeset
|
119 </assert_contents> |
54a7cafb9b47
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit de17228778242e5adfd9b1d831794b4dc59b76b9"
greg
parents:
15
diff
changeset
|
120 </element> |
0 | 121 </output_collection> |
122 </test> | |
123 <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
|
124 <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
|
125 <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
|
126 <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
|
127 <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
|
128 <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
|
129 <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
|
130 </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
|
131 </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
|
132 <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
|
133 <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
|
134 <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
|
135 <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
|
136 <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
|
137 </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
|
138 </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
|
139 <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
|
140 <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
|
141 <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
|
142 <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
|
143 <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
|
144 </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
|
145 </param> |
0 | 146 <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
|
147 <output_collection name="excel" type="list" count="6"> |
17
54a7cafb9b47
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit de17228778242e5adfd9b1d831794b4dc59b76b9"
greg
parents:
15
diff
changeset
|
148 <element name="Mbovis-01D6_snps_cascade_table" ftype="xlsx"> |
54a7cafb9b47
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit de17228778242e5adfd9b1d831794b4dc59b76b9"
greg
parents:
15
diff
changeset
|
149 <assert_contents> |
54a7cafb9b47
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit de17228778242e5adfd9b1d831794b4dc59b76b9"
greg
parents:
15
diff
changeset
|
150 <has_size value="6854" delta="100"/> |
54a7cafb9b47
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit de17228778242e5adfd9b1d831794b4dc59b76b9"
greg
parents:
15
diff
changeset
|
151 </assert_contents> |
54a7cafb9b47
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit de17228778242e5adfd9b1d831794b4dc59b76b9"
greg
parents:
15
diff
changeset
|
152 </element> |
54a7cafb9b47
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit de17228778242e5adfd9b1d831794b4dc59b76b9"
greg
parents:
15
diff
changeset
|
153 <element name="Mbovis-01D6_snps_sort_table" ftype="xlsx"> |
54a7cafb9b47
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit de17228778242e5adfd9b1d831794b4dc59b76b9"
greg
parents:
15
diff
changeset
|
154 <assert_contents> |
54a7cafb9b47
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit de17228778242e5adfd9b1d831794b4dc59b76b9"
greg
parents:
15
diff
changeset
|
155 <has_size value="6847" delta="100"/> |
54a7cafb9b47
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit de17228778242e5adfd9b1d831794b4dc59b76b9"
greg
parents:
15
diff
changeset
|
156 </assert_contents> |
54a7cafb9b47
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit de17228778242e5adfd9b1d831794b4dc59b76b9"
greg
parents:
15
diff
changeset
|
157 </element> |
54a7cafb9b47
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit de17228778242e5adfd9b1d831794b4dc59b76b9"
greg
parents:
15
diff
changeset
|
158 <element name="Mbovis-01D_snps_cascade_table" ftype="xlsx"> |
54a7cafb9b47
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit de17228778242e5adfd9b1d831794b4dc59b76b9"
greg
parents:
15
diff
changeset
|
159 <assert_contents> |
54a7cafb9b47
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit de17228778242e5adfd9b1d831794b4dc59b76b9"
greg
parents:
15
diff
changeset
|
160 <has_size value="6854" delta="100"/> |
54a7cafb9b47
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit de17228778242e5adfd9b1d831794b4dc59b76b9"
greg
parents:
15
diff
changeset
|
161 </assert_contents> |
54a7cafb9b47
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit de17228778242e5adfd9b1d831794b4dc59b76b9"
greg
parents:
15
diff
changeset
|
162 </element> |
54a7cafb9b47
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit de17228778242e5adfd9b1d831794b4dc59b76b9"
greg
parents:
15
diff
changeset
|
163 <element name="Mbovis-01D_snps_sort_table" ftype="xlsx"> |
54a7cafb9b47
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit de17228778242e5adfd9b1d831794b4dc59b76b9"
greg
parents:
15
diff
changeset
|
164 <assert_contents> |
54a7cafb9b47
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit de17228778242e5adfd9b1d831794b4dc59b76b9"
greg
parents:
15
diff
changeset
|
165 <has_size value="6847" delta="100"/> |
54a7cafb9b47
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit de17228778242e5adfd9b1d831794b4dc59b76b9"
greg
parents:
15
diff
changeset
|
166 </assert_contents> |
54a7cafb9b47
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit de17228778242e5adfd9b1d831794b4dc59b76b9"
greg
parents:
15
diff
changeset
|
167 </element> |
54a7cafb9b47
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit de17228778242e5adfd9b1d831794b4dc59b76b9"
greg
parents:
15
diff
changeset
|
168 <element name="Mbovis-01_snps_cascade_table" ftype="xlsx"> |
54a7cafb9b47
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit de17228778242e5adfd9b1d831794b4dc59b76b9"
greg
parents:
15
diff
changeset
|
169 <assert_contents> |
54a7cafb9b47
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit de17228778242e5adfd9b1d831794b4dc59b76b9"
greg
parents:
15
diff
changeset
|
170 <has_size value="6853" delta="100"/> |
54a7cafb9b47
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit de17228778242e5adfd9b1d831794b4dc59b76b9"
greg
parents:
15
diff
changeset
|
171 </assert_contents> |
54a7cafb9b47
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit de17228778242e5adfd9b1d831794b4dc59b76b9"
greg
parents:
15
diff
changeset
|
172 </element> |
54a7cafb9b47
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit de17228778242e5adfd9b1d831794b4dc59b76b9"
greg
parents:
15
diff
changeset
|
173 <element name="Mbovis-01_snps_sort_table" ftype="xlsx"> |
54a7cafb9b47
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit de17228778242e5adfd9b1d831794b4dc59b76b9"
greg
parents:
15
diff
changeset
|
174 <assert_contents> |
54a7cafb9b47
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit de17228778242e5adfd9b1d831794b4dc59b76b9"
greg
parents:
15
diff
changeset
|
175 <has_size value="6847" delta="100"/> |
54a7cafb9b47
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit de17228778242e5adfd9b1d831794b4dc59b76b9"
greg
parents:
15
diff
changeset
|
176 </assert_contents> |
54a7cafb9b47
"planemo upload for repository https://github.com/gregvonkuster/galaxy_tools/tree/master/tools/sequence_analysis/vsnp/vsnp_build_tables commit de17228778242e5adfd9b1d831794b4dc59b76b9"
greg
parents:
15
diff
changeset
|
177 </element> |
0 | 178 </output_collection> |
179 </test> | |
180 </tests> | |
181 <help> | |
182 **What it does** | |
183 | |
184 Accepts a combination of single SNPs json, average MQ json and newick files (or associated collections of | |
185 each) to produce annotated SNPs tables in the form of Excel spreadsheets. The SNPs json and average MQ json | |
186 files are typically produced by the **vSNP: get SNPs** tool and the newick files are typically produced by | |
187 the **Phyogenetic reconstruction with RaXML** tool. | |
188 | |
189 The SNPs tables display closely related isolates and enables identification of mixed SNPs when multiple | |
190 bacterial strains are infecting an organism. The table structure is shown below. The columns identify the | |
191 genome location of the SNP calls and the isolates are contained within the rows. The reference (or ancestral | |
192 strain if the reference is an outgroup) is listed across the top, identified as the "reference call". SNPs | |
193 that are not highlighted will match the reference. The map-quality row values are the average of the map | |
194 quality scores of each isolate in that position. These scores measure the confidence that the read has been | |
195 mapped to the correct location on the genome. The maximum score possible is 60, and lower scores lessen the | |
196 confidence that the SNP was correctly identified. The annotation of the position is provided at the bottom | |
197 of the table. | |
198 | |
199 .. image:: table_description.png | |
200 | |
201 SNPs are sorted according to their evolutionary age within the table. The oldest SNPs (encompassing the most | |
202 isolates) are furthest to the left. This sorting is somewhat crude - the intent is to improve readibility or | |
203 more easily match a related tree. | |
204 | |
205 For a more detailed discussion, see the **Validating and correcting SNP calls** section of | |
2 | 206 the `vSNP documentation`_. |
207 | |
208 .. _vSNP documentation: https://github.com/USDA-VS/vSNP/blob/master/docs/detailed_usage.md | |
0 | 209 |
210 **Required Options** | |
211 | |
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
|
212 * **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 | 213 * **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. |
214 </help> | |
3 | 215 <expand macro="citations"/> |
0 | 216 </tool> |
217 |