annotate sum_fastqc-b769c810924e/sum_fastqc.xml @ 0:17652c6a7517 draft

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