galaxy-central (ngs) / tools / fastq / fastq_masker_by_quality.xml

Full commit
<tool id="fastq_masker_by_quality" name="FASTQ Masker" version="1.0.0">
  <description>by quality score</description>
  <command interpreter="python"> '$input_file' '$output_file' -f '${input_file.extension[len( 'fastq' ):]}' -s '${quality_score}' -c '${score_comparison}'
      #if $mask_type.value == 'lowercase'
      -m '${mask_type}'
      #end if
    <param name="input_file" type="data" format="fastqsanger" label="File to mask" />
    <param name="mask_type" type="select" label="Mask input with">
      <option value="N">N's</option>
      <option value="lowercase">Lowercase</option>
    <param name="score_comparison" type="select" label="When score is">
      <option value="le" selected="True">Less than or equal</option>
      <option value="lt">Less than</option>
      <option value="eq">Equal to</option>
      <option value="ne">Not Equal to</option>
      <option value="ge">Greater than</option>
      <option value="gt">Greater than or equal</option>
    <param name="quality_score" type="integer" value="0" label="Quality score"/>
    <data name="output_file" format="fastqsanger" />
      <param name="input_file" value="sanger_full_range_original_sanger.fastqsanger" ftype="fastqsanger" />
      <param name="mask_type" value="N" />
      <param name="score_comparison" value="le" />
      <param name="quality_score" value="20" />
      <output name="output_file" file="sanger_full_range_masked_N.fastqsanger" />
      <param name="input_file" value="sanger_full_range_original_sanger.fastqsanger" ftype="fastqsanger" />
      <param name="mask_type" value="lowercase" />
      <param name="score_comparison" value="le" />
      <param name="quality_score" value="20" />
      <output name="output_file" file="sanger_full_range_masked_lowercase.fastqsanger" />
**What it does**

This tool allows masking base characters in FASTQ format files dependent upon user specified quality score value and comparison method.

This tool is not available for use on color space (csSanger) formats.



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;;`_