comparison make_emperor.xml @ 5:f43da0fd602c draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/qiime/ commit 3b54163c4f7daff76fcc589c4a9057bb03904380
author iuc
date Sat, 05 Aug 2017 07:15:54 -0400
parents 4069d17252b8
children 7c4f58fd8386
comparison
equal deleted inserted replaced
4:afccdac3de29 5:f43da0fd602c
1 <tool id="qiime_make_emperor" name="Create three-dimensional PCoA plots" version="@WRAPPER_VERSION@.0"> 1 <tool id="qiime_make_emperor" name="Create three-dimensional PCoA plots" version="@WRAPPER_VERSION@.0">
2 <description> to be visualized with Emperor</description> 2 <description> to be visualized with Emperor (make_emperor)</description>
3 <macros> 3 <macros>
4 <import>macros.xml</import> 4 <import>macros.xml</import>
5 </macros> 5 </macros>
6 <expand macro="requirements"/> 6 <expand macro="requirements"/>
7 <version_command>make_emperor.py --version</version_command> 7 <version_command>make_emperor.py --version</version_command>
8 <command detect_errors="aggressive"><![CDATA[ 8 <command detect_errors="aggressive"><![CDATA[
9 make_emperor.py 9 make_emperor.py
10 --input_coords '$input_coords' 10 --input_coords '$input_coords'
11 -o make_emperor 11 -o make_emperor
12 --map_fp '$map_fp' 12 --map_fp '$map_fp'
13 --number_of_axes '$number_of_axes' 13 --number_of_axes '$number_of_axes'
14 $add_unique_columns 14 $add_unique_columns
15 #if $add_vectors 15 #if $add_vectors
16 --add_vectors '$add_vectors' 16 --add_vectors '$add_vectors'
17 #end if 17 #end if
18 #if $color_by 18 #if $color_by
19 --color_by '$color_by' 19 --color_by '$color_by'
20 #end if 20 #end if
21 $ignore_missing_samples 21 $ignore_missing_samples
22 #if str( $summarized_taxa_file.summarized_taxa_file_test )=="true": 22 #if str( $summarized_taxa_file.summarized_taxa_file_test )=="true":
23 --n_taxa_to_keep '$summarized_taxa_file.n_taxa_to_keep' 23 --n_taxa_to_keep '$summarized_taxa_file.n_taxa_to_keep'
24 --taxa_fp '$summarized_taxa_file.taxa_fp' 24 --taxa_fp '$summarized_taxa_file.taxa_fp'
25 #end if 25 #end if
26 --number_of_segments '$number_of_segments' 26 --number_of_segments '$number_of_segments'
27 $pct_variation_below_one 27 $pct_variation_below_one
28 #if str( $add_custom_axes.add_custom_axes_test )=="true": 28 #if str( $add_custom_axes.add_custom_axes_test )=="true":
29 --custom_axes '$add_custom_axes.custom_axes' 29 --custom_axes '$add_custom_axes.custom_axes'
30 #if str( add_custom_axes.missing_custom_axes_values): 30 #if str( add_custom_axes.missing_custom_axes_values):
31 --missing_custom_axes_value '$missing_custom_axes_value' 31 --missing_custom_axes_value '$missing_custom_axes_value'
32 #end if 32 #end if
33 #end if 33 #end if
34 34
35 && mkdir -p '$html_report.files_path' 35 && mkdir -p '$html_report.files_path'
36 && cp -r make_emperor/* '$html_report.files_path' 36 && cp -r make_emperor/* '$html_report.files_path'
37 && mv '$html_report.files_path/index.html' '$html_report' 37 && mv '$html_report.files_path/index.html' '$html_report'
38 ]]></command> 38 ]]></command>
39 <inputs> 39 <inputs>
40 <param argument="--input_coords" type="data" format="txt" label="Filepath of a coordinates file to create a PCoA plot"/> 40 <param argument="--input_coords" type="data" format="txt" label="Filepath of a coordinates file to create a PCoA plot"/>
41 <param argument="--map_fp" type="data" format="tabular,txt,tsv" label="Mapping file" /> 41 <param argument="--map_fp" type="data" format="tabular,txt,tsv" label="Mapping file" />
42 <param argument="--number_of_axes" type="integer" value="10" label="Number of axes to be incorporated in the plot" help="Only 3 will be displayed at any given time but this option modifies how many axes you can use for your visualization. Note that Emperor will only use the axes that explain more than 0.5% (this will be shown as 1% in the GUI) of the variability"/> 42 <param argument="--number_of_axes" type="integer" value="10" label="Number of axes to be incorporated in the plot" help="Only 3 will be displayed at any given time but this option modifies how many axes you can use for your visualization. Note that Emperor will only use the axes that explain more than 0.5% (this will be shown as 1% in the GUI) of the variability"/>
43 <param argument="--add_unique_columns" type="boolean" label="Add to the output categories of the mapping file the columns where all values are different?" truevalue="--add_unique_columns" falsevalue="" checked="false" help="If the result of one of the concatenated fields in --color_by is a column where all values are unique, the resulting column will get removed as well"/> 43 <param argument="--add_unique_columns" type="boolean" label="Add to the output categories of the mapping file the columns where all values are different?" truevalue="--add_unique_columns" falsevalue="" checked="false" help="If the result of one of the concatenated fields in --color_by is a column where all values are unique, the resulting column will get removed as well"/>
44 <param argument="--add_vectors" type="data" format="txt" label="Comma-sparated category(ies) used to add connecting lines (vectors) between samples" help="The first category specifies the samples that will be connected by the vectors, whilst the second category (optionally) determines the order in which the samples will be connected" optional="true"/> 44 <param argument="--add_vectors" type="data" format="txt" optional="true" label="Comma-sparated category(ies) used to add connecting lines (vectors) between samples" help="The first category specifies the samples that will be connected by the vectors, whilst the second category (optionally) determines the order in which the samples will be connected"/>
45 <param argument="--color_by" type="data" format="txt" label="Comma-separated list of metadata categories (column headers) to color by in the plots" help="The categories must match the name of a column header in the mapping file exactly. Multiple categories can be listed by comma separating them without spaces. The user can also combine columns in the mapping file by separating the categories by &amp;&amp; without spaces" optional="true"/> 45 <param argument="--color_by" type="data" format="txt" optional="true" label="Comma-separated list of metadata categories (column headers) to color by in the plots" help="The categories must match the name of a column header in the mapping file exactly. Multiple categories can be listed by comma separating them without spaces. The user can also combine columns in the mapping file by separating the categories by &amp;&amp; without spaces"/>
46 <param argument="--ignore_missing_samples" type="boolean" label="Overpass the error raised when the coordinates file contains samples that are not present in the mapping file?" truevalue="--ignore_missing_samples" falsevalue="" checked="false" help="Be aware that this is very misleading as the PCoA is accounting for all the samples and removing some samples could lead to erroneous/skewed interpretations"/> 46 <param argument="--ignore_missing_samples" type="boolean" truevalue="--ignore_missing_samples" falsevalue="" checked="false" label="Overpass the error raised when the coordinates file contains samples that are not present in the mapping file?" help="Be aware that this is very misleading as the PCoA is accounting for all the samples and removing some samples could lead to erroneous/skewed interpretations"/>
47 <conditional name="summarized_taxa_file"> 47 <conditional name="summarized_taxa_file">
48 <!--TODO: change to select -->
49 <param name="summarized_taxa_file_test" type="select" label="Add a summarized taxa file?"> 48 <param name="summarized_taxa_file_test" type="select" label="Add a summarized taxa file?">
50 <option value="true">Yes</option> 49 <option value="true">Yes</option>
51 <option value="false" selected="true">No</option> 50 <option value="false" selected="true">No</option>
52 </param> 51 </param>
53 <when value="true"> 52 <when value="true">
55 <param argument="--n_taxa_to_keep" type="integer" value="10" label="Number of taxonomic groups to display" help="Passing -1 will cause to display all the taxonomic groups."/> 54 <param argument="--n_taxa_to_keep" type="integer" value="10" label="Number of taxonomic groups to display" help="Passing -1 will cause to display all the taxonomic groups."/>
56 </when> 55 </when>
57 <when value="false"/> 56 <when value="false"/>
58 </conditional> 57 </conditional>
59 <param argument="--number_of_segments" type="integer" value="8" min="4" max="14" label="Number of segments to generate any spheres" help="This includes the samples, the taxa (biplots), and the confidence intervals (jackknifing). Higher values will result in better quality but can make the plots less responsive, also it will make the resulting SVG images bigger"/> 58 <param argument="--number_of_segments" type="integer" value="8" min="4" max="14" label="Number of segments to generate any spheres" help="This includes the samples, the taxa (biplots), and the confidence intervals (jackknifing). Higher values will result in better quality but can make the plots less responsive, also it will make the resulting SVG images bigger"/>
60 <param argument="--pct_variation_below_one" type="boolean" label="Allow the percent variation explained by the axis to be below one?" truevalue="--pct_variation_below_one" falsevalue="" checked="false" help="The default behavior is to multiply by 100 all values if PC1 is &lt; 1.0"/> 59 <param argument="--pct_variation_below_one" type="boolean" truevalue="--pct_variation_below_one" falsevalue="" checked="false" label="Allow the percent variation explained by the axis to be below one?" help="The default behavior is to multiply by 100 all values if PC1 is &lt; 1.0"/>
61 <conditional name="add_custom_axes"> 60 <conditional name="add_custom_axes">
62 <!--TODO: change to select --> 61 <!--TODO: change to select -->
63 <param name="add_custom_axes_test" type="select" label="Add custom axes?"> 62 <param name="add_custom_axes_test" type="select" label="Add custom axes?">
64 <option value="true">Yes</option> 63 <option value="true">Yes</option>
65 <option value="false" selected="true">No</option> 64 <option value="false" selected="true">No</option>
66 </param> 65 </param>
67 <when value="true"> 66 <when value="true">
68 <param argument="--custom_axes" type="data" format="txt" label="Comma-separated list of metadata categories to use as custom axes in the plot" help="For instance, if there is a time category and you would like to see the samples plotted on that axis instead of PC1, PC2, etc., you would pass time as the value of this option. Note: if there is any non-numeric data in the metadata column, an error will be presented "/> 67 <param argument="--custom_axes" type="data" format="txt" label="Comma-separated list of metadata categories to use as custom axes in the plot" help="For instance, if there is a time category and you would like to see the samples plotted on that axis instead of PC1, PC2, etc., you would pass time as the value of this option. Note: if there is any non-numeric data in the metadata column, an error will be presented "/>
69 <param argument="--missing_custom_axes_values" type="data" format="txt" label="Option to override the error shown when the category used in custom axes has non-numeric values in the mapping file" help="The basic format is custom_axis:new_value. For example, if you want to plot in time 0 all the samples that do not have a numeric value in the column Time. you would pass Time:0. Additionally, you can pass this format custom_axis:other_column==value_in_other_column=new_value, with this format you can specify different values (new_value) to use in the substitution based on other column (other_column) value (value_in_other_column). This option could be used in all explicit axes." optional="true"/> 68 <param argument="--missing_custom_axes_values" type="data" format="txt" optional="true" label="Option to override the error shown when the category used in custom axes has non-numeric values in the mapping file" help="The basic format is custom_axis:new_value. For example, if you want to plot in time 0 all the samples that do not have a numeric value in the column Time. you would pass Time:0. Additionally, you can pass this format custom_axis:other_column==value_in_other_column=new_value, with this format you can specify different values (new_value) to use in the substitution based on other column (other_column) value (value_in_other_column). This option could be used in all explicit axes."/>
70 </when> 69 </when>
71 <when value="false"/> 70 <when value="false"/>
72 </conditional> 71 </conditional>
73 </inputs> 72 </inputs>
74 <outputs> 73 <outputs>