comparison expression_rnaseq_abbased.xml @ 0:cf2fa609625b draft

planemo upload commit abb24d36c776520e73220d11386252d848173697-dirty
author proteore
date Sun, 26 Nov 2017 20:49:17 -0500
parents
children 8dd24f13f923
comparison
equal deleted inserted replaced
-1:000000000000 0:cf2fa609625b
1 <tool id="rna_abbased_data" name="Expression from RNAseq/Ab-based data (Human Protein Atlas)" version="0.1.0">
2 <description>
3 </description>
4 <requirements>
5 </requirements>
6 <stdio>
7 <exit_code range="1:" />
8 </stdio>
9 <command><![CDATA[
10
11 #if $inputtype.filetype == "copy_paste":
12
13 Rscript --vanilla $__tool_directory__/get_data_HPA_v2.R --inputtype copypaste --input '$inputtype.genelist' --header FALSE --proteinatlas $__tool_directory__/proteinatlas.csv --column c1 --select '$options.hpaparams' --output '$output'
14
15 #else
16
17 Rscript --vanilla $__tool_directory__/get_data_HPA_v2.R --inputtype tabfile --input '$inputtype.genelist' --header '$inputtype.header' --proteinatlas $__tool_directory__/proteinatlas.csv --column '$inputtype.column' --select '$options.hpaparams' --output '$output'
18
19 #end if
20
21
22 ]]></command>
23
24 <inputs>
25 <conditional name="inputtype">
26 <param name="filetype" type="select" label="Select your type of input file">
27 <option value="file_all">Input file containing your identifiers</option>
28 <option value="copy_paste">Copy/paste your list of IDs</option>
29 </param>
30 <when value="copy_paste">
31 <param name="genelist" type="text" label="Enter a list of identifiers"/>
32 </when>
33 <when value="file_all">
34 <param name="genelist" type="data" format="txt,tabular" label="Choose a multiple-columns file" help="This file must imperatively have 1 column filled with IDs consistent with the database that will be used. Please use the MappingIDs component if this is not the case."/>
35 <param name="column" type="text" label="Please specify the column where you would like to apply the comparison (e.g : Enter c1)" value="c1"/>
36 <param name="header" type="select" label="Does your file have a header?" multiple="false" optional="false">
37 <option value="TRUE" selected="true">Yes</option>
38 <option value="FALSE" selected="false">No</option>
39 </param>
40 </when>
41 </conditional>
42 <section name="options" title="RNAseq/Ab-based data expression options" expanded="True">
43 <param name="hpaparams" type="select" label="Choose the expression from RNAseq/ab-based data you would like to add to your input" multiple="True" display="checkboxes">
44 <option value="Gene" selected="true">Gene name</option>
45 <option value="Gene.description" selected="false">Gene description</option>
46 <option value="Evidence">Evidence (at protein level, at transcript level or no evidence)</option>
47 <option value="Antibody">Antibody reference</option>
48 <option value="RNA.tissue.category">RNA tissue category</option>
49 <option value="Reliability..IH.">IH detection level</option>
50 <option value="Reliability..IF.">IF detection level</option>
51 <option value="Subcellular.location">Subcellular location</option>
52 <option value="RNA.TS.TPM">RNA tissue specificity abundance in 'Transcript Per Million'</option>
53 <option value="TPM.max.in.non.specific">RNA non-specific tissue abundance in 'Transcript Per Million'</option>
54 </param>
55 </section>
56
57 </inputs>
58
59
60 <outputs>
61 <data name="output" format="tabular" label="abc"/>
62 </outputs>
63
64 <tests>
65 <test>
66 <conditional name="inputtype">
67 <param name="filetype " value="file_all"/>
68 <param name="genelist" value="mitochondrion_enzymes_Nextprot.txt"/>
69 <param name="column" value="c1"/>
70 <param name="header" value="TRUE"/>
71 </conditional>
72 <section name="options">
73 <param name="hpaparams" value="Gene,Gene.description,Reliability..IH.,Subcellular.location,TPM.max.in.non.specific"/>
74 </section>
75 <output name="output" file="output_expression_rnaseq_abbased_data.tab"/>
76 </test>
77 </tests>
78
79 <help><![CDATA[
80
81 This tool filters an input **tabular** file according to different databases.
82
83 **Input**
84
85 Input can be a file containing multiple fields but with **at least one column of Ensembl gene IDs** or a list of Ensembl gene ids. If your input file contains other kind of IDs, please refer to the MappingIDs component to create a column of Ensembl gene IDs.
86
87 **Databases**
88
89 The input file will be filtered using information from different sources :
90
91 - HPA normal tissue : will filter the input according to the data contained in the Human Protein Atlas webservice. Pertinent information, such as tissular location, will be added for each gene to your input file.
92
93 - HPA cancer tissue : will filter the input according to the data contained in the Human Protein Atlas webservice for cancer. Pertinent information, such as tumor type, will be added for each gene to your input file.
94
95 **Parameters**
96
97 For HPA normal tissue :
98
99 - tissue category : categories based on RNA-Seq data to estimate the transcript abundance of each protein-coding gene in tissues. For more information, please refer to http://www.proteinatlas.org/about/assays+annotation#rna .
100
101 - level of detection IF : level of detection of the protein associated to the coding gene tissues based on immunofluorescency. For more information, please refer to http://www.proteinatlas.org/about/assays+annotation#if .
102
103 - level of detection IH : level of detection of the protein associated to the coding gene tissues based on immunohistochemistry. For more information, please refer to http://www.proteinatlas.org/about/assays+annotation#if .
104
105 For HPA cancer tissue :
106
107 - tumors : which tumors are associated with your protein-coding genes according to the Human Protein Atlas.
108
109
110 **Outputs**
111
112 The output will be a tabular file. The initial columns will be kept, but lines can be deleted due to the filtering process. Additional columns will be added according to which data you chose to filter your input with.
113
114
115 **Data sources**
116
117 The data for HPA normal tissue was retrieved from the Human Protein Atlas downloadable data repository (http://www.proteinatlas.org/download/proteinatlas.tab.gz).
118
119 The data for HPA cancer was retrieved from the Human Protein Atlas downloadable data repository (http://www.proteinatlas.org/download/cancer.csv.zip).
120 ]]></help>
121
122 <citations>
123 </citations>
124
125 </tool>