comparison mixomics_blocksplsda.xml @ 4:b0ab97ffc2a1 draft

planemo upload for repository https://github.com/bilille/galaxy-mixomics-blocksplsda commit 0bf5c0745f406f2eca9c708a062c975b1f7ea386
author ppericard
date Mon, 09 Mar 2020 11:53:32 -0400
parents 6595c17673cb
children 1ee8d2c20c0a
comparison
equal deleted inserted replaced
3:0a3c83f2197a 4:b0ab97ffc2a1
1 <tool id="mixomics_blocksplsda" name="mixOmics block.splsda" version="0.2.0" profile="16.04" workflow_compatible="true"> 1 <tool id="mixomics_blocksplsda" name="mixOmics block.splsda" version="0.3.0" profile="16.04" workflow_compatible="true">
2 2
3 <description>performs N-integration and feature selection with Projection to Latent Structures models (PLS) with sparse Discriminant Analysis</description> 3 <description>performs N-integration and feature selection with Projection to Latent Structures models (PLS) with sparse Discriminant Analysis</description>
4 4
5 <requirements> 5 <requirements>
6 <requirement type="package" version="6.8">bioconductor-mixomics</requirement> 6 <requirement type="package" version="6.8">bioconductor-mixomics</requirement>
7 <requirement type="package" version="2.0">r-argparse</requirement> 7 <requirement type="package" version="2.0">r-argparse</requirement>
8 </requirements> 8 </requirements>
9 9
10 <!-- <stdio> 10 <!-- <stdio>
11 <exit_code range="1:" level="fatal" /> 11 <exit_code range="1:" level="fatal" />
12 </stdio> --> 12 </stdio> -->
13 13
14 <command detect_errors="aggressive"> 14 <command detect_errors="aggressive">
45 </command> 45 </command>
46 46
47 <inputs> 47 <inputs>
48 <repeat name="blocks" title="Blocks"> 48 <repeat name="blocks" title="Blocks">
49 <param name="block_name" type="text" label="Block name" /> 49 <param name="block_name" type="text" label="Block name" />
50 <param name="keep" type="integer" value="0" min="0" label="Number of variables to select for each component" help="Default is to keep all variables" /> 50 <param name="keep" type="integer" value="0" min="0"
51 <param name="data_matrix" type="data" format="tabular" label="Data matrix" help="rows = variables, columns = samples" /> 51 label="Number of variables to select for each component"
52 <param name="variable_metadata" type="data" format="tabular" optional="true" label="Variables metadata" help="rows = variables" /> 52 help="[keep] Estimation of the number of variables in the block correlated with variables from the other blocks and correlated with response variables. If set to 0, all variables will be selected." />
53 <param name="data_matrix" type="data" format="tabular"
54 label="Data matrix"
55 help="Block data in tabular format (rows = variables, columns = samples). The first column contains the variables names and the first row contains the samples names. Samples names must be in the same order for all blocks and the sample metadata (transposed). The data must not contain missing values." />
56 <param name="variable_metadata" type="data" format="tabular" optional="true"
57 label="Variables metadata [optional]"
58 help="Variables metadata in tabular format (rows = variables). The first colum contains the variables names. The first row contains the metadata column names. The number of rows in the metadata file must be the same than the number of rows in the block data file, and the variables need to be in the same order. If a metadata file is provided, block.splsda output will be appended as new columns, otherwise a new file will be created." />
53 </repeat> 59 </repeat>
54 <param name="sample_metadata_in" type="data" format="tabular" label="Samples metadata matrix" /> 60 <param name="sample_metadata_in" type="data" format="tabular"
55 <param name="sample_description_col" type="integer" value="0" min="0" label="Sample description column number" help="Use the last column by default" /> 61 label="Samples metadata"
56 <param name="ncomp" type="integer" value="2" min="1" label="Number of components to include in the model" /> 62 help="Samples metadata in tabular format (rows = samples). The first column contains the sample names. The first row contains the metadata column names. Samples names must be in the same order (transposed) than all the blocks. One of the column (the last by default) must contain the samples groups for integration." />
57 <param name="correlation" type="boolean" truevalue="--correlation" falsevalue="" checked="false" label="Correlation between all blocks"/> 63 <param name="sample_description_col" type="integer" value="0" min="0"
64 label="Samples groups column number"
65 help="Column from the samples metadata file containing samples groups. If set to 0, the last column will be used." />
66 <param name="ncomp" type="integer" value="2" min="1"
67 label="Number of components to include in the model"
68 help="[ncomp] Number of new variables (components) computed by the data integration." />
69 <param name="correlation" type="boolean" truevalue="--correlation"
70 falsevalue="" checked="false"
71 label="Correlation between all blocks"
72 help="[design] If set to Yes, data integration will take into account correlations between all the blocks (design matrix with diagonal coefficients set to 0 and the rest of the coefficients set to 1)." />
58 <section name="adv" title="Advanced Options" expanded="false"> 73 <section name="adv" title="Advanced Options" expanded="false">
59 <param name="scheme" type="select" label="Scheme"> 74 <!-- <param name="scheme" type="select" label="Scheme">
60 <option value="horst" selected="true">horst</option> 75 <option value="horst" selected="true">horst</option>
61 <option value="factorial" >factorial</option> 76 <option value="factorial" >factorial</option>
62 <option value="centroid" >centroid</option> 77 <option value="centroid" >centroid</option>
63 </param> 78 </param>
64 <param name="mode" type="select" label="Mode"> 79 <param name="mode" type="select" label="Mode">
65 <option value="regression" selected="true">regression</option> 80 <option value="regression" selected="true">regression</option>
66 <option value="canonical" >canonical</option> 81 <option value="canonical" >canonical</option>
67 <option value="invariant" >invariant</option> 82 <option value="invariant" >invariant</option>
68 <option value="classic" >classic</option> 83 <option value="classic" >classic</option>
69 </param> 84 </param> -->
70 <param name="maxiter" type="integer" value="100" min="1" label="Maximum number of iterations" /> 85 <param name="maxiter" type="integer" value="100" min="1"
71 <param name="scale" type="boolean" truevalue="--scale" falsevalue="" checked="true" label="Scale" help="if checked, each block is standardized to zero means and unit variances" /> 86 label="Maximum number of iterations"
87 help="[max.iter] Maximum number of iterations performed by block.splsda." />
88 <!-- <param name="scale" type="boolean" truevalue="-\-scale" falsevalue="" checked="true"
89 label="Scale"
90 help="if checked, each block is standardized to zero means and unit variances" />
72 <param name="init" type="select" label="Init"> 91 <param name="init" type="select" label="Init">
73 <option value="svd" selected="true">svd</option> 92 <option value="svd" selected="true">svd</option>
74 <option value="svd.single" >svd.single</option> 93 <option value="svd.single" >svd.single</option>
75 </param> 94 </param>
76 <param name="tol" type="float" value="1e-06" min="0" label="Convergence stopping value (tol)" /> 95 <param name="tol" type="float" value="1e-06" min="0"
77 <param name="nearzerovar" type="boolean" truevalue="--nearzerovar" falsevalue="" checked="false" label="Should be set to TRUE in particular for data with many zero values" /> 96 label="Convergence stopping value"
97 help="[tol]" />
98 <param name="nearzerovar" type="boolean" truevalue="-\-nearzerovar" falsevalue="" checked="false"
99 label="Should be set to TRUE in particular for data with many zero values" /> -->
78 </section> 100 </section>
79 </inputs> 101 </inputs>
80 102
81 <outputs> 103 <outputs>
82 <data name="rdata_out" format="rdata" label="${tool.name}_output.rdata" /> 104 <data name="rdata_out" format="rdata" label="${tool.name}_output.rdata" />
83 <data name="sample_metadata_out" format="tabular" label="${tool.name}_${sample_metadata_in.name}" /> 105 <data name="sample_metadata_out" format="tabular"
106 label="${tool.name}_${sample_metadata_in.name}" />
84 <collection name="blocks_output" type="list" label="${tool.name}_blocks_output"> 107 <collection name="blocks_output" type="list" label="${tool.name}_blocks_output">
85 <discover_datasets pattern="(?P&lt;designation&gt;.+)\.tsv" directory="outdir" format="tabular" /> 108 <discover_datasets pattern="(?P&lt;designation&gt;.+)\.tsv"
109 directory="outdir" format="tabular" />
86 </collection> 110 </collection>
87 </outputs> 111 </outputs>
88 112
89 <tests> 113 <tests>
90 <test> 114 <test>