annotate sum_fastqc.xml @ 7:53bfb3b2c026 draft

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