Mercurial > repos > proteore > proteore_expression_levels_by_tissue
diff get_expression_profiles.xml @ 9:0a0f6c37f05e draft
planemo upload commit 47b21d3d533a6729de0269f70b033f976419368c-dirty
author | proteore |
---|---|
date | Wed, 13 Mar 2019 09:15:52 -0400 |
parents | 2c0bab71a436 |
children | 6e85f07c20ee |
line wrap: on
line diff
--- a/get_expression_profiles.xml Tue Dec 18 09:48:29 2018 -0500 +++ b/get_expression_profiles.xml Wed Mar 13 09:15:52 2019 -0400 @@ -1,4 +1,4 @@ -<tool id="sel_ann_hpa" name="Get expression profiles" version="2018.12.17"> +<tool id="sel_ann_hpa" name="Get expression profiles" version="2019.03.06"> <description>by (normal or tumor) tissue/cell type [Human Protein Atlas] </description> <requirements> @@ -8,7 +8,13 @@ </stdio> <command interpreter="Rscript"> $__tool_directory__/get_expression_profiles.R - --ref_file="$__tool_directory__/$options.proteinatlas" + + #if "protein_atlas" in str($options.proteinatlas).split("/") + --ref_file="$options.proteinatlas" + #else + --ref_file="$__tool_directory__/$options.proteinatlas" + #end if + --input_type="$input.ids" #if $input.ids == "list" --input="$input.list" @@ -51,7 +57,9 @@ <when value="file" > <param name="file" type="data" format="txt,tabular" label="" 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 number of 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 number of 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> </when> </conditional> <conditional name="options"> @@ -61,13 +69,7 @@ </param> <when value="normal"> <param name="proteinatlas" type="select" label="Normal tissue HPA version" > - <!--options from_file="proteinatlas.loc" > - <column name="name" index="1"/> - <column name="value" index="2"/> - <filter type="remove_value" key="name" value="Full Human Protein Atlas (23/10/18)"/> - <filter type="remove_value" key="name" value="HPA Tumor Tissue (23/10/18)"/> - </options--> - <option value="tool-data/HPA_normal_tissue_23-10-2018.tsv">HPA Normal Tissue (23/10/18)</option> + <options from_data_table="proteore_protein_atlas_normal_tissue"/> </param> <param name="normal_tissue" type="select" label="Select tissue(s)" multiple="True" display="checkboxes" optional="False"> <option value="adrenal gland" >Adrenal gland</option> @@ -134,13 +136,7 @@ </when> <when value="tumor"> <param name="proteinatlas" type="select" label="Tumor tissue HPA version" > - <!--options from_file="proteinatlas.loc" > - <column name="name" index="1" /> - <column name="value" index="2" /> - <filter type="remove_value" meta_ref="proteinatlas" key="name" value="Full Human Protein Atlas (23/10/18)" /> - <filter type="remove_value" meta_ref="proteinatlas" key="name" value="HPA Normal Tissue (23/10/18)" /> - </options--> - <option value="tool-data/HPA_pathology_23-10-2018.tsv">HPA Tumor Tissue (23/10/18)</option> + <options from_data_table="proteore_protein_atlas_tumor_tissue"/> </param> <param name="cancer_tissue" type="select" label="Select cancer tissue(s)" multiple="True" display="checkboxes" optional="False"> <option value="breast cancer" >Breast cancer</option> @@ -244,7 +240,7 @@ **Authors** -T.P. Lien Nguyen, Florence Combes, Yves Vandenbrouck CEA, INSERM, CNRS, Grenoble-Alpes University, BIG Institute, FR +David Christiany, T.P. Lien Nguyen, Florence Combes, Yves Vandenbrouck CEA, INSERM, CNRS, Grenoble-Alpes University, BIG Institute, FR Sandra Dérozier, Olivier Rué, Christophe Caron, Valentin Loux INRA, Paris-Saclay University, MAIAGE Unit, Migale Bioinformatics platform, FR