annotate positions2snv_invariant_alignment.xml @ 0:bf542eece94a draft

"planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
author nml
date Tue, 27 Aug 2019 12:32:37 -0400
parents
children 5dc704146cc6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
1 <tool id="positions2snv_invariant_alignment" name="Positions to SNV invariant alignment" version ="1.8.2">
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
2 <description>Create a SNV and non-variant alignment from the SNVPhyl positions table and a reference genome.</description>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
3 <requirements>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
4 <requirement type="package" version="1.8.2">snvphyl-tools</requirement>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
5 </requirements>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
6 <command detect_errors="exit_code"><![CDATA[
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
7 positions2snv_invariant_alignment.pl -i $snv_table --reference-file $reference_genome -o outputs -f $out_format $keep_all $merge_alignment
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
8 ]]></command>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
9 <inputs>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
10 <param name="snv_table" type="data" label="SNV table" format="tabular"/>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
11 <param name="reference_genome" type="data" label="Reference genome" format="fasta"/>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
12 <param name="out_format" type="select" label="Output alignment format">
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
13 <option value="phylip">Phylip alignment format</option>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
14 <option value="fasta">FASTA alignment format</option>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
15 </param>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
16 <param name="merge_alignment" type="boolean" checked="false" label="Merge alignment to single file"
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
17 help="Merge individual sequences in reference file to single sequence in final alignment" truevalue="--merge-alignment" falsevalue="" />
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
18 <param name="keep_all" type="boolean" checked="false" label="Keep all positions"
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
19 help="Keep all positions with status 'filtered' in the SNV alignment" truevalue="--keep-all" falsevalue="" />
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
20 </inputs>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
21 <outputs>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
22 <collection name="alignments" type="list" label="Alignment files">
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
23 <discover_datasets pattern="__name_and_ext__" directory="outputs" />
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
24 </collection>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
25 </outputs>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
26 <tests>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
27 <test>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
28 <param name="snv_table" value="positions.tsv"/>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
29 <param name="reference_genome" value="reference.fasta"/>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
30 <param name="out_format" value="fasta"/>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
31 <param name="merge_alignment" value="true" />
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
32
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
33 <output_collection name="alignments" type="list">
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
34 <element name="alignment_merged" file="expected-merged.fasta"/>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
35 </output_collection>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
36 </test>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
37 <test>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
38 <param name="snv_table" value="positions.tsv"/>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
39 <param name="reference_genome" value="reference.fasta"/>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
40 <param name="out_format" value="phylip"/>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
41 <param name="merge_alignment" value="true" />
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
42
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
43 <output_collection name="alignments" type="list">
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
44 <element name="alignment_merged" file="expected-merged.phy"/>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
45 </output_collection>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
46 </test>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
47 <test>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
48 <param name="snv_table" value="positions.tsv"/>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
49 <param name="reference_genome" value="reference.fasta"/>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
50 <param name="out_format" value="fasta"/>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
51 <param name="merge_alignment" value="true" />
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
52 <param name="keep_all" value="true" />
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
53
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
54 <output_collection name="alignments" type="list">
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
55 <element name="alignment_merged" file="expected-merged-all.fasta"/>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
56 </output_collection>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
57 </test>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
58 <test>
bf542eece94a "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"/>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
60 <param name="reference_genome" value="reference.fasta"/>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
61 <param name="out_format" value="fasta"/>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
62
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
63 <output_collection name="alignments" type="list">
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
64 <element name="ref1" file="ref1.fasta"/>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
65 <element name="ref2" file="ref2.fasta"/>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
66 </output_collection>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
67 </test>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
68 <test>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
69 <param name="snv_table" value="positions.tsv"/>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
70 <param name="reference_genome" value="reference.fasta"/>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
71 <param name="out_format" value="fasta"/>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
72 <param name="keep_all" value="true" />
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
73
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
74 <output_collection name="alignments" type="list">
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
75 <element name="ref1" file="ref1-all.fasta"/>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
76 <element name="ref2" file="ref2-all.fasta"/>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
77 </output_collection>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
78 </test>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
79 </tests>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
80
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
81 <help>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
82 What it does
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
83 ============
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
84
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
85 Creates a SNV and non-variant alignment from the SNVPhyl SNV positions table and a reference genome.
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
86
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
87 </help>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
88
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
89 <citations>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
90 </citations>
bf542eece94a "planemo upload for repository https://github.com/phac-nml/snvphyl-galaxy commit 90a172f1fc12b9c4d73f4c924a8c0c5a559589d0"
nml
parents:
diff changeset
91 </tool>