Mercurial > repos > florianbegusch > qiime2_suite
comparison qiime2/qiime_diversity_adonis.xml @ 4:914fa4daf16a draft
Fixes
author | florianbegusch |
---|---|
date | Wed, 31 Jul 2019 03:06:00 -0400 |
parents | 51025741f326 |
children | de4c22a52df4 |
comparison
equal
deleted
inserted
replaced
3:558645416841 | 4:914fa4daf16a |
---|---|
12 | 12 |
13 #if $input_files_mmetadatafile: | 13 #if $input_files_mmetadatafile: |
14 #def list_dict_to_string(list_dict): | 14 #def list_dict_to_string(list_dict): |
15 #set $file_list = list_dict[0]['additional_input'].__getattr__('file_name') | 15 #set $file_list = list_dict[0]['additional_input'].__getattr__('file_name') |
16 #for d in list_dict[1:]: | 16 #for d in list_dict[1:]: |
17 #set $file_list = $file_list + ',' + d['additional_input'].__getattr__('file_name') | 17 #set $file_list = $file_list + ' --m-metadata-file=' + d['additional_input'].__getattr__('file_name') |
18 #end for | 18 #end for |
19 #return $file_list | 19 #return $file_list |
20 #end def | 20 #end def |
21 --m-metadata-file=$list_dict_to_string("$input_files_mmetadatafile") | 21 --m-metadata-file=$list_dict_to_string($input_files_mmetadatafile) |
22 #end if | 22 #end if |
23 | 23 |
24 | 24 |
25 | |
26 #if '__sq__' in str($pformula): | |
27 #set $pformula_temp = $pformula.replace('__sq__', "'") | |
28 #set $pformula = $pformula_temp | |
29 #end if | |
30 | |
25 --p-formula="$pformula" | 31 --p-formula="$pformula" |
32 | |
33 | |
26 | 34 |
27 #if $ppermutations: | 35 #if $ppermutations: |
28 --p-permutations=$ppermutations | 36 --p-permutations=$ppermutations |
29 #end if | 37 #end if |
30 | 38 |
42 <inputs> | 50 <inputs> |
43 <param format="qza,no_unzip.zip" label="--i-distance-matrix: ARTIFACT DistanceMatrix Matrix of distances between pairs of samples. [required]" name="idistancematrix" optional="False" type="data"/> | 51 <param format="qza,no_unzip.zip" label="--i-distance-matrix: ARTIFACT DistanceMatrix Matrix of distances between pairs of samples. [required]" name="idistancematrix" optional="False" type="data"/> |
44 <param label="--p-formula: TEXT Model formula containing only independent terms contained in the sample metadata. These can be continuous variables or factors, and they can have interactions as in a typical R formula. E.g., the formula 'treatment+block' would test whether the input distance matrix partitions based on 'treatment' and 'block' sample metadata. The formula 'treatment*block' would test both of those effects as well as their interaction. Enclose formulae in quotes to avoid unpleasant surprises. [required]" name="pformula" optional="False" type="text"/> | 52 <param label="--p-formula: TEXT Model formula containing only independent terms contained in the sample metadata. These can be continuous variables or factors, and they can have interactions as in a typical R formula. E.g., the formula 'treatment+block' would test whether the input distance matrix partitions based on 'treatment' and 'block' sample metadata. The formula 'treatment*block' would test both of those effects as well as their interaction. Enclose formulae in quotes to avoid unpleasant surprises. [required]" name="pformula" optional="False" type="text"/> |
45 <param label="--p-permutations: INTEGER Range(1, None) The number of permutations to be run when computing p-values. [default: 999]" name="ppermutations" optional="True" min="1" type="integer" value="999"/> | 53 <param label="--p-permutations: INTEGER Range(1, None) The number of permutations to be run when computing p-values. [default: 999]" name="ppermutations" optional="True" min="1" type="integer" value="999"/> |
46 | 54 |
47 <repeat name="input_files_mmetadatafile" optional="False" title="--m-metadata-file"> | 55 <repeat name="input_files_mmetadatafile" optional="False" title="--m-metadata-file [required]"> |
48 <param format="tabular" label="--m-metadata-file: Metadata file or artifact viewable as metadata. This option may be supplied multiple times to merge metadata. [required]" name="additional_input" type="data"/> | 56 <param format="tabular" label="--m-metadata-file: Metadata file or artifact viewable as metadata. This option may be supplied multiple times to merge metadata. [required]" name="additional_input" type="data"/> |
49 </repeat> | 57 </repeat> |
50 </inputs> | 58 </inputs> |
51 <outputs> | 59 <outputs> |
52 <data format="html" label="${tool.name} on ${on_string}: visualization.qzv" name="ovisualization"/> | 60 <data format="html" label="${tool.name} on ${on_string}: visualization.qzv" name="ovisualization"/> |