annotate cut_degen.xml @ 0:33b174991d3e draft default tip

planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
author megan-shortridge
date Tue, 15 Sep 2015 14:29:28 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
1 <tool id="cut_degen" name="Cut degenerate primers from dataset" version="0.1.0">
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
2 <description> Degenerate primer removal tool for Fasta files</description>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
3 <requirements>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
4 <requirement type = "package" version = "1.9">numpy</requirement>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
5 <requirement type = "package" version = "1.65">biopython</requirement>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
6 </requirements>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
7 <stdio>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
8 <exit_code range="1:" />
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
9 </stdio>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
10
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
11 <command interpreter="python">cut_degen.py $input1 $input2 $input3 $input4 $input5 $input6
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
12 </command>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
13 <inputs>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
14 <param name="input1" type="data" label="Input Fasta file" help="Please add a valid Fasta file!" format="fasta"/>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
15 <param name="input2" type="text" label="Input adaptor" help="This will work also with degenerate adaptors. Type the adaptor here..." size="4x25" area="true"/>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
16 <param name="input3" type="select" label="Keep reads without adaptor?" help="This is a True/False option, if True, reads that lack the adaptor will be kept. If false, they will be deleted from the dataset.">
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
17 <option value="True">True</option>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
18 <option value="False">False</option>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
19 </param>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
20 <param name="input4" type="select" label = "Remove adaptors?" help="This is True/False option, if True, removes adaptors from sequences. If false, keeps the adaptors in the sequences.">
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
21 <option value="True">True</option>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
22 <option value="False">False</option>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
23 </param>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
24 <param name="input5" type="select" multiple="False" label="5' or 3' end" help="Enter '5' to remove the primer from the 5' end, and enter '3' to remove the primer from the 3' end">
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
25 <option value="5">5</option>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
26 <option value="3">3</option>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
27 </param>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
28 <param name="input6" type="text" label="Adaptor name" help="Enter an identifier for your adaptor to be recorded in the output .txt file" size="4x25" area="true">
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
29 </param>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
30 </inputs>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
31 <outputs>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
32 <data name="output1" format="text" from_work_dir="output.txt" label="Degenerate adaptor removal on ${input1.name}(REPORT)"/>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
33 <data name="output2" format="fasta" from_work_dir="output.fasta" label="Degenerate adaptor removal on ${input1.name}(READS)"/>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
34 </outputs>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
35 <tests>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
36 <test>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
37 <param name="input1" value="test.fasta"/>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
38 <param name="input2" value="GAACWAYWYCT"/>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
39 <param name="input3" value="True"/>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
40 <param name="input4" value="True"/>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
41 <param name="input5" value="5"/>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
42 <param name="input6" value="test"/>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
43 <output name="output1" file="output.txt"/>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
44 <output name="output2" file="output.fasta"/>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
45 </test>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
46 <test>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
47 <param name="input1" value="test3prime.fasta"/>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
48 <param name="input2" value="GCTCGGTGGCGT"/>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
49 <param name="input3" value="True"/>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
50 <param name="input4" value="True"/>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
51 <param name="input5" value="3"/>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
52 <param name="input6" value="test2"/>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
53 <output name="output1" file="output2.txt"/>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
54 <output name="output2" file="output2.fasta"/>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
55 </test>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
56 </tests>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
57 <help>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
58 This program takes Fasta files and removes a given degenerate primer sequence. There are a few arguments that you can put in:
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
59 1) You can check whether or not to keep reads that do not have the adaptor in it.
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
60 2) You can check whether or not to remove the adaptor sequences from your reads.
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
61 3) You can choose whether to cut adaptors from the 5', or 3' end of the molecules.
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
62 4) You can add an identifier for the adaptor which will show up in the output text file.
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
63 </help>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
64 <citations>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
65 <citation type="doi">10.1093/bioinformatics/btp163</citation>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
66 </citations>
33b174991d3e planemo upload for repository https://github.com/mshortr/degenerateprimerremoval commit df5ba746a916e08e0847a727237f6bec5ef0511f-dirty
megan-shortridge
parents:
diff changeset
67 </tool>