annotate qiime_demux_emp-single.xml @ 1:f2028d8efed6 draft default tip

Add tool_data_table_conf.xml.sample
author florianbegusch
date Thu, 24 May 2018 03:40:50 -0400
parents 09b7bcb72fa7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
1 <?xml version="1.0" ?>
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
2 <tool id="qiime_demux_emp-single" name="qiime demux emp-single" version="2018.4">
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
3 <description>- Demultiplex sequence data generated with the EMP protocol.</description>
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
4 <requirements>
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
5 <requirement type="package" version="2018.4">qiime2</requirement>
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
6 </requirements>
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
7 <command><![CDATA[
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
8 qiime demux emp-single --m-barcodes-column="$mbarcodescolumn" --i-seqs=$iseqs
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
9
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
10 #def list_dict_to_string(list_dict):
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
11 #set $file_list = list_dict[0]['additional_input'].__getattr__('file_name')
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
12 #for d in list_dict[1:]:
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
13 #set $file_list = $file_list + ',' + d['additional_input'].__getattr__('file_name')
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
14 #end for
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
15 #return $file_list
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
16 #end def
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
17
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
18 --m-barcodes-file=$list_dict_to_string($input_files_mbarcodesfile) --o-per-sample-sequences=opersamplesequences
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
19
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
20 #if $prevcompbarcodes:
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
21 --p-rev-comp-barcodes
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
22 #else
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
23 --p-no-rev-comp-barcodes
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
24 #end if
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
25
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
26 #if $prevcompmappingbarcodes:
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
27 --p-rev-comp-mapping-barcodes
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
28 #else
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
29 --p-no-rev-comp-mapping-barcodes
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
30 #end if
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
31
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
32 #if str($cmdconfig) != 'None':
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
33 --cmd-config=$cmdconfig
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
34 #end if
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
35 ;
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
36 cp opersamplesequences.qza $opersamplesequences;
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
37 ]]></command>
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
38 <inputs>
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
39 <param format="qza,no_unzip.zip" label="--i-seqs: EMPPairedEndSequences | EMPSingleEndSequences | RawSequences The single-end sequences to be demultiplexed. [required]" name="iseqs" optional="False" type="data"/>
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
40 <repeat name="input_files_mbarcodesfile" optional="False" title="--m-barcodes-file">
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
41 <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"/>
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
42 </repeat>
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
43 <param label="--m-barcodes-column: MetadataColumn[Categorical] Column from metadata file or artifact viewable as metadata. The sample metadata column containing the per-sample barcodes. [required]" name="mbarcodescolumn" optional="False" type="text"/>
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
44 <param label="--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" checked="False" type="boolean"/>
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
45 <param label="--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" checked="False" type="boolean"/>
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
46 <param label="--cmd-config: Use config file for command options" name="cmdconfig" optional="True" type="data"/>
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
47 </inputs>
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
48 <outputs>
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
49 <data format="qza" label="${tool.name} on ${on_string}: per-sample-sequences.qza" name="opersamplesequences"/>
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
50 </outputs>
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
51 <help><![CDATA[
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
52 Demultiplex sequence data generated with the EMP protocol.
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
53 ----------------------------------------------------------
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
54
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
55 Demultiplex sequence data (i.e., map barcode reads to sample ids) for data
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
56 generated with the Earth Microbiome Project (EMP) amplicon sequencing
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
57 protocol. Details about this protocol can be found at
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
58 http://www.earthmicrobiome.org/protocols-and-standards/
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
59
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
60 Parameters
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
61 ----------
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
62 seqs : EMPPairedEndSequences | EMPSingleEndSequences | RawSequences
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
63 The single-end sequences to be demultiplexed.
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
64 barcodes : MetadataColumn[Categorical]
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
65 The sample metadata column containing the per-sample barcodes.
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
66 rev_comp_barcodes : Bool, optional
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
67 If provided, the barcode sequence reads will be reverse complemented
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
68 prior to demultiplexing.
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
69 rev_comp_mapping_barcodes : Bool, optional
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
70 If provided, the barcode sequences in the sample metadata will be
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
71 reverse complemented prior to demultiplexing.
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
72
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
73 Returns
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
74 -------
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
75 per_sample_sequences : SampleData[SequencesWithQuality]
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
76 The resulting demultiplexed sequences.
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
77 ]]>
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
78 </help>
09b7bcb72fa7 Uploaded
florianbegusch
parents:
diff changeset
79 </tool>