Mercurial > repos > proteore > proteore_maps_visualization
changeset 2:6ca99419207d draft
planemo upload commit 395d6aa47cce1fb7642b7c06133636c43d80f3c7-dirty
author | proteore |
---|---|
date | Tue, 05 Mar 2019 08:32:29 -0500 |
parents | 6f389729a30b |
children | dfceadc0b703 |
files | kegg_maps_visualization.xml |
diffstat | 1 files changed, 20 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/kegg_maps_visualization.xml Thu Jan 31 05:24:33 2019 -0500 +++ b/kegg_maps_visualization.xml Tue Mar 05 08:32:29 2019 -0500 @@ -1,5 +1,5 @@ -<tool id="kegg_maps_visualization" name="KEGG maps visualization" version="2019.01.31"> - <description>of (differentially expressed) genes/proteins</description> +<tool id="kegg_maps_visualization" name="Pathways visualization" version="2019.03.05"> + <description>of (differentially expressed) genes/proteins [KEGG]</description> <requirements> <requirement type="package" version="1.18.0">bioconductor-pathview</requirement> <requirement type="package" version="1.18.0">bioconductor-keggrest</requirement> @@ -69,12 +69,15 @@ <add source=" " target=""/> </mapping> </sanitizer> + <validator type="regex" message="Please enter correct pathway id(s)">([a-z]{3}[0-9]{5}[\s]*)+</validator> </param> </when> <when value="pathways_file"> <param name="file" type="data" format="txt,tabular" label="Select your file" help="Pathway id format : 'path:hsa00010' or 'hsa00010' or '00010'" /> <param name="header2" type="boolean" checked="true" truevalue="true" falsevalue="false" label="Does file contain header?" /> - <param name="ncol2" type="text" value="c1" label="Column of pathways IDs" help='For example, fill in "c1" if it is the first column, "c2" if it is the second column and so on' /> + <param name="ncol2" type="text" value="c1" label="Column of pathways IDs" help='For example, fill in "c1" if it is the first column, "c2" if it is the second column and so on'> + <validator type="regex" message="Please enter a column number, for example: 'c1' for the first column">[c]{0,1}[0-9]+</validator> + </param> </when> </conditional> </when> @@ -103,12 +106,15 @@ <add source=" " target=""/> </mapping> </sanitizer> + <validator type="regex" message="Please enter correct pathway id(s)">([a-z]{3}[0-9]{5}[\s]*)+</validator> </param> </when> <when value="pathways_file"> <param name="file" type="data" format="txt,tabular" label="Enter your file" help="Pathway id format : 'path:mmu00053' or 'mmu00053' or '00053'" /> <param name="header2" type="boolean" checked="true" truevalue="true" falsevalue="false" label="Does file contain header?" /> - <param name="ncol2" type="text" value="c1" label="Column of IDs" help='For example, fill in "c1" if it is the first column, "c2" if it is the second column and so on' /> + <param name="ncol2" type="text" value="c1" label="Column of IDs" help='For example, fill in "c1" if it is the first column, "c2" if it is the second column and so on'> + <validator type="regex" message="Please enter a column number, for example: 'c1' for the first column">[c]{0,1}[0-9]+</validator> + </param> </when> </conditional> </when> @@ -137,12 +143,15 @@ <add source=" " target=""/> </mapping> </sanitizer> + <validator type="regex" message="Please enter correct pathway id(s)">([a-z]{3}[0-9]{5}[\s]*)+</validator> </param> </when> <when value="pathways_file"> <param name="file" type="data" format="txt,tabular" label="Select your file" help="Pathway id format : 'path:hsa00010' or 'hsa00010' or '00010'" /> <param name="header2" type="boolean" checked="true" truevalue="true" falsevalue="false" label="Does file contain header?" /> - <param name="ncol2" type="text" value="c1" label="Column of IDs" help='For example, fill in "c1" if it is the first column, "c2" if it is the second column and so on' /> + <param name="ncol2" type="text" value="c1" label="Column of IDs" help='For example, fill in "c1" if it is the first column, "c2" if it is the second column and so on'> + <validator type="regex" message="Please enter a column number, for example: 'c1' for the first column">[c]{0,1}[0-9]+</validator> + </param> </when> </conditional> </when> @@ -174,11 +183,15 @@ <when value="file" > <param name="file" type="data" format="txt,tabular" label="Select your file" help="" /> <param name="header" type="boolean" checked="true" truevalue="true" falsevalue="false" label="Does file contain header?" /> - <param name="ncol" type="text" value="c1" label="Column if IDs to map" help='For example, fill in "c1" if it is the first column, "c2" if it is the second column and so on' /> + <param name="ncol" type="text" value="c1" label="Column if IDs to map" help='For example, fill in "c1" if it is the first column, "c2" if it is the second column and so on'> + <validator type="regex" message="Please enter a column number, for example: 'c1' for the first column">[c]{0,1}[0-9]+</validator> + </param> <conditional name="foldchange" > <param name="fc" type="boolean" checked="false" truevalue="true" falsevalue="false" label="Map quantitative data on the pathway?"/> <when value="true"> - <param name="fc_col" type="text" label="Column(s) number of quantitative data (separated by ','. 3 columns max)" help="For example : c1,c3,c4"/> + <param name="fc_col" type="text" label="Column(s) number of quantitative data (separated by ','. 3 columns max)" help="For example : c1,c3,c4"> + <validator type="regex" message="Please enter column numbers, for example: 'c1,c3' for first and third columns">([c]{0,1}[0-9]+[,]*){1,3}</validator> + </param> </when> <when value="false"/> </conditional>