comparison add_protein_features_mouse.xml @ 1:f10816a9dd0b draft

planemo upload commit dbc027f59706f5b7d3f9f9319f2652baa50e2df5-dirty
author proteore
date Mon, 04 Mar 2019 05:12:46 -0500
parents 1e856941a888
children 1dea4e5f638f
comparison
equal deleted inserted replaced
0:1e856941a888 1:f10816a9dd0b
1 <tool id="prot_features_mouse" name="Add protein features (Mouse)" version="2019.02.08"> 1 <tool id="prot_features_mouse" name="Add protein features (Mouse)" version="2019.02.21">
2 <description>[UniProt] 2 <description>[UniProt]
3 </description> 3 </description>
4 <requirements> 4 <requirements>
5 <requirement type="package" version="3.4.1">R</requirement> 5 <requirement type="package" version="3.4.1">R</requirement>
6 </requirements> 6 </requirements>
14 --input='$inputtype.genelist' 14 --input='$inputtype.genelist'
15 15
16 #if $inputtype.filetype == "file" 16 #if $inputtype.filetype == "file"
17 --column='$inputtype.column' 17 --column='$inputtype.column'
18 --header=$inputtype.header 18 --header=$inputtype.header
19 --output='$output'
20 #else
21 --output='$output2'
19 #end if 22 #end if
20 23
21 --pc_features='$pc_features' 24 --pc_features='$pc_features'
22 --output='$output' 25 --uniprot_file=$__tool_directory__/tool-data/uniprot_features_mouse.tsv
23 --uniprot_file=$__tool_directory__/tool-data/uniprot_features_mouse.tsv
24 26
25 ]]></command> 27 ]]></command>
26 28
27 <inputs> 29 <inputs>
28 <conditional name="inputtype"> 30 <conditional name="inputtype">
46 </sanitizer> 48 </sanitizer>
47 </param> 49 </param>
48 </when> 50 </when>
49 <when value="file"> 51 <when value="file">
50 <param name="genelist" type="data" format="txt,tabular" label="Select your file" help=""/> 52 <param name="genelist" type="data" format="txt,tabular" label="Select your file" help=""/>
51 <param name="column" type="text" label="Column IDs (e.g : Enter c1 for column n°1)" value="c1"/> 53 <param name="column" type="text" label="Column IDs (e.g : Enter c1 for column n°1)" value="c1">
54 <validator type="regex" message="Please enter a column number, for example: 'c1' for the first column">[c]{0,1}[0-9]+</validator>
55 </param>
52 <param name="header" type="boolean" checked="true" truevalue="true" falsevalue="false" label="Does input file have header?" /> 56 <param name="header" type="boolean" checked="true" truevalue="true" falsevalue="false" label="Does input file have header?" />
53 57
54 </when> 58 </when>
55 </conditional> 59 </conditional>
56 <param name="pc_features" type="select" label="Features/Annotation" multiple="true" help="" display="checkboxes" optional="true"> 60 <param name="pc_features" type="select" label="Features/Annotation" multiple="true" help="" display="checkboxes" optional="false">
57 <option value="Entry name" selected="false">Entry name (e.g. PLK3_MOUSE)</option> 61 <option value="Entry name" selected="false">Entry name (e.g. PLK3_MOUSE)</option>
58 <option value="Protein names" selected="false">Protein names (e.g. Serine/threonine-protein kinase PLK3 (EC 2.7.11.21))</option> 62 <option value="Protein names" selected="false">Protein names (e.g. Serine/threonine-protein kinase PLK3 (EC 2.7.11.21))</option>
59 <option value="Length" selected="false">Sequence length</option> 63 <option value="Length" selected="false">Sequence length</option>
60 <option value="Mass" selected="false">Molecular Mass (Da)</option> 64 <option value="Mass" selected="false">Molecular Mass (Da)</option>
61 <option value="Features" selected="false">Features (e.g. Chain (1); Transmembrane (4))</option> 65 <option value="Features" selected="false">Features (e.g. Chain (1); Transmembrane (4))</option>
72 <option value="Involvement in disease" selected="false">Involvement in disease (e.g. DISEASE: Note=Defects in Btk are the cause of murine X-linked immunodeficiency (XID))</option> 76 <option value="Involvement in disease" selected="false">Involvement in disease (e.g. DISEASE: Note=Defects in Btk are the cause of murine X-linked immunodeficiency (XID))</option>
73 </param> 77 </param>
74 </inputs> 78 </inputs>
75 79
76 <outputs> 80 <outputs>
77 <data name="output" format="tsv" label="Add_information_from_UniProt on ${inputtype.genelist.name}"> 81 <data name="output" format="tsv" label="Add_Mouse_ProteinFeatures_UP_on_${inputtype.genelist.name}">
78 <filter>inputtype=="file"</filter> 82 <filter>inputtype['filetype'] == 'file'</filter>
79 </data> 83 </data>
80 <data name="output" format="tsv" label="Add_information_from_UniProt"/> 84 <data name="output2" format="tsv" label="Add_Mouse_ProteinFeatures_UP">
85 <filter>inputtype['filetype'] == 'copy_paste'</filter>
86 </data>
81 </outputs> 87 </outputs>
82 88
83 <tests> 89 <tests>
84 <test> 90 <test>
85 <conditional name="inputtype"> 91 <conditional name="inputtype">
89 <param name="header" value="true"/> 95 <param name="header" value="true"/>
90 </conditional> 96 </conditional>
91 97
92 <param name="pc_features" value='Entry name,Protein names,Length,Mass,Features,Intramembrane,Transmembrane,Topological domain,Pathway,Function [CC],Post-translational modification,Subcellular location [CC],Subunit structure [CC],Domain [CC],Tissue specificity,Involvement in disease'/> 98 <param name="pc_features" value='Entry name,Protein names,Length,Mass,Features,Intramembrane,Transmembrane,Topological domain,Pathway,Function [CC],Post-translational modification,Subcellular location [CC],Subunit structure [CC],Domain [CC],Tissue specificity,Involvement in disease'/>
93 99
94 <output name="output" file="results_wilson-foie-souris-up.tsv"/> 100 <output name="output2" file="results_wilson-foie-souris-up.tsv"/>
95 </test> 101 </test>
96 </tests> 102 </tests>
97 103
98 <help><![CDATA[ 104 <help><![CDATA[
99 105