annotate qiime2/qiime_demux_emp-paired.xml @ 29:3ba9833030c1 draft

Uploaded
author florianbegusch
date Fri, 04 Sep 2020 13:12:49 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
29
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
1 <?xml version="1.0" ?>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
2 <tool id="qiime_demux_emp-paired" name="qiime demux emp-paired"
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
3 version="2020.8">
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
4 <description>Demultiplex paired-end sequence data generated with the EMP protocol.</description>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
5 <requirements>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
6 <requirement type="package" version="2020.8">qiime2</requirement>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
7 </requirements>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
8 <command><![CDATA[
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
9 qiime demux emp-paired
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
10
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
11 --i-seqs=$iseqs
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
12 # if $input_files_mbarcodesfile:
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
13 # def list_dict_to_string(list_dict):
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
14 # set $file_list = list_dict[0]['additional_input'].__getattr__('file_name')
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
15 # for d in list_dict[1:]:
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
16 # set $file_list = $file_list + ' --m-barcodes-file=' + d['additional_input'].__getattr__('file_name')
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
17 # end for
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
18 # return $file_list
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
19 # end def
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
20 --m-barcodes-file=$list_dict_to_string($input_files_mbarcodesfile)
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
21 # end if
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
22
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
23 #if '__ob__' in str($mbarcodescolumn):
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
24 #set $mbarcodescolumn_temp = $mbarcodescolumn.replace('__ob__', '[')
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
25 #set $mbarcodescolumn = $mbarcodescolumn_temp
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
26 #end if
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
27 #if '__cb__' in str($mbarcodescolumn):
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
28 #set $mbarcodescolumn_temp = $mbarcodescolumn.replace('__cb__', ']')
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
29 #set $mbarcodescolumn = $mbarcodescolumn_temp
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
30 #end if
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
31 #if 'X' in str($mbarcodescolumn):
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
32 #set $mbarcodescolumn_temp = $mbarcodescolumn.replace('X', '\\')
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
33 #set $mbarcodescolumn = $mbarcodescolumn_temp
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
34 #end if
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
35 #if '__sq__' in str($mbarcodescolumn):
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
36 #set $mbarcodescolumn_temp = $mbarcodescolumn.replace('__sq__', "'")
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
37 #set $mbarcodescolumn = $mbarcodescolumn_temp
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
38 #end if
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
39 #if '__db__' in str($mbarcodescolumn):
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
40 #set $mbarcodescolumn_temp = $mbarcodescolumn.replace('__db__', '"')
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
41 #set $mbarcodescolumn = $mbarcodescolumn_temp
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
42 #end if
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
43
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
44 --m-barcodes-column=$mbarcodescolumn
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
45
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
46
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
47 #if $pnogolayerrorcorrection:
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
48 --p-no-golay-error-correction
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
49 #end if
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
50
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
51 #if $prevcompbarcodes:
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
52 --p-rev-comp-barcodes
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
53 #end if
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
54
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
55 #if $prevcompmappingbarcodes:
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
56 --p-rev-comp-mapping-barcodes
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
57 #end if
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
58
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
59 --o-per-sample-sequences=opersamplesequences
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
60
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
61 --o-error-correction-details=oerrorcorrectiondetails
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
62
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
63 #if str($examples) != 'None':
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
64 --examples=$examples
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
65 #end if
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
66
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
67 ;
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
68 cp oerrorcorrectiondetails.qza $oerrorcorrectiondetails
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
69
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
70 ]]></command>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
71 <inputs>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
72 <param format="qza,no_unzip.zip" label="--i-seqs: ARTIFACT EMPPairedEndSequences The paired-end sequences to be demultiplexed. [required]" name="iseqs" optional="False" type="data" />
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
73 <repeat name="input_files_mbarcodesfile" optional="True" title="--m-barcodes-file">
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
74 <param format="tabular,qza,no_unzip.zip" label="--m-barcodes-file: METADATA" name="additional_input" optional="True" type="data" />
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
75 </repeat>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
76 <param label="--m-barcodes-column: COLUMN MetadataColumn[Categorical] The sample metadata column containing the per-sample barcodes. [required]" name="mbarcodescolumn" optional="False" type="text" />
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
77 <param label="--p-no-golay-error-correction: Do not perform 12nt Golay error correction on the barcode reads. [default: True]" name="pnogolayerrorcorrection" selected="False" type="boolean" />
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
78 <param format="tabular,qza,no_unzip.zip" label="--p-rev-comp-barcodes: --p-rev-comp-barcodes: / --p-no-rev-comp-barcodes If provided, the barcode sequence reads will be reverse complemented prior to demultiplexing. [default: False]" name="prevcompbarcodes" selected="False" type="boolean" />
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
79 <param format="tabular,qza,no_unzip.zip" label="--p-rev-comp-mapping-barcodes: --p-rev-comp-mapping-barcodes: / --p-no-rev-comp-mapping-barcodes If provided, the barcode sequences in the sample metadata will be reverse complemented prior to demultiplexing. [default: False]" name="prevcompmappingbarcodes" selected="False" type="boolean" />
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
80 <param label="--examples: Show usage examples and exit." name="examples" optional="False" type="data" />
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
81
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
82 </inputs>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
83
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
84 <outputs>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
85 <data format="qza" label="${tool.name} on ${on_string}: persamplesequences.qza" name="opersamplesequences" />
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
86 <data format="qza" label="${tool.name} on ${on_string}: errorcorrectiondetails.qza" name="oerrorcorrectiondetails" />
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
87
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
88 </outputs>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
89
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
90 <help><![CDATA[
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
91 Demultiplex paired-end sequence data generated with the EMP protocol.
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
92 ###############################################################
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
93
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
94 Demultiplex paired-end sequence data (i.e., map barcode reads to sample
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
95 ids) for data generated with the Earth Microbiome Project (EMP) amplicon
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
96 sequencing protocol. Details about this protocol can be found at
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
97 http://www.earthmicrobiome.org/protocols-and-standards/
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
98
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
99 Parameters
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
100 ----------
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
101 seqs : EMPPairedEndSequences
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
102 The paired-end sequences to be demultiplexed.
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
103 barcodes : MetadataColumn[Categorical]
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
104 The sample metadata column containing the per-sample barcodes.
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
105 golay_error_correction : Bool, optional
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
106 Perform 12nt Golay error correction on the barcode reads.
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
107 rev_comp_barcodes : Bool, optional
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
108 If provided, the barcode sequence reads will be reverse complemented
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
109 prior to demultiplexing.
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
110 rev_comp_mapping_barcodes : Bool, optional
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
111 If provided, the barcode sequences in the sample metadata will be
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
112 reverse complemented prior to demultiplexing.
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
113
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
114 Returns
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
115 -------
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
116 per_sample_sequences : SampleData[PairedEndSequencesWithQuality]
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
117 The resulting demultiplexed sequences.
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
118 error_correction_details : ErrorCorrectionDetails
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
119 Detail about the barcode error corrections.
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
120 ]]></help>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
121 <macros>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
122 <import>qiime_citation.xml</import>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
123 </macros>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
124 <expand macro="qiime_citation"/>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
125 </tool>