annotate tools/ilmn_pacbio/smrtpipe_filter.xml @ 1:cdcb0ce84a1b

Uploaded
author xuebing
date Fri, 09 Mar 2012 19:45:15 -0500
parents 9071e359b9a3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
1 <tool id="smrtpipe_filter" name="SMRTpipe Filter" version="1.0.0">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
2 <description>Produce filtered reads from a set of PacBio primary analysis outputs.</description>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
3 <command interpreter="python">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
4 smrtpipe_galaxy.py --output=data/filtered_subreads.fasta --galaxy_output=${outfile} ${iniFile}
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
5 </command>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
6 <inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
7 <conditional name="source">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
8 <param name="input_source" type="select" label="Choose the source for the analysis inputs">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
9 <option value="path">Path to fofn or multiple bas.h5 paths</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
10 <option value="history">History</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
11 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
12 <when value="path">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
13 <repeat name="inputFiles" title="Input files">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
14 <param name="path" type="text" label="File path" size="75"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
15 </repeat>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
16 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
17 <when value="history">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
18 <param name="input1" type="data" format="tabular" label="File containing input paths" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
19 </when>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
20 </conditional>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
21 <param name="minimum_readlength" type="integer" value="50" label="Minimum raw readlength" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
22 <param name="minimum_readscore" type="float" value="0.75" label="Minimum read quality" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
23 </inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
24 <configfiles>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
25 <configfile name="iniFile">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
26 [input]
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
27 #if $source.input_source=="history":
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
28 #for $l in open($source.input1.file_name,'r'):
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
29 $l
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
30 #end for
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
31 #else
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
32 #for $p in $source.inputFiles
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
33 ${p.path}
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
34 #end for
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
35 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
36
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
37 [S_Filter]
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
38 filters=MinRL=${minimum_readlength},MinReadScore=${minimum_readscore}
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
39 </configfile>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
40 </configfiles>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
41 <outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
42 <data name="outfile" format="fasta" label="Filtered subreads" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
43 </outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
44 <help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
45
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
46 **What it does**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
47
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
48 Filters PacBio bas.h5 files and produces a FASTA file of filtered subreads.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
49
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
50 In PacBio SMRT sequencing, the template format is a SMRTbell: a circular
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
51 molecule with adapters at two locations in the circle. The subreads are the
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
52 portions of the read between adapters.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
53
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
54 **Parameter list**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
55
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
56 Minimum readlength
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
57 Only keep reads from ZMWs that produced this many bases or more.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
58
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
59 Minimum read quality
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
60 Only keep reads with overall quality scores of this value or more. The read quality score is a *de novo* prediction of the accuracy of the read.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
61
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
62 **Output**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
63
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
64 FASTA file of filtered reads.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
65
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
66 </help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
67 </tool>