annotate seqtk_trimfq.xml @ 2:f73729b62b51 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 2249d643284ee782d882cd200729a86a2c6bb744
author iuc
date Fri, 01 Jan 2016 14:49:42 -0500
parents e0a0fd938de4
children bc7d99f46a5d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
1 <?xml version="1.0"?>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
2 <tool id="seqtk_trimfq" name="seqtk_trimfq" version="@WRAPPER_VERSION@.0">
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
3 <description>trim FASTQ using the Phred algorithm</description>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
4 <macros>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
5 <import>macros.xml</import>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
6 </macros>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
7 <expand macro="requirements"/>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
8 <expand macro="stdio"/>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
9 <command><![CDATA[seqtk trimfq
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
10 #if $mode.mode_select == "quality":
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
11 -q $mode.q
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
12 -l $mode.l
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
13 #else:
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
14 -b $mode.b
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
15 -e $mode.e
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
16 #end if
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
17 $in_file
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
18 > $default]]></command>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
19 <inputs>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
20 <expand macro="in_faq"/>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
21 <conditional name="mode">
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
22 <param name="mode_select" type="select" label="Mode for trimming FASTQ File">
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
23 <option value="quality">Quality</option>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
24 <option value="position">Length/Position</option>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
25 </param>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
26 <when value="quality">
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
27 <param label="error rate threshold" help="(-q)" name="q" type="float" value="0.05"/>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
28 <param label="maximally trim down to INT bp" help="(-l)" name="l" type="integer" value="30"/>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
29 </when>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
30 <when value="position">
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
31 <param label="trim INT bp from left" help="(-b)" name="b" type="integer" value="0"/>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
32 <param label="trim INT bp from right" help="(-e)" name="e" type="integer" value="0"/>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
33 </when>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
34 </conditional>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
35 </inputs>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
36 <outputs>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
37 <data format_source="in_file" hidden="false" name="default" label="$in_file.name trimmed"/>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
38 </outputs>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
39 <tests>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
40 <test>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
41 <param name="in_file" value="seqtk_trimfq.fq"/>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
42 <param name="mode_select" value="quality"/>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
43 <param name="q" value="0.05"/>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
44 <param name="l" value="30"/>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
45 <output name="default" file="seqtk_trimfq_default.fq" ftype="fastq"/>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
46 </test>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
47 <test>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
48 <param name="in_file" value="seqtk_trimfq.fq"/>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
49 <param name="mode_select" value="position"/>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
50 <param name="b" value="5"/>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
51 <param name="e" value="5"/>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
52 <output name="default" file="seqtk_trimfq_be.fq" ftype="fastq"/>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
53 </test>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
54 </tests>
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
55 <help><![CDATA[
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
56 **What it does**
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
57
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
58 Trim a fastq file based on Phred scores, or by length
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
59
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
60 @ATTRIBUTION@
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
61 ]]></help>
2
f73729b62b51 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/seqtk commit 2249d643284ee782d882cd200729a86a2c6bb744
iuc
parents: 0
diff changeset
62 <expand macro="citation" />
0
e0a0fd938de4 Uploaded
iuc
parents:
diff changeset
63 </tool>