Mercurial > repos > sblanck > smagexp
annotate ImportDataFromMatrix.xml @ 16:161fe6ba75d7 draft
planemo upload for repository https://github.com/sblanck/smagexp/tree/master/smagexp_tools commit 7161f59bef78b3674be55213a29fb2d10686849f-dirty
author | sblanck |
---|---|
date | Fri, 09 Jun 2017 05:19:21 -0400 |
parents | c05f899d5dcd |
children | ef7d98f9eb51 |
rev | line source |
---|---|
15
c05f899d5dcd
planemo upload for repository https://github.com/sblanck/smagexp/tree/master/smagexp_tools commit da1436252b5db4e90c39c95140558f0f93544160-dirty
sblanck
parents:
14
diff
changeset
|
1 <tool id="importMatrixData" name="Import custom data" version="1.0.0"> |
9
328f4031e5d3
planemo upload commit f882a5ba78afeb368605beb3986936e86c485cbb-dirty
sblanck
parents:
8
diff
changeset
|
2 |
328f4031e5d3
planemo upload commit f882a5ba78afeb368605beb3986936e86c485cbb-dirty
sblanck
parents:
8
diff
changeset
|
3 <description>Quality control and normalization of a custom matrix expression data</description> |
328f4031e5d3
planemo upload commit f882a5ba78afeb368605beb3986936e86c485cbb-dirty
sblanck
parents:
8
diff
changeset
|
4 |
328f4031e5d3
planemo upload commit f882a5ba78afeb368605beb3986936e86c485cbb-dirty
sblanck
parents:
8
diff
changeset
|
5 <requirements> |
16
161fe6ba75d7
planemo upload for repository https://github.com/sblanck/smagexp/tree/master/smagexp_tools commit 7161f59bef78b3674be55213a29fb2d10686849f-dirty
sblanck
parents:
15
diff
changeset
|
6 <requirement type="package" version="0.2.0">r-smagexp</requirement> |
9
328f4031e5d3
planemo upload commit f882a5ba78afeb368605beb3986936e86c485cbb-dirty
sblanck
parents:
8
diff
changeset
|
7 </requirements> |
328f4031e5d3
planemo upload commit f882a5ba78afeb368605beb3986936e86c485cbb-dirty
sblanck
parents:
8
diff
changeset
|
8 |
328f4031e5d3
planemo upload commit f882a5ba78afeb368605beb3986936e86c485cbb-dirty
sblanck
parents:
8
diff
changeset
|
9 <stdio> |
328f4031e5d3
planemo upload commit f882a5ba78afeb368605beb3986936e86c485cbb-dirty
sblanck
parents:
8
diff
changeset
|
10 <exit_code range="1:" /> |
328f4031e5d3
planemo upload commit f882a5ba78afeb368605beb3986936e86c485cbb-dirty
sblanck
parents:
8
diff
changeset
|
11 <regex match="Warning" source="both" level="warning"/> |
328f4031e5d3
planemo upload commit f882a5ba78afeb368605beb3986936e86c485cbb-dirty
sblanck
parents:
8
diff
changeset
|
12 </stdio> |
328f4031e5d3
planemo upload commit f882a5ba78afeb368605beb3986936e86c485cbb-dirty
sblanck
parents:
8
diff
changeset
|
13 |
328f4031e5d3
planemo upload commit f882a5ba78afeb368605beb3986936e86c485cbb-dirty
sblanck
parents:
8
diff
changeset
|
14 <command> |
328f4031e5d3
planemo upload commit f882a5ba78afeb368605beb3986936e86c485cbb-dirty
sblanck
parents:
8
diff
changeset
|
15 <![CDATA[ |
328f4031e5d3
planemo upload commit f882a5ba78afeb368605beb3986936e86c485cbb-dirty
sblanck
parents:
8
diff
changeset
|
16 Rscript --vanilla |
328f4031e5d3
planemo upload commit f882a5ba78afeb368605beb3986936e86c485cbb-dirty
sblanck
parents:
8
diff
changeset
|
17 ${__tool_directory__}/ImportDataFromMatrix.R |
328f4031e5d3
planemo upload commit f882a5ba78afeb368605beb3986936e86c485cbb-dirty
sblanck
parents:
8
diff
changeset
|
18 --input $input |
328f4031e5d3
planemo upload commit f882a5ba78afeb368605beb3986936e86c485cbb-dirty
sblanck
parents:
8
diff
changeset
|
19 --normalization $normalization |
328f4031e5d3
planemo upload commit f882a5ba78afeb368605beb3986936e86c485cbb-dirty
sblanck
parents:
8
diff
changeset
|
20 --conditions $conditions |
328f4031e5d3
planemo upload commit f882a5ba78afeb368605beb3986936e86c485cbb-dirty
sblanck
parents:
8
diff
changeset
|
21 --annotations $annotations |
328f4031e5d3
planemo upload commit f882a5ba78afeb368605beb3986936e86c485cbb-dirty
sblanck
parents:
8
diff
changeset
|
22 --rdataoutput $result_export_eset |
328f4031e5d3
planemo upload commit f882a5ba78afeb368605beb3986936e86c485cbb-dirty
sblanck
parents:
8
diff
changeset
|
23 --htmloutput $result_html |
328f4031e5d3
planemo upload commit f882a5ba78afeb368605beb3986936e86c485cbb-dirty
sblanck
parents:
8
diff
changeset
|
24 --htmloutputpath $result_html.files_path |
328f4031e5d3
planemo upload commit f882a5ba78afeb368605beb3986936e86c485cbb-dirty
sblanck
parents:
8
diff
changeset
|
25 --htmltemplate ${__tool_directory__}/ImportDataFromMatrix_tpl.html |
328f4031e5d3
planemo upload commit f882a5ba78afeb368605beb3986936e86c485cbb-dirty
sblanck
parents:
8
diff
changeset
|
26 ]]> |
328f4031e5d3
planemo upload commit f882a5ba78afeb368605beb3986936e86c485cbb-dirty
sblanck
parents:
8
diff
changeset
|
27 </command> |
328f4031e5d3
planemo upload commit f882a5ba78afeb368605beb3986936e86c485cbb-dirty
sblanck
parents:
8
diff
changeset
|
28 |
328f4031e5d3
planemo upload commit f882a5ba78afeb368605beb3986936e86c485cbb-dirty
sblanck
parents:
8
diff
changeset
|
29 <inputs> |
328f4031e5d3
planemo upload commit f882a5ba78afeb368605beb3986936e86c485cbb-dirty
sblanck
parents:
8
diff
changeset
|
30 <param name="input" type="data" format="tabular" label="Input data" help="Input data"/> |
328f4031e5d3
planemo upload commit f882a5ba78afeb368605beb3986936e86c485cbb-dirty
sblanck
parents:
8
diff
changeset
|
31 <param name="normalization" type="select" label="Preprocessing/normalization"> |
328f4031e5d3
planemo upload commit f882a5ba78afeb368605beb3986936e86c485cbb-dirty
sblanck
parents:
8
diff
changeset
|
32 <option value="quantile">quantile normalization + log2</option> |
2 | 33 <option value="log2">log2 only</option> |
34 <option value="none">none</option> | |
9
328f4031e5d3
planemo upload commit f882a5ba78afeb368605beb3986936e86c485cbb-dirty
sblanck
parents:
8
diff
changeset
|
35 </param> |
328f4031e5d3
planemo upload commit f882a5ba78afeb368605beb3986936e86c485cbb-dirty
sblanck
parents:
8
diff
changeset
|
36 <param name="conditions" type="data" format="cond" label="Conditions" help="conditions associated with the input file"/> |
328f4031e5d3
planemo upload commit f882a5ba78afeb368605beb3986936e86c485cbb-dirty
sblanck
parents:
8
diff
changeset
|
37 <param name="annotations" type="text" label="Annotation GPL code" help="GPL code for annotations"/> |
328f4031e5d3
planemo upload commit f882a5ba78afeb368605beb3986936e86c485cbb-dirty
sblanck
parents:
8
diff
changeset
|
38 </inputs> |
2 | 39 |
9
328f4031e5d3
planemo upload commit f882a5ba78afeb368605beb3986936e86c485cbb-dirty
sblanck
parents:
8
diff
changeset
|
40 <outputs> |
328f4031e5d3
planemo upload commit f882a5ba78afeb368605beb3986936e86c485cbb-dirty
sblanck
parents:
8
diff
changeset
|
41 <data format="rdata" name="result_export_eset" label="export normalized expressionSet"/> |
328f4031e5d3
planemo upload commit f882a5ba78afeb368605beb3986936e86c485cbb-dirty
sblanck
parents:
8
diff
changeset
|
42 <data format="html" name="result_html" label="QC result"/> |
328f4031e5d3
planemo upload commit f882a5ba78afeb368605beb3986936e86c485cbb-dirty
sblanck
parents:
8
diff
changeset
|
43 </outputs> |
2 | 44 |
9
328f4031e5d3
planemo upload commit f882a5ba78afeb368605beb3986936e86c485cbb-dirty
sblanck
parents:
8
diff
changeset
|
45 <help> |
2 | 46 <![CDATA[ |
47 **What it does** | |
48 | |
49 This tool imports data stored in a tabular text file. | |
50 Column titles (chip IDs) must match the IDs of the .cond file. | |
51 GPL annotation code is also required to fetch annotations from GEO. | |
52 | |
53 **Exemple** | |
54 | |
55 Header of input tabular text file | |
56 :: | |
57 | |
8 | 58 |
2 | 59 "" "GSM80460" "GSM80461" "GSM80462" "GSM80463" "GSM80464" |
60 "1007_s_at" -0.0513991525066443 0.306845500314283 0.0854246562526777 -0.142417044615852 0.0854246562526777 | |
61 "1053_at" -0.187707155126729 -0.488026018218199 -0.282789700980404 0.160920188181103 0.989865622866287 | |
62 "117_at" 0.814755482809874 -2.15842936260448 -0.125006361067033 -0.256700472111743 0.0114956388378294 | |
63 "121_at" -0.0558912008920451 -0.0649174766813385 0.49467161164755 -0.0892673380970874 0.113700499164728 | |
64 "1294_at" 0.961993677420255 -0.0320936297098533 -0.169744675832317 -0.0969617298870879 -0.181149439104566 | |
65 "1316_at" 0.0454429707611671 0.43616183931445 -0.766111939825723 -0.182786075741673 0.599317793698226 | |
66 "1405_i_at" 2.23450132056221 0.369606070031838 -1.06190243892591 -0.190997225060914 0.595503660502742 | |
67 | |
68 | |
69 The .cond file should look like this | |
70 :: | |
71 | |
72 GSM80460 series of 16 tumors GSM80460 OSCE-2T SERIES OF 16 TUMORS | |
73 GSM80461 series of 16 tumors GSM80461 OSCE-4T Series of 16 Tumors | |
74 GSM80462 series of 16 tumors GSM80462 OSCE-6T Series of 16 Tumors | |
75 GSM80476 series of 4 normals GSM80476 OSCE-2N Series of 4 Normals | |
76 GSM80477 series of 4 normals GSM80477 OSCE-9N Series of 4 Normals | |
77 | |
78 | |
79 **Results** | |
14
e5a94bc69bd6
planemo upload for repository https://github.com/sblanck/smagexp/tree/master/smagexp_tools commit da1436252b5db4e90c39c95140558f0f93544160
sblanck
parents:
9
diff
changeset
|
80 - Boxplots and MA plots |
2 | 81 - Rdata object containing the data for further analysis. |
82 ]]> | |
9
328f4031e5d3
planemo upload commit f882a5ba78afeb368605beb3986936e86c485cbb-dirty
sblanck
parents:
8
diff
changeset
|
83 </help> |
2 | 84 |
85 </tool> |