annotate fastq_masker.xml @ 1:e7c65e398bdd draft default tip

Deleted selected files
author idot
date Wed, 10 Jul 2013 06:16:21 -0400
parents 78a7d28f2a15
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
1 <tool id="cshl_fastq_masker" name="Mask nucleotides">
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
2 <description>(based on quality)</description>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
3 <command>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
4 cat '$input' |
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
5 fastq_masker
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
6 #if $input.ext == "fastqsanger":
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
7 -Q 33
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
8 #elif $input.ext == "fastq":
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
9 -Q 64
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
10 #end if
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
11 -v -q $cutoff -r '$maskchar' -o '$output'</command>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
12 <inputs>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
13 <param format="fastq,fastqsanger" name="input" type="data" label="Library to clip" />
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
14
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
15 <param name="cutoff" size="4" type="integer" value="20">
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
16 <label>Minimum quality score</label>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
17 <help>Nucleotides below this quality will be masked</help>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
18 </param>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
19
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
20 <param name="maskchar" size="1" type="text" value="N">
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
21 <label>Mask character</label>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
22 <help>Replace low-quality nucleotides with this character. Common values: 'N' or '.'</help>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
23 </param>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
24 </inputs>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
25
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
26 <tests>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
27 <test>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
28 <param name="input" value="fastq_masker.fastq" ftype="fastq" />
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
29 <param name="cutoff" value="29"/>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
30 <param name="maskchar" value="x"/>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
31 <output name="output" file="fastq_masker.out" />
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
32 </test>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
33 </tests>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
34
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
35 <outputs>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
36 <data format="input" name="output" metadata_source="input"
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
37 />
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
38 </outputs>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
39 <help>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
40 **What it does**
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
41
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
42 This tool masks low-quality nucleotides in a FASTQ file, and replaces them with the specifed mask character (**N** by default).
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
43
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
44 --------
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
45
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
46 **Example**
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
47
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
48 Input FASTQ file::
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
49
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
50 @1
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
51 TATGGTCAGAAACCATATGC
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
52 +1
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
53 40 40 40 40 40 40 40 40 40 40 40 20 19 19 19 19 19 19 19 19
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
54 @2
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
55 CAGCGAGGCTTTAATGCCAT
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
56 +2
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
57 40 40 40 40 40 40 40 40 30 20 19 20 19 19 19 19 19 19 19 19
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
58 @3
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
59 CAGCGAGGCTTTAATGCCAT
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
60 +3
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
61 40 40 40 40 40 40 40 40 20 19 19 19 19 19 19 19 19 19 19 19
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
62
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
63 After Masking nucleotides with quality lower than 20 with the character **N**::
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
64
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
65 @1
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
66 TATGGTCAGAAANNNNNNNN
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
67 +1
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
68 40 40 40 40 40 40 40 40 40 40 40 20 19 19 19 19 19 19 19 19
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
69 @2
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
70 CAGCGAGGCTNTNNNNNNNN
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
71 +2
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
72 40 40 40 40 40 40 40 40 30 20 19 20 19 19 19 19 19 19 19 19
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
73 @3
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
74 CAGCGAGGCNNNNNNNNNNN
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
75 +3
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
76 40 40 40 40 40 40 40 40 20 19 19 19 19 19 19 19 19 19 19 19
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
77
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
78
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
79 ------
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
80
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
81 This tool is based on `FASTX-toolkit`__ by Assaf Gordon.
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
82
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
83 .. __: http://hannonlab.cshl.edu/fastx_toolkit/
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
84
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
85 </help>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
86 </tool>
78a7d28f2a15 Uploaded
idot
parents:
diff changeset
87 <!-- FASTQ-Masker part of the FASTX-toolkit, by A.Gordon (gordon@cshl.edu) -->