annotate qiime2/qiime_demux_summarize.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_summarize" name="qiime demux summarize"
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
3 version="2020.8">
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
4 <description>Summarize counts per sample.</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 summarize
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
10 # if $input_files_idata:
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
11 # def list_dict_to_string(list_dict):
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
12 # set $file_list = list_dict[0]['additional_input'].__getattr__('file_name')
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
13 # for d in list_dict[1:]:
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
14 # set $file_list = $file_list + ' --i-data=' + d['additional_input'].__getattr__('file_name')
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
15 # end for
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
16 # return $file_list
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
17 # end def
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
18 --i-data=$list_dict_to_string($input_files_idata)
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
19 # end if
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
20
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
21 --p-n=$pn
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
22
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
23 --o-visualization=ovisualization
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
24
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
25 #if str($examples) != 'None':
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
26 --examples=$examples
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
27 #end if
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
28
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
29 ;
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
30 cp osubsampledsequences.qza $osubsampledsequences
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
31
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
32 ;
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
33 qiime tools export ovisualization.qzv --output-path out
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
34 && mkdir -p '$ovisualization.files_path'
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
35 && cp -r out/* '$ovisualization.files_path'
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
36 && mv '$ovisualization.files_path/index.html' '$ovisualization'
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
37
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
38 ]]></command>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
39 <inputs>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
40 <repeat name="input_files_idata" optional="False" title="--i-data">
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
41 <param format="qza,no_unzip.zip" label="--i-data: ARTIFACT SampleData[SequencesWithQuality | PairedEndSequencesWithQuality | JoinedSequencesWithQuality] The demultiplexed sequences to be summarized. [required]" name="additional_input" optional="False" type="data" />
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
42 </repeat>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
43 <param label="--p-n: INTEGER The number of sequences that should be selected at random for quality score plots. The quality plots will present the average positional qualities across all of the sequences selected. If input sequences are paired end, plots will be generated for both forward and reverse reads for the same `n` sequences. [default: 10000]" name="pn" optional="True" type="integer" value="10000" />
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
44 <param label="--examples: Show usage examples and exit." name="examples" optional="False" type="data" />
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
45
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
46 </inputs>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
47
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
48 <outputs>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
49 <data format="html" label="${tool.name} on ${on_string}: visualization.html" name="ovisualization" />
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
50
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
51 </outputs>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
52
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
53 <help><![CDATA[
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
54 Summarize counts per sample.
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
55 ###############################################################
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
56
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
57 Summarize counts per sample for all samples, and generate interactive
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
58 positional quality plots based on `n` randomly selected sequences.
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
59
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
60 Parameters
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
61 ----------
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
62 data : SampleData[SequencesWithQuality | PairedEndSequencesWithQuality | JoinedSequencesWithQuality]
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
63 The demultiplexed sequences to be summarized.
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
64 n : Int, optional
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
65 The number of sequences that should be selected at random for quality
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
66 score plots. The quality plots will present the average positional
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
67 qualities across all of the sequences selected. If input sequences are
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
68 paired end, plots will be generated for both forward and reverse reads
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
69 for the same `n` sequences.
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
70
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
71 Returns
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
72 -------
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
73 visualization : Visualization
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
74 ]]></help>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
75 <macros>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
76 <import>qiime_citation.xml</import>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
77 </macros>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
78 <expand macro="qiime_citation"/>
3ba9833030c1 Uploaded
florianbegusch
parents:
diff changeset
79 </tool>