view qiime2/qiime_feature-classifier_extract-reads.xml @ 0:370e0b6e9826 draft

Uploaded
author florianbegusch
date Wed, 17 Jul 2019 03:05:17 -0400
parents
children 914fa4daf16a
line wrap: on
line source

<?xml version="1.0" ?>
<tool id="qiime_feature-classifier_extract-reads" name="qiime feature-classifier extract-reads" version="2019.4">
	<description> - Extract reads from reference</description>
	<requirements>
		<requirement type="package" version="2019.4">qiime2</requirement>
	</requirements>
	<command><![CDATA[
qiime feature-classifier extract-reads

--i-sequences=$isequences
--p-f-primer="$pfprimer"
--p-r-primer="$prprimer"

#if $ptrunclen:
 --p-trunc-len=$ptrunclen
#end if

#if $ptrimleft:
 --p-trim-left=$ptrimleft
#end if

#if $pidentity:
 --p-identity=$pidentity
#end if

#if $pminlength:
 --p-min-length=$pminlength
#end if

#if $pmaxlength:
 --p-max-length=$pmaxlength
#end if

--o-reads=oreads
;
cp oreads.qza $oreads
	]]></command>
	<inputs>
		<param format="qza,no_unzip.zip" label="--i-sequences: ARTIFACT FeatureData[Sequence] [required]" name="isequences" optional="False" type="data"/>
		<param label="--p-f-primer: TEXT       forward primer sequence                   [required]" name="pfprimer" optional="False" type="text"/>
		<param label="--p-r-primer: TEXT       reverse primer sequence                   [required]" name="prprimer" optional="False" type="text"/>
		<param label="--p-trunc-len: INTEGER   read is cut to trunc-len if trunc-len is positive. Applied before trim-left.               [default: 0]" name="ptrunclen" optional="True" type="integer" value="0"/>
		<param label="--p-trim-left: INTEGER   trim-left nucleotides are removed from the 5' end if trim-left is positive. Applied after trunc-len. [default: 0]" name="ptrimleft" optional="True" type="integer" value="0"/>
		<param label="--p-identity: NUMBER     minimum combined primer match identity threshold. [default: 0.8]" name="pidentity" optional="True" type="float" value="0.8"/>
		<param label="--p-min-length: INTEGER  Minimum amplicon length. Shorter amplicons are Range(0, None)        discarded. Applied after trimming and truncation, so be aware that trimming may impact sequence retention. Set to zero to disable min length filtering.                             [default: 50]" name="pminlength" optional="True" type="integer" min="0" value="50"/>
		<param label="--p-max-length: INTEGER  Maximum amplicon length. Longer amplicons are Range(0, None)        discarded. Applied before trimming and truncation, so plan accordingly. Set to zero (default) to disable max length filtering.           [default: 0]" name="pmaxlength" optional="True" type="integer" min="0" value="0"/>
	</inputs>
	<outputs>
		<data format="qza" label="${tool.name} on ${on_string}: reads.qza" name="oreads"/>
	</outputs>
	<help><![CDATA[
Extract reads from reference
############################

Extract sequencing-like reads from a reference database.

Parameters
----------
sequences : FeatureData[Sequence]
	\

f_primer : Str
    forward primer sequence
r_primer : Str
    reverse primer sequence
trunc_len : Int, optional
    read is cut to trunc_len if trunc_len is positive. Applied before
    trim_left.
trim_left : Int, optional
    trim_left nucleotides are removed from the 5' end if trim_left is
    positive. Applied after trunc_len.
identity : Float, optional
    minimum combined primer match identity threshold.
min_length : Int % Range(0, None), optional
    Minimum amplicon length. Shorter amplicons are discarded. Applied after
    trimming and truncation, so be aware that trimming may impact sequence
    retention. Set to zero to disable min length filtering.
max_length : Int % Range(0, None), optional
    Maximum amplicon length. Longer amplicons are discarded. Applied before
    trimming and truncation, so plan accordingly. Set to zero (default) to
    disable max length filtering.

Returns
-------
reads : FeatureData[Sequence]
	]]></help>
<macros>
    <import>qiime_citation.xml</import>
</macros>
<expand macro="qiime_citation"/>
</tool>