Mercurial > repos > lnguyen > link2reactome
comparison link2reactome.xml @ 0:9135dad96527 draft default tip
planemo upload
author | lnguyen |
---|---|
date | Fri, 15 Sep 2017 09:55:49 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:9135dad96527 |
---|---|
1 <tool id="link2reactome" name="Analyse your data with Reactome" version="0.1.0"> | |
2 <description>Map your IDs list (Uniprot, Gene name) via analysis tools from Reactome database and visualize directly pathways in which your proteins are involved. | |
3 </description> | |
4 <requirements> | |
5 </requirements> | |
6 <stdio> | |
7 <exit_code range="1:" /> | |
8 </stdio> | |
9 <command><![CDATA[ | |
10 #if $opt.input == "text" | |
11 python $__tool_directory__/link2reactome.py --json "$opt.list" "list" --output "$output" --trash "$trash" | |
12 ##else if $opt.input == "file" | |
13 ##python /projet/galaxydev/galaxy/tools/proteore_uc1/tools/reactome/link2reactome.py --json "$opt.idfile" "file" --output "$output" --trash "$trash" | |
14 #else if $opt.input == "mq" | |
15 python $__tool_directory__/link2reactome.py --json "$opt.mq_file" "mq_file" $opt.header $opt.ncol --output "$output" --trash "$trash" | |
16 #end if | |
17 | |
18 ]]></command> | |
19 <inputs> | |
20 <conditional name="opt"> | |
21 <param name="input" type="select" label="Input identifiers" multiple="False" > | |
22 <option value="text">Copy/paste your list of IDs </option> | |
23 <!--option value="file">Choose a single-column file </option--> | |
24 <option value="mq">Choose a multiple-columns file </option> | |
25 </param> | |
26 <when value="text" > | |
27 <param name="list" type="text" label="Enter list of identifiers" /> | |
28 </when> | |
29 <!--when value="file" > | |
30 <param name="idfile" type="data" format="txt" label="Choose a single-column file" /> | |
31 </when--> | |
32 <when value="mq" > | |
33 <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" /> | |
34 <param name="header" type="boolean" checked="true" truevalue="true" falsevalue="false" label="Does your input file contain header?" /> | |
35 <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' /> | |
36 </when> | |
37 | |
38 </conditional> | |
39 </inputs> | |
40 <outputs> | |
41 <data name="output" format="html" label="" /> | |
42 <data name="trash" format="tabular" label="Invalid identifiers" /> | |
43 </outputs> | |
44 <tests> | |
45 <test> | |
46 <conditional name="opt" > | |
47 <param name="input" value="mq" /> | |
48 <param name="mq_file" value="UnipIDs.txt" /> | |
49 <param name="header" value="false" /> | |
50 <param name="ncol" value="c1" /> | |
51 </conditional> | |
52 <output name="output" file="reactome_output.html" ftype="html" /> | |
53 <output name="trash" file="reactome_invalide_ids.txt" ftype="tab" /> | |
54 </test> | |
55 </tests> | |
56 <help><![CDATA[ | |
57 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. | |
58 | |
59 **For the rows that have more than 1 ID, only the first one is taken into account** | |
60 | |
61 **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** | |
62 ]]></help> | |
63 <citations> | |
64 </citations> | |
65 </tool> |