annotate duk.xml @ 0:6e61b7ddb5f9 default tip

Uploaded
author edward-kirton
date Thu, 14 Jul 2011 22:25:21 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
1 <tool id='duk' name='duk' version='1.0.3' description='Filter nextgen reads'>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
2 <command>duk
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
3 -n $passfile
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
4 #if $badreads.select == 'yes':
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
5 -m $failfile
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
6 #end if
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
7 -k $kmer
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
8 -s $step
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
9 -c $cutoff
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
10 $source.file
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
11 $input
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
12 </command>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
13 <inputs>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
14 <param name="input" type="data" format="fastq,fastqillumina,fastqsanger" label="Fastq file of reads"/>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
15 <conditional name='source'>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
16 <param name='select' type='select' label='[-d] Target database'>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
17 <option value='adapterdb'>Precompiled Adapter Db</option>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
18 <option value='contamdb'>Precompiled Contaminants Db</option>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
19 <option value='user'>History file</option>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
20 </param>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
21 <when value='adapterdb'>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
22 <param name="file" type="select" label="Precompiled adapter database">
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
23 <options from_file="adapterdb.loc">
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
24 <column name="name" index="1"/>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
25 <column name="value" index="2"/>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
26 </options>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
27 </param>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
28 </when>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
29 <when value='contamdb'>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
30 <param name="file" type="select" label="Precompiled contaminants database">
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
31 <options from_file="contamdb.loc">
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
32 <column name="name" index="1"/>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
33 <column name="value" index="2"/>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
34 </options>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
35 </param>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
36 </when>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
37 <when value='user'>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
38 <param name='file' type='data' format='fasta' label='Fasta file'/>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
39 </when>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
40 </conditional>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
41 <param name='kmer' type='integer' value='16' label='[-kmer] the k mer size' />
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
42 <param name='step' type='integer' value='5' label='[-step] the step size' />
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
43 <param name='cutoff' type='integer' value='1' label='[-cutoff] the cut off threshold for contaminated reads' />
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
44 <conditional name='badreads'>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
45 <param name='select' type='select' display='radio' label='Save filtered reads?'>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
46 <option value='yes'>Yes, save to file</option>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
47 <option value='no'>No, discard</option>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
48 </param>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
49 <when value='yes'>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
50 </when>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
51 <when value='no'>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
52 </when>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
53 </conditional>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
54
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
55 </inputs>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
56 <outputs>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
57 <data name='passfile' format='input' />
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
58 <data name='failfile' format='input' label='Failed reads'>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
59 <filter>badreads["select"] == "yes"</filter>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
60 </data>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
61 </outputs>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
62 <help>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
63 **What It Does**
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
64
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
65 Filters reads containing undesired sequences, such as library artifacts or ribosomal sequences.
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
66
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
67 Decrease the step size to increase the sensitivity.
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
68
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
69 A kmer setting 16 means that any contaminant sequence less than 16 bases would slip through.
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
70
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
71 Lastly, contaminants with 'N' bases (no call) are more likely to be missed.
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
72
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
73 **Author**
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
74
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
75 Mingkun Li (MLi@LBL.gov)
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
76 </help>
6e61b7ddb5f9 Uploaded
edward-kirton
parents:
diff changeset
77 </tool>