annotate sum_fastqc.xml @ 4:d47775122e78 draft

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