comparison fastq_masker_by_quality.xml @ 0:5a7b5751617b draft

Imported from capsule None
author devteam
date Mon, 27 Jan 2014 09:25:39 -0500
parents
children 9d234265981e
comparison
equal deleted inserted replaced
-1:000000000000 0:5a7b5751617b
1 <tool id="fastq_masker_by_quality" name="FASTQ Masker" version="1.0.0">
2 <description>by quality score</description>
3 <requirements>
4 <requirement type="package" version="1.0.0">galaxy_sequence_utils</requirement>
5 </requirements>
6 <command interpreter="python">fastq_masker_by_quality.py '$input_file' '$output_file' -f '${input_file.extension[len( 'fastq' ):]}' -s '${quality_score}' -c '${score_comparison}'
7 #if $mask_type.value == 'lowercase'
8 --lowercase
9 #else
10 -m '${mask_type}'
11 #end if
12 </command>
13 <inputs>
14 <param name="input_file" type="data" format="fastqsanger" label="File to mask" />
15 <param name="mask_type" type="select" label="Mask input with">
16 <option value="N">N's</option>
17 <option value="lowercase">Lowercase</option>
18 </param>
19 <param name="score_comparison" type="select" label="When score is">
20 <option value="le" selected="True">Less than or equal</option>
21 <option value="lt">Less than</option>
22 <option value="eq">Equal to</option>
23 <option value="ne">Not Equal to</option>
24 <option value="ge">Greater than</option>
25 <option value="gt">Greater than or equal</option>
26 </param>
27 <param name="quality_score" type="integer" value="0" label="Quality score"/>
28 </inputs>
29 <outputs>
30 <data name="output_file" format="fastqsanger" />
31 </outputs>
32 <tests>
33 <test>
34 <param name="input_file" value="sanger_full_range_original_sanger.fastqsanger" ftype="fastqsanger" />
35 <param name="mask_type" value="N" />
36 <param name="score_comparison" value="le" />
37 <param name="quality_score" value="20" />
38 <output name="output_file" file="sanger_full_range_masked_N.fastqsanger" />
39 </test>
40 <test>
41 <param name="input_file" value="sanger_full_range_original_sanger.fastqsanger" ftype="fastqsanger" />
42 <param name="mask_type" value="lowercase" />
43 <param name="score_comparison" value="le" />
44 <param name="quality_score" value="20" />
45 <output name="output_file" file="sanger_full_range_masked_lowercase.fastqsanger" />
46 </test>
47 </tests>
48 <help>
49 **What it does**
50
51 This tool allows masking base characters in FASTQ format files dependent upon user specified quality score value and comparison method.
52
53 This tool is not available for use on color space (csSanger) formats.
54
55 ------
56
57 **Citation**
58
59 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;`_
60
61
62 </help>
63 </tool>