diff add_expression_data.xml @ 8:c9e48832420b draft

"planemo upload commit 330a2527c7e20c4d189a0f1b7a184a8c4610b4b6-dirty"
author proteore
date Wed, 22 Jan 2020 15:11:58 +0000
parents fda784211e3a
children 28d51adf8292
line wrap: on
line diff
--- a/add_expression_data.xml	Wed Jan 22 14:59:04 2020 +0000
+++ b/add_expression_data.xml	Wed Jan 22 15:11:58 2020 +0000
@@ -1,4 +1,4 @@
-<tool id="rna_abbased_data" name="Add expression data" version="2020.01.22">
+<tool id="rna_abbased_data" name="Add expression data" version="2020.01.22.1">
 <description> (RNAseq or Immuno-assays)[Human Protein Atlas]
 </description>
 <requirements>
@@ -22,15 +22,20 @@
         --column='$inputtype.column'  
     #end if
 
-    #if "protein_atlas" in str($input.ref_file).split("/")
-    --hpa_ref="$input.ref_file"
+    #if "protein_atlas" in str($ref_file).split("/")
+    --hpa_ref="$ref_file"
     #else 
-    --hpa_ref="$__tool_directory__/$input.ref_file"
+    --hpa_ref="$__tool_directory__/$ref_file"
     #end if
 
 ]]></command>
 
 <inputs>
+    <param name="ref_file" type="select" label="HPA source file version" >
+        <options from_data_table="proteore_protein_full_atlas">
+            <filter type="sort_by" column="0"/>
+        </options>
+    </param>
   <conditional name="inputtype">
     <param name="filetype" type="select" label="Enter your IDs (Ensembl gene IDs only, e.g. ENSG00000064787)" help="Copy/paste or from a file (e.g. table)"> 
       <option value="file_all" selected="true">Input file containing your IDs</option>