annotate positions2snv_alignment.xml @ 1:1cf81ca17e9d draft default tip

"planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 57067916cb7b9c5b65c1da59d4bbb846c3e3af2f"
author nml
date Tue, 23 Jun 2020 10:26:59 -0400
parents e2cec726fa79
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
1cf81ca17e9d "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 57067916cb7b9c5b65c1da59d4bbb846c3e3af2f"
nml
parents: 0
diff changeset
1 <tool id="positions2snv_alignment" name="Positions to SNV alignment" version ="@VERSION@+galaxy1">
0
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
2 <description>Create a SNV-only alignment from the SNVPhyl positions table.</description>
1
1cf81ca17e9d "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 57067916cb7b9c5b65c1da59d4bbb846c3e3af2f"
nml
parents: 0
diff changeset
3 <macros>
1cf81ca17e9d "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 57067916cb7b9c5b65c1da59d4bbb846c3e3af2f"
nml
parents: 0
diff changeset
4 <import>macros.xml</import>
1cf81ca17e9d "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 57067916cb7b9c5b65c1da59d4bbb846c3e3af2f"
nml
parents: 0
diff changeset
5 </macros>
1cf81ca17e9d "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 57067916cb7b9c5b65c1da59d4bbb846c3e3af2f"
nml
parents: 0
diff changeset
6 <expand macro="requirements"/>
0
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
7 <command detect_errors="exit_code"><![CDATA[
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
8 positions2snv_alignment.pl -i $snv_table -o $output -f $out_format $keep_all
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
9 #if $reference_name:
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
10 --reference-name $reference_name
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
11 #end if
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
12 ]]></command>
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
13 <inputs>
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
14 <param name="snv_table" type="data" label="SNV table" format="tabular"/>
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
15 <param name="out_format" type="select" label="Output alignment format">
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
16 <option value="phylip">Phylip alignment format</option>
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
17 <option value="fasta">FASTA alignment format</option>
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
18 </param>
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
19 <param name="keep_all" type="boolean" checked="false" label="Keep all positions"
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
20 help="Keep all positions with status 'filtered' in the SNV alignment" truevalue="--keep-all" falsevalue="" />
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
21 <param name="reference_name" type="text" label="Reference genome name" value="Reference"
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
22 help="Name of reference genome in produced alignment" />
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
23 </inputs>
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
24 <outputs>
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
25 <data format="phylip" name="output">
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
26 <change_format>
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
27 <when input="out_format" value="phylip" format="phylip"/>
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
28 <when input="out_format" value="fasta" format="fasta"/>
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
29 </change_format>
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
30 </data>
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
31 </outputs>
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
32 <tests>
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
33 <test>
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
34 <param name="snv_table" value="positions.tsv"/>
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
35 <param name="out_format" value="phylip"/>
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
36
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
37 <output name="output" file="expected.phy"/>
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
38 </test>
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
39 <test>
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
40 <param name="snv_table" value="positions.tsv"/>
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
41 <param name="out_format" value="fasta"/>
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
42
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
43 <output name="output" file="expected.fasta"/>
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
44 </test>
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
45 <test>
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
46 <param name="snv_table" value="positions.tsv"/>
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
47 <param name="out_format" value="fasta"/>
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
48 <param name="keep_all" value="true" />
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
49
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
50 <output name="output" file="expected-all.fasta"/>
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
51 </test>
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
52 <test>
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
53 <param name="snv_table" value="positions.tsv"/>
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
54 <param name="out_format" value="fasta"/>
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
55
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
56 <output name="output" file="expected.fasta"/>
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
57 </test>
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
58 <test>
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
59 <param name="snv_table" value="positions.tsv"/>
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
60 <param name="out_format" value="fasta"/>
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
61 <param name="reference_name" value="ChangedRefName" />
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
62
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
63 <output name="output" file="expected-changed-ref-name.fasta"/>
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
64 </test>
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
65 </tests>
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
66
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
67 <help>
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
68 What it does
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
69 ============
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
70
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
71 Creates a SNV-only alignment from the SNVPhyl SNV positions table.
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
72
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
73 </help>
1
1cf81ca17e9d "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 57067916cb7b9c5b65c1da59d4bbb846c3e3af2f"
nml
parents: 0
diff changeset
74 <expand macro="citations"/>
0
e2cec726fa79 "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
75 </tool>