6
|
1 <tool id="sum_fastqc" name="sum_fastqc" version="0.21">
|
|
2 <description>summarizes raw FASTQC output</description>
|
2
|
3 <requirements>
|
|
4 </requirements>
|
|
5 <command detect_errors="exit_code"><![CDATA[
|
|
6
|
|
7 #if $jobtype.select == "single"
|
|
8 #set inname = $jobtype.file
|
|
9 #set infile = $jobtype.file
|
|
10 perl $__tool_directory__/sum_fastqc.pl "$inname" $qset.qscore $infile > sum_fastqc.tab
|
|
11 #else if $jobtype.select == "col"
|
|
12 #set inname = $jobtype.coll.name
|
|
13 #set infile = $jobtype.coll.forward
|
|
14 #set infile2 = $jobtype.coll.reverse
|
|
15 perl $__tool_directory__/sum_fastqc.pl "$inname" $qset.qscore $infile $infile2 > sum_fastqc.tab;
|
|
16 #end if
|
|
17
|
|
18 ]]></command>
|
|
19 <inputs>
|
|
20 <conditional name="jobtype">
|
|
21 <param name="select" type="select" label="Select Input">
|
|
22 <option value="single">Raw FASTQC output File</option>
|
|
23 <option value="col">Pair of raw FASTQC Files</option>
|
|
24 </param>
|
|
25 <when value="single">
|
|
26 <param name="file" type="data" format="txt" label="Raw FASTQC" />
|
|
27 </when>
|
|
28 <when value="col">
|
|
29 <param name="coll" label="Raw FASTQC pair" type="data_collection" format="txt" collection_type="paired" />
|
|
30 </when>
|
|
31 </conditional>
|
|
32 <conditional name="qset">
|
|
33 <param name="selectq" type="select" label="Single or multiple Q scores">
|
|
34 <option value="single">Single Q score</option>
|
|
35 <option value="mul">Multiple Q scores</option>
|
|
36 </param>
|
|
37 <when value="single">
|
|
38 <param name="qscore" type="integer" label="Q score threshold (i.e. reads >= Q score)" value="30">
|
|
39 <validator type="in_range" message="Must be integer(0,40)." min="0" max="40"/>
|
|
40 </param>
|
|
41 </when>
|
|
42 <when value="mul">
|
|
43 <param name="qscore" type="text" label="Comma delimited Q score list (e.g. 25,30,35)" value="30"/>
|
|
44 </when>
|
|
45 </conditional>
|
|
46 </inputs>
|
|
47 <outputs>
|
|
48 <data format="tabular" name="FASTQC Summary" label="${tool.name} on ${on_string}: Contigs" from_work_dir="*.tab"/>
|
|
49 </outputs>
|
|
50
|
|
51 <help><![CDATA[
|
|
52
|
|
53 ]]></help>
|
|
54 <citations>
|
|
55 </citations>
|
|
56 </tool>
|