comparison cut_degen.xml @ 0:716cdcccc919 draft default tip

planemo upload for repository https://github.com/mshortr/degenerateprimerremoval_fastq commit 7d51a7e3ccb0164b530bf1664068d86241f2f2f5-dirty
author megan-shortridge
date Tue, 15 Sep 2015 14:14:41 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:716cdcccc919
1 <tool id="cut_degen" name="Cut degenerate primers from dataset (for Fastq)" version="0.1.0">
2 <description> Degenerate primer removal tool for Fastq files</description>
3 <requirements>
4 <requirement type = "package" version = "1.9">numpy</requirement>
5 <requirement type = "package" version = "1.65">biopython</requirement>
6 </requirements>
7 <stdio>
8 <exit_code range="1:" />
9 </stdio>
10
11 <command interpreter="python">cut_degen.py $input1 $input2 $input3 $input4 $input5 $input6
12 </command>
13 <inputs>
14 <param name="input1" type="data" label="Input Fastq file" help="Please add a valid Fastq file!" format="fastq"/>
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"/>
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.">
17 <option value="True">True</option>
18 <option value="False">False</option>
19 </param>
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.">
21 <option value="True">True</option>
22 <option value="False">False</option>
23 </param>
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">
25 <option value="5">5</option>
26 <option value="3">3</option>
27 </param>
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">
29 </param>
30 </inputs>
31 <outputs>
32 <data name="output1" format="text" from_work_dir="output.txt" label="Degenerate adaptor removal on ${input1.name}(REPORT)"/>
33 <data name="output2" format="fastq" from_work_dir="output.fastq" label="Degenerate adaptor removal on ${input1.name}(READS)"/>
34 </outputs>
35 <tests>
36 <test>
37 <param name="input1" value="test.fastq"/>
38 <param name="input2" value="ACCTGCCTGCCG"/>
39 <param name="input3" value="True"/>
40 <param name="input4" value="True"/>
41 <param name="input5" value="5"/>
42 <param name="input6" value="UniA"/>
43 <output name="output1" file="output.txt"/>
44 <output name="output2" file="output.fastq"/>
45 </test>
46 <test>
47 <param name="input1" value="test3prime.fastq"/>
48 <param name="input2" value="GCTCGGTGGCGT"/>
49 <param name="input3" value="True"/>
50 <param name="input4" value="True"/>
51 <param name="input5" value="3"/>
52 <param name="input6" value="UniB"/>
53 <output name="output1" file="output2.txt"/>
54 <output name="output2" file="output2.fastq"/>
55 </test>
56 </tests>
57 <help>
58 This program takes Fastq files and removes a given degenerate primer sequence. There are a few arguments that you can put in:
59 1) You can check whether or not to keep reads that do not have the adaptor in it.
60 2) You can check whether or not to remove the adaptor sequences from your reads.
61 3) You can choose whether to cut adaptors from the 5', or 3' end of the molecules.
62 4) You can add an identifier for the adaptor which will show up in the output text file.
63
64 </help>
65 <citations>
66 <citation type="doi">10.1093/bioinformatics/btp163</citation>
67 </citations>
68 </tool>