0
|
1 <?xml version="1.0" ?>
|
|
2 <tool id="qiime_cutadapt_demux-single" name="qiime cutadapt demux-single" version="2019.4">
|
|
3 <description> - Demultiplex single-end sequence data with barcodes in- sequence.</description>
|
|
4 <requirements>
|
|
5 <requirement type="package" version="2019.4">qiime2</requirement>
|
|
6 </requirements>
|
|
7 <command><![CDATA[
|
|
8 qiime cutadapt demux-single
|
|
9
|
|
10 --i-seqs=$iseqs
|
|
11 --m-barcodes-column="$mbarcodescolumn"
|
|
12 --o-per-sample-sequences=opersamplesequences
|
|
13 --o-untrimmed-sequences=ountrimmedsequences
|
|
14
|
2
|
15
|
|
16 #if $input_files_mbarcodesfile:
|
0
|
17 #def list_dict_to_string(list_dict):
|
|
18 #set $file_list = list_dict[0]['additional_input'].__getattr__('file_name')
|
|
19 #for d in list_dict[1:]:
|
|
20 #set $file_list = $file_list + ',' + d['additional_input'].__getattr__('file_name')
|
|
21 #end for
|
|
22 #return $file_list
|
|
23 #end def
|
|
24 --m-barcodes-file=$list_dict_to_string("$input_files_mbarcodesfile")
|
2
|
25 #end if
|
0
|
26
|
|
27 #if $perrorrate:
|
|
28 --p-error-rate=$perrorrate
|
|
29 #end if
|
|
30
|
|
31 ;
|
|
32
|
|
33 cp opersamplesequences.qza $opersamplesequences;
|
|
34 cp ountrimmedsequences.qza $ountrimmedsequences
|
|
35 ]]></command>
|
|
36 <inputs>
|
|
37 <param format="qza,no_unzip.zip" label="--i-seqs: ARTIFACT MultiplexedSingleEndBarcodeInSequence The single-end sequences to be demultiplexed. [required]" name="iseqs" optional="False" type="data"/>
|
|
38 <repeat name="$input_files_mbarcodesfile" optional="False" title="--m-barcodes-file">
|
|
39 <param label="--m-barcodes-file: Metadata file or artifact viewable as metadata. This option may be supplied multiple times to merge metadata. [required]" name="additional_input" type="data" format="tabular,qza,no_unzip.zip" />
|
|
40 </repeat>
|
|
41 <param label="--m-barcodes-column: COLUMN MetadataColumn[Categorical] The sample metadata column listing the per-sample barcodes. [required]" name="mbarcodescolumn" optional="False" type="text"/>
|
|
42 <param label="--p-error-rate: PROPORTION Range(0, 1, inclusive_end=True) The level of error tolerance, specified as the maximum allowable error rate. The default value specified by cutadapt is 0.1 (=10%), which is greater than `demux emp-*`, which is 0.0 (=0%). [default: 0.1]" name="perrorrate" optional="True" type="float" min="0" max="1" exclude_max="False" value="0.1"/>
|
|
43 </inputs>
|
|
44 <outputs>
|
|
45 <data format="qza" label="${tool.name} on ${on_string}: persamplesequences.qza" name="opersamplesequences"/>
|
|
46 <data format="qza" label="${tool.name} on ${on_string}: untrimmedsequences.qza" name="ountrimmedsequences"/>
|
|
47 </outputs>
|
|
48 <help><![CDATA[
|
|
49 Demultiplex single-end sequence data with barcodes in-sequence.
|
|
50 ###############################################################
|
|
51
|
|
52 Demultiplex sequence data (i.e., map barcode reads to sample ids). Barcodes
|
|
53 are expected to be located within the sequence data (versus the header, or
|
|
54 a separate barcode file).
|
|
55
|
|
56 Parameters
|
|
57 ----------
|
|
58 seqs : MultiplexedSingleEndBarcodeInSequence
|
|
59 The single-end sequences to be demultiplexed.
|
|
60 barcodes : MetadataColumn[Categorical]
|
|
61 The sample metadata column listing the per-sample barcodes.
|
|
62 error_rate : Float % Range(0, 1, inclusive_end=True), optional
|
|
63 The level of error tolerance, specified as the maximum allowable error
|
|
64 rate. The default value specified by cutadapt is 0.1 (=10%), which is
|
|
65 greater than `demux emp-*`, which is 0.0 (=0%).
|
|
66
|
|
67 Returns
|
|
68 -------
|
|
69 per_sample_sequences : SampleData[SequencesWithQuality]
|
|
70 The resulting demultiplexed sequences.
|
|
71 untrimmed_sequences : MultiplexedSingleEndBarcodeInSequence
|
|
72 The sequences that were unmatched to barcodes.
|
|
73 ]]></help>
|
|
74 <macros>
|
|
75 <import>qiime_citation.xml</import>
|
|
76 </macros>
|
|
77 <expand macro="qiime_citation"/>
|
|
78 </tool>
|