view qiime2/qiime_deblur_denoise-other.xml @ 9:f190567fe3f6 draft

Uploaded
author florianbegusch
date Wed, 14 Aug 2019 15:12:48 -0400
parents de4c22a52df4
children a0a8d77a991c
line wrap: on
line source

<?xml version="1.0" ?>
<tool id="qiime_deblur_denoise-other" name="qiime deblur denoise-other" version="2019.7">
	<description> - Deblur sequences using a user-specified positive filter.</description>
	<requirements>
		<requirement type="package" version="2019.7">qiime2</requirement>
	</requirements>
	<command><![CDATA[
qiime deblur denoise-other

--i-demultiplexed-seqs=$idemultiplexedseqs
--i-reference-seqs=$ireferenceseqs

#if str($ptrimlength):
 --p-trim-length="$ptrimlength"
#end if

#if str($plefttrimlen):
 --p-left-trim-len=$plefttrimlen
#end if

#if str($psamplestats):
 --p-sample-stats
#end if

#if str($pmeanerror):
 --p-mean-error=$pmeanerror
#end if

#if str($pindelprob):
 --p-indel-prob=$pindelprob
#end if

#if str($pindelmax):
 --p-indel-max=$pindelmax
#end if

#if str($pminreads):
 --p-min-reads=$pminreads
#end if

#if str($pminsize):
 --p-min-size=$pminsize
#end if

#set $pjobstostart = '${GALAXY_SLOTS:-4}'

#if str($pjobstostart):
 --p-jobs-to-start="$pjobstostart"
#end if


#if str($pnohashedfeatureids):
 --p-no-hashed-feature-ids
#end if

--o-table=otable
--o-representative-sequences=orepresentativesequences
--o-stats=ostats
;
cp otable.qza $otable;
cp orepresentativesequences.qza $orepresentativesequences;
cp ostats.qza $ostats
	]]></command>
	<inputs>
		<param format="qza,no_unzip.zip" label="--i-demultiplexed-seqs: ARTIFACT SampleData[SequencesWithQuality | PairedEndSequencesWithQuality | JoinedSequencesWithQuality] The demultiplexed sequences to be denoised. [required]" name="idemultiplexedseqs" optional="False" type="data"/>
		<param format="qza,no_unzip.zip" label="--i-reference-seqs: ARTIFACT FeatureData[Sequence] Positive filtering database. Keep all sequences aligning to these sequences.               [required]" name="ireferenceseqs" optional="False" type="data"/>
		<param label="--p-trim-length: INTEGER Sequence trim length, specify -1 to disable trimming.                                  [required]" name="ptrimlength" optional="False" value="" type="integer"/>
		<param label="--p-left-trim-len: INTEGER Range(0, None)       Sequence trimming from the 5' end. A value of 0 will disable this trim.                       [default: 0]" name="plefttrimlen" optional="True" type="integer" min="0" value="0"/>
		<param label="--p-sample-stats: --p-no-sample-stats If true, gather stats per sample.    [default: False]" name="psamplestats" selected="False" type="boolean"/>
		<param label="--p-mean-error: NUMBER  The mean per nucleotide error, used for original sequence estimate.                   [default: 0.005]" name="pmeanerror" optional="True" type="float" value="0.005"/>
		<param label="--p-indel-prob: NUMBER  Insertion/deletion (indel) probability (same for N indels).                              [default: 0.01]" name="pindelprob" optional="True" type="float" value="0.01"/>
		<param label="--p-indel-max: INTEGER  Maximum number of insertion/deletions.   [default: 3]" name="pindelmax" optional="True" type="integer" value="3"/>
		<param label="--p-min-reads: INTEGER  Retain only features appearing at least min-reads times across all samples in the resulting feature table.                                  [default: 10]" name="pminreads" optional="True" type="integer" value="10"/>
		<param label="--p-min-size: INTEGER   In each sample, discard all features with an abundance less than min-size.            [default: 2]" name="pminsize" optional="True" type="integer" value="2"/>
		<param label="--p-no-hashed-feature-ids: If false, hash the feature IDs.        [default: False]" name="pnohashedfeatureids" selected="False" type="boolean"/>
	</inputs>
	<outputs>
		<data format="qza" label="${tool.name} on ${on_string}: table.qza" name="otable"/>
		<data format="qza" label="${tool.name} on ${on_string}: representativesequences.qza" name="orepresentativesequences"/>
		<data format="qza" label="${tool.name} on ${on_string}: stats.qza" name="ostats"/>
	</outputs>
	<help><![CDATA[
Deblur sequences using a user-specified positive filter.
########################################################

Perform sequence quality control for Illumina data using the Deblur
workflow, including positive alignment-based filtering. Only forward reads
are supported at this time. This mode of execution is particularly useful
when operating on non-16S data. For example, to apply Deblur to 18S data,
you would want to specify a reference composed of 18S sequences in order to
filter out sequences which do not appear to be 18S. The assessment is
performed by local alignment using SortMeRNA with a permissive e-value
threshold.

Parameters
----------
demultiplexed_seqs : SampleData[SequencesWithQuality | PairedEndSequencesWithQuality | JoinedSequencesWithQuality]
    The demultiplexed sequences to be denoised.
reference_seqs : FeatureData[Sequence]
    Positive filtering database. Keep all sequences aligning to these
    sequences.
trim_length : Int
    Sequence trim length, specify -1 to disable trimming.
left_trim_len : Int % Range(0, None), optional
    Sequence trimming from the 5' end. A value of 0 will disable this trim.
sample_stats : Bool, optional
    If true, gather stats per sample.
mean_error : Float, optional
    The mean per nucleotide error, used for original sequence estimate.
indel_prob : Float, optional
    Insertion/deletion (indel) probability (same for N indels).
indel_max : Int, optional
    Maximum number of insertion/deletions.
min_reads : Int, optional
    Retain only features appearing at least min_reads times across all
    samples in the resulting feature table.
min_size : Int, optional
    In each sample, discard all features with an abundance less than
    min_size.
hashed_feature_ids : Bool, optional
    If true, hash the feature IDs.

Returns
-------
table : FeatureTable[Frequency]
    The resulting denoised feature table.
representative_sequences : FeatureData[Sequence]
    The resulting feature sequences.
stats : DeblurStats
    Per-sample stats if requested.
	]]></help>
<macros>
    <import>qiime_citation.xml</import>
</macros>
<expand macro="qiime_citation"/>
</tool>