Mercurial > repos > devteam > fastq_quality_filter
changeset 2:5b15d54348ed draft
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
author | devteam |
---|---|
date | Tue, 13 Oct 2015 12:39:56 -0400 |
parents | e72f9ddf89c4 |
children | 7b6a748e438f |
files | fastq_quality_filter.xml tool_dependencies.xml |
diffstat | 2 files changed, 39 insertions(+), 39 deletions(-) [+] |
line wrap: on
line diff
--- a/fastq_quality_filter.xml Tue Nov 26 12:44:47 2013 -0500 +++ b/fastq_quality_filter.xml Tue Oct 13 12:39:56 2015 -0400 @@ -1,48 +1,48 @@ <tool id="cshl_fastq_quality_filter" version="1.0.0" name="Filter by quality"> - <description></description> + <description></description> <requirements> <requirement type="package" version="0.0.13">fastx_toolkit</requirement> </requirements> - <command>zcat -f '$input' | fastq_quality_filter -q $quality -p $percent -v -o $output + <command> +<![CDATA[ +zcat -f < '$input' | fastq_quality_filter -q $quality -p $percent -v -o '$output' #if $input.ext == "fastqsanger": --Q 33 + -Q 33 #end if - </command> - - <inputs> - <param format="fastqsolexa,fastqsanger" name="input" type="data" label="Library to filter" /> +]]> + </command> - <param name="quality" size="4" type="integer" value="20"> - <label>Quality cut-off value</label> - </param> + <inputs> + <param format="fastqsolexa,fastqsanger" name="input" type="data" label="Library to filter" /> - <param name="percent" size="4" type="integer" value="90"> - <label>Percent of bases in sequence that must have quality equal to / higher than cut-off value</label> - </param> - </inputs> + <param name="quality" type="integer" value="20"> + <label>Quality cut-off value</label> + </param> - <tests> - <test> - <!-- Test1: 100% of bases with quality 33 or higher (pretty steep requirement...) --> - <param name="input" value="fastq_qual_filter1.fastq" ftype="fastqsolexa" /> - <param name="quality" value="33"/> - <param name="percent" value="100"/> - <output name="output" file="fastq_qual_filter1a.out" /> - </test> - <test> - <!-- Test2: 80% of bases with quality 20 or higher --> - <param name="input" value="fastq_qual_filter1.fastq" ftype="fastqsolexa"/> - <param name="quality" value="20"/> - <param name="percent" value="80"/> - <output name="output" file="fastq_qual_filter1b.out" /> - </test> - </tests> - - <outputs> - <data format="input" name="output" metadata_source="input" /> - </outputs> - - <help> + <param name="percent" type="integer" value="90"> + <label>Percent of bases in sequence that must have quality equal to / higher than cut-off value</label> + </param> + </inputs> + <outputs> + <data format_source="input" name="output" metadata_source="input" /> + </outputs> + <tests> + <test> + <!-- Test1: 100% of bases with quality 33 or higher (pretty steep requirement...) --> + <param name="input" value="fastq_qual_filter1.fastq" ftype="fastqsolexa" /> + <param name="quality" value="33"/> + <param name="percent" value="100"/> + <output name="output" ftype="fastqsolexa" file="fastq_qual_filter1a.out" /> + </test> + <test> + <!-- Test2: 80% of bases with quality 20 or higher --> + <param name="input" value="fastq_qual_filter1.fastq" ftype="fastqsolexa"/> + <param name="quality" value="20"/> + <param name="percent" value="80"/> + <output name="output" ftype="fastqsolexa" file="fastq_qual_filter1b.out" /> + </test> + </tests> + <help> **What it does** This tool filters reads based on quality scores. @@ -77,7 +77,7 @@ This tool is based on `FASTX-toolkit`__ by Assaf Gordon. - .. __: http://hannonlab.cshl.edu/fastx_toolkit/ - </help> + .. __: http://hannonlab.cshl.edu/fastx_toolkit/ + </help> <!-- FASTQ-Quality-Filter is part of the FASTX-toolkit, by A.Gordon (gordon@cshl.edu) --> </tool>
--- a/tool_dependencies.xml Tue Nov 26 12:44:47 2013 -0500 +++ b/tool_dependencies.xml Tue Oct 13 12:39:56 2015 -0400 @@ -1,6 +1,6 @@ <?xml version="1.0"?> <tool_dependency> <package name="fastx_toolkit" version="0.0.13"> - <repository changeset_revision="1cd326991d32" name="package_fastx_toolkit_0_0_13" owner="devteam" toolshed="http://testtoolshed.g2.bx.psu.edu" /> + <repository changeset_revision="e76e81b3eccf" name="package_fastx_toolkit_0_0_13" owner="devteam" toolshed="https://testtoolshed.g2.bx.psu.edu" /> </package> </tool_dependency>