annotate tools/fastq/fastq_masker_by_quality.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="fastq_masker_by_quality" name="FASTQ Masker" version="1.0.0">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
2 <description>by quality score</description>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
3 <command interpreter="python">fastq_masker_by_quality.py '$input_file' '$output_file' -f '${input_file.extension[len( 'fastq' ):]}' -s '${quality_score}' -c '${score_comparison}'
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
4 #if $mask_type.value == 'lowercase'
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
5 --lowercase
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
6 #else
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
7 -m '${mask_type}'
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
8 #end if
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
9 </command>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
10 <inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
11 <param name="input_file" type="data" format="fastqsanger" label="File to mask" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
12 <param name="mask_type" type="select" label="Mask input with">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
13 <option value="N">N's</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
14 <option value="lowercase">Lowercase</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
15 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
16 <param name="score_comparison" type="select" label="When score is">
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
17 <option value="le" selected="True">Less than or equal</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
18 <option value="lt">Less than</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
19 <option value="eq">Equal to</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
20 <option value="ne">Not Equal to</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
21 <option value="ge">Greater than</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
22 <option value="gt">Greater than or equal</option>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
23 </param>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
24 <param name="quality_score" type="integer" value="0" label="Quality score"/>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
25 </inputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
26 <outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
27 <data name="output_file" format="fastqsanger" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
28 </outputs>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
29 <tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
30 <test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
31 <param name="input_file" value="sanger_full_range_original_sanger.fastqsanger" ftype="fastqsanger" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
32 <param name="mask_type" value="N" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
33 <param name="score_comparison" value="le" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
34 <param name="quality_score" value="20" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
35 <output name="output_file" file="sanger_full_range_masked_N.fastqsanger" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
36 </test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
37 <test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
38 <param name="input_file" value="sanger_full_range_original_sanger.fastqsanger" ftype="fastqsanger" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
39 <param name="mask_type" value="lowercase" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
40 <param name="score_comparison" value="le" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
41 <param name="quality_score" value="20" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
42 <output name="output_file" file="sanger_full_range_masked_lowercase.fastqsanger" />
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
43 </test>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
44 </tests>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
45 <help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
46 **What it does**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
47
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
48 This tool allows masking base characters in FASTQ format files dependent upon user specified quality score value and comparison method.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
49
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
50 This tool is not available for use on color space (csSanger) formats.
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
51
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
52 ------
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
53
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
54 **Citation**
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
55
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
56 If you use this tool, please cite `Blankenberg D, Gordon A, Von Kuster G, Coraor N, Taylor J, Nekrutenko A; Galaxy Team. Manipulation of FASTQ data with Galaxy. Bioinformatics. 2010 Jul 15;26(14):1783-5. &lt;http://www.ncbi.nlm.nih.gov/pubmed/20562416&gt;`_
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
57
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
58
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
59 </help>
9071e359b9a3 Uploaded
xuebing
parents:
diff changeset
60 </tool>