Mercurial > repos > florianbegusch > qiime2_wrappers
comparison qiime2/qiime_cutadapt_demux-single.xml @ 4:71f124e02000 draft default tip
Fixes
author | florianbegusch |
---|---|
date | Tue, 13 Aug 2019 07:40:25 -0400 |
parents | 149432539226 |
children |
comparison
equal
deleted
inserted
replaced
3:eda5df31da55 | 4:71f124e02000 |
---|---|
6 </requirements> | 6 </requirements> |
7 <command><![CDATA[ | 7 <command><![CDATA[ |
8 qiime cutadapt demux-single | 8 qiime cutadapt demux-single |
9 | 9 |
10 --i-seqs=$iseqs | 10 --i-seqs=$iseqs |
11 | |
12 | |
13 | |
14 #if '__sq__' in str($mbarcodescolumn): | |
15 #set $mbarcodescolumn_temp = $mbarcodescolumn.replace('__sq__', "'") | |
16 #set $mbarcodescolumn = $mbarcodescolumn_temp | |
17 #end if | |
18 | |
11 --m-barcodes-column="$mbarcodescolumn" | 19 --m-barcodes-column="$mbarcodescolumn" |
20 | |
21 | |
12 --o-per-sample-sequences=opersamplesequences | 22 --o-per-sample-sequences=opersamplesequences |
13 --o-untrimmed-sequences=ountrimmedsequences | 23 --o-untrimmed-sequences=ountrimmedsequences |
14 | 24 |
25 | |
26 | |
27 | |
28 | |
29 | |
30 #if $input_files_mbarcodesfile: | |
15 #def list_dict_to_string(list_dict): | 31 #def list_dict_to_string(list_dict): |
16 #set $file_list = list_dict[0]['additional_input'].__getattr__('file_name') | 32 #set $file_list = list_dict[0]['additional_input'].__getattr__('file_name') |
17 #for d in list_dict[1:]: | 33 #for d in list_dict[1:]: |
18 #set $file_list = $file_list + ',' + d['additional_input'].__getattr__('file_name') | 34 #set $file_list = $file_list + ',' + d['additional_input'].__getattr__('file_name') |
19 #end for | 35 #end for |
20 #return $file_list | 36 #return $file_list |
21 #end def | 37 #end def |
38 --m-barcodes-file=$list_dict_to_string($input_files_mbarcodesfile) | |
39 #end if | |
22 | 40 |
23 --m-barcodes-file=$list_dict_to_string("$input_files_mbarcodesfile") | |
24 | 41 |
25 #if $perrorrate: | 42 #if $perrorrate: |
26 --p-error-rate=$perrorrate | 43 --p-error-rate=$perrorrate |
27 #end if | 44 #end if |
28 | 45 |
31 cp opersamplesequences.qza $opersamplesequences; | 48 cp opersamplesequences.qza $opersamplesequences; |
32 cp ountrimmedsequences.qza $ountrimmedsequences | 49 cp ountrimmedsequences.qza $ountrimmedsequences |
33 ]]></command> | 50 ]]></command> |
34 <inputs> | 51 <inputs> |
35 <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"/> | 52 <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"/> |
36 <repeat name="$input_files_mbarcodesfile" optional="False" title="--m-barcodes-file"> | 53 <repeat name="input_files_mbarcodesfile" optional="False" title="--m-barcodes-file"> |
37 <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" /> | 54 <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" /> |
38 </repeat> | 55 </repeat> |
39 <param label="--m-barcodes-column: COLUMN MetadataColumn[Categorical] The sample metadata column listing the per-sample barcodes. [required]" name="mbarcodescolumn" optional="False" type="text"/> | 56 <param label="--m-barcodes-column: COLUMN MetadataColumn[Categorical] The sample metadata column listing the per-sample barcodes. [required]" name="mbarcodescolumn" optional="False" type="text"/> |
40 <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"/> | 57 <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"/> |
41 </inputs> | 58 </inputs> |