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