diff link2reactome.xml @ 0:9135dad96527 draft default tip

planemo upload
author lnguyen
date Fri, 15 Sep 2017 09:55:49 -0400
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/link2reactome.xml	Fri Sep 15 09:55:49 2017 -0400
@@ -0,0 +1,65 @@
+<tool id="link2reactome" name="Analyse your data with Reactome" version="0.1.0">
+    <description>Map your IDs list (Uniprot, Gene name) via analysis tools from Reactome database and visualize directly pathways in which your proteins are involved.
+    </description>
+    <requirements>
+    </requirements>
+    <stdio>
+        <exit_code range="1:" />
+    </stdio>
+    <command><![CDATA[
+        #if $opt.input == "text"
+            python $__tool_directory__/link2reactome.py --json "$opt.list" "list" --output "$output" --trash "$trash"
+        ##else if $opt.input == "file"
+            ##python /projet/galaxydev/galaxy/tools/proteore_uc1/tools/reactome/link2reactome.py --json "$opt.idfile" "file" --output "$output" --trash "$trash"
+        #else if $opt.input == "mq"
+            python $__tool_directory__/link2reactome.py --json "$opt.mq_file" "mq_file" $opt.header $opt.ncol --output "$output" --trash "$trash"
+        #end if
+        
+    ]]></command>
+    <inputs>
+        <conditional name="opt">
+            <param name="input" type="select" label="Input identifiers" multiple="False" >
+                <option value="text">Copy/paste your list of IDs </option>
+                <!--option value="file">Choose a single-column file </option-->
+		        <option value="mq">Choose a multiple-columns file </option>
+            </param>
+            <when value="text" >
+                <param name="list" type="text" label="Enter list of identifiers" />
+            </when>
+            <!--when value="file" >
+                <param name="idfile" type="data" format="txt" label="Choose a single-column file" />
+            </when-->
+            <when value="mq" >
+                <param name="mq_file" type="data" format="txt, tabular" label="Choose a multiple-columns file" help="Input file is a tab-delimited file containing different information of proteins, such as an output of MaxQuant software" />
+                <param name="header" type="boolean" checked="true" truevalue="true" falsevalue="false" label="Does your input file contain header?" />
+		        <param type="text" name="ncol" value="c1" label="Please specify the column where you would like to apply the comparison" help ='For example, fill in "c1" if you want to filter the first column' />
+            </when>
+            
+        </conditional>
+    </inputs>
+    <outputs>
+        <data name="output" format="html" label="" />
+        <data name="trash" format="tabular" label="Invalid identifiers" />
+    </outputs>
+    <tests>
+        <test>
+            <conditional name="opt" >
+                <param name="input" value="mq" />
+                <param name="mq_file" value="UnipIDs.txt" />
+                <param name="header" value="false" />
+                <param name="ncol" value="c1" />
+            </conditional>
+            <output name="output" file="reactome_output.html" ftype="html" />
+            <output name="trash" file="reactome_invalide_ids.txt" ftype="tab" />
+        </test>
+    </tests>
+    <help><![CDATA[
+Reactome software provides service of creating diagram representing the relations between the biological processes. This tool allows linking to Reactome web service with pre-loaded data from a list of IDs, a file containing IDs or from a column of a complexed file.
+
+**For the rows that have more than 1 ID, only the first one is taken into account**
+
+**This tool only accepts letters (a-z or A-Z), numbers (0-9) and 3 characters "." "-" "_" for IDs. If there is ID containing other than these characters, it will be removed from the queue and placed in "Invalid identifiers" file**
+    ]]></help>
+    <citations>
+    </citations>
+</tool>