1476 |
29 Nov 11 |
pawels |
MageTab Exporter Plug-in |
1474 |
29 Nov 11 |
pawels |
2 |
--------------------------- |
1474 |
29 Nov 11 |
pawels |
3 |
|
1476 |
29 Nov 11 |
pawels |
From BASE2 experiment the plug-in exports the experimental metadata in MageTab format |
1474 |
29 Nov 11 |
pawels |
5 |
|
1474 |
29 Nov 11 |
pawels |
6 |
|
1474 |
29 Nov 11 |
pawels |
I Description |
1474 |
29 Nov 11 |
pawels |
8 |
---------------- |
1476 |
29 Nov 11 |
pawels |
Executed on an experiment in BASE2, the plug-in generates an SDRF and IDF files |
1474 |
29 Nov 11 |
pawels |
(see MageTab specification at http://www.mged.org/mage-tab/) with experiment's metadata, |
1474 |
29 Nov 11 |
pawels |
and an archive containing raw data files. |
1474 |
29 Nov 11 |
pawels |
12 |
|
1474 |
29 Nov 11 |
pawels |
13 |
|
1474 |
29 Nov 11 |
pawels |
II Requirements |
1474 |
29 Nov 11 |
pawels |
15 |
---------------- |
1476 |
29 Nov 11 |
pawels |
The plug-in was developed and tested with BASE 2.16.1. BASE 2.17.x versions should also be fine. |
1476 |
29 Nov 11 |
pawels |
If you are able to use the plug-in with earlier versions of BASE, please let the developer know. |
1474 |
29 Nov 11 |
pawels |
18 |
|
1474 |
29 Nov 11 |
pawels |
19 |
|
1474 |
29 Nov 11 |
pawels |
III Installation |
1474 |
29 Nov 11 |
pawels |
21 |
---------------- |
1474 |
29 Nov 11 |
pawels |
(1) Drop the jar in a folder in BASE (e.g. <BASE_HOME>/plugins). |
1474 |
29 Nov 11 |
pawels |
(2) Log in to BASE as a root, browse to Administrate -> Plugins -> Definitions, and click New. |
1474 |
29 Nov 11 |
pawels |
(3) In the dialog that opens, enter "no.uib.cbu.base.magetabexport.MageTabExporterPlugin" for class, |
1476 |
29 Nov 11 |
pawels |
and path to the plug-in jar file (e.g. <BASE_HOME>/plugins/MageTabExporter-x.x.jar) for path. |
1476 |
29 Nov 11 |
pawels |
(4) In the job agents tab, add job agents that will be able to execute the plug-in (if any). |
1474 |
29 Nov 11 |
pawels |
(5) Click Save |
1474 |
29 Nov 11 |
pawels |
28 |
|
1476 |
29 Nov 11 |
pawels |
The new plug-in appears under the name "MageTab exporter" in the plug-ins list, and is now ready for use. |
1474 |
29 Nov 11 |
pawels |
30 |
|
1474 |
29 Nov 11 |
pawels |
31 |
|
1474 |
29 Nov 11 |
pawels |
IV Usage |
1474 |
29 Nov 11 |
pawels |
33 |
---------------- |
1474 |
29 Nov 11 |
pawels |
34 |
|
1476 |
29 Nov 11 |
pawels |
The plug-in can be launched from the details page of an experiment. Please make sure that the experiment that is |
1474 |
29 Nov 11 |
pawels |
to be exported is properly created (documented). Use the experiment overview/validation in BASE. |
1474 |
29 Nov 11 |
pawels |
37 |
|
1476 |
29 Nov 11 |
pawels |
The plug-in supports pooled samples, extracts and labeled extracts, but currently the maximum level of |
1474 |
29 Nov 11 |
pawels |
nesting of items of one type is 2. This means that pool of samples (and extracts/labeled extracts) is |
1474 |
29 Nov 11 |
pawels |
supported, but pool of pooled samples (or extracts/labeled extracts) is not. |
1474 |
29 Nov 11 |
pawels |
41 |
|
1476 |
29 Nov 11 |
pawels |
The MageTab exporter plug-in has following parameters: |
1474 |
29 Nov 11 |
pawels |
- Experiment |
1476 |
29 Nov 11 |
pawels |
the experiment to export, set by default to the one that was open when launching the plug-in |
1474 |
29 Nov 11 |
pawels |
- Save as |
1474 |
29 Nov 11 |
pawels |
a path and prefix for the files that are created, e.g. using /home/me/prefix will result |
1476 |
29 Nov 11 |
pawels |
in two files being created during the plug-in execution: /home/me/prefix_idf.txt and /home/me/prefix_sdrf.txt |
1474 |
29 Nov 11 |
pawels |
- Save raw data archive as |
1474 |
29 Nov 11 |
pawels |
name of the zip archive with raw data |
1474 |
29 Nov 11 |
pawels |
- Overwrite |
1474 |
29 Nov 11 |
pawels |
if files with the same names as the ones specified in "Save as" and/or "Save raw data archive as" |
1474 |
29 Nov 11 |
pawels |
should be overwritten |
1474 |
29 Nov 11 |
pawels |
- Release date |
1474 |
29 Nov 11 |
pawels |
a date that is set in the IDF file as the Public Release Date |
1474 |
29 Nov 11 |
pawels |
- Quote fields |
1474 |
29 Nov 11 |
pawels |
if the content in tab-delimited IDF and SDRF files should be quoted with double quotes |
1474 |
29 Nov 11 |
pawels |
- Handle missing content by |
1476 |
29 Nov 11 |
pawels |
in certain experimental setups missing/empty content is allowed for biosources and/or samples. The plug-in |
1474 |
29 Nov 11 |
pawels |
can ignore these missing content and fill empty values with a replacement text (see next parameter). |
1476 |
29 Nov 11 |
pawels |
If you don't expect missing items in your experiment and set the parameter to Error, the plug-in will fail |
1474 |
29 Nov 11 |
pawels |
with an error message if missing/empty item is found |
1474 |
29 Nov 11 |
pawels |
- Replace missing content with |
1474 |
29 Nov 11 |
pawels |
a text to replace missing items, e.g. "N/A", "-", "" |
1474 |
29 Nov 11 |
pawels |
- Raw data file type |
1474 |
29 Nov 11 |
pawels |
select the type of the raw data files that should be included in the raw data file archive. Options |
1474 |
29 Nov 11 |
pawels |
available here are platform/variant specific |
1474 |
29 Nov 11 |
pawels |
- ArrayExpress accession AnnotationType |
1474 |
29 Nov 11 |
pawels |
type of annotations holding ArrayExpress accession ids (see (2) on section V to learn more) |
1474 |
29 Nov 11 |
pawels |
- Material Type AnnotationType |
1474 |
29 Nov 11 |
pawels |
type of annotations holding MGED ontology Material Type terms (see (3) in section V to learn more) |
1474 |
29 Nov 11 |
pawels |
71 |
|
1476 |
29 Nov 11 |
pawels |
The MageTab exporter plug-in supports configuration, so site's default/preferred settings of many parameters can be stored |
1474 |
29 Nov 11 |
pawels |
and reused to ease the execution. |
1474 |
29 Nov 11 |
pawels |
74 |
|
1474 |
29 Nov 11 |
pawels |
75 |
|
1474 |
29 Nov 11 |
pawels |
V Useful tips |
1474 |
29 Nov 11 |
pawels |
77 |
---------------- |
1474 |
29 Nov 11 |
pawels |
78 |
|
1476 |
29 Nov 11 |
pawels |
To get most of the plug-in capabilities you could: |
1476 |
29 Nov 11 |
pawels |
(1) make sure that the format of the author and affiliation fields is parsable by the plug-in. |
1474 |
29 Nov 11 |
pawels |
This will allow to split individual authors and automatically map them to institutions they are |
1474 |
29 Nov 11 |
pawels |
affiliated with. Format the fields in the following way: |
1474 |
29 Nov 11 |
pawels |
- individual author entires should be split by ", " (comma + space) |
1474 |
29 Nov 11 |
pawels |
- author's names should be split by space, and in follow the order: first_name middle_name last_name |
1474 |
29 Nov 11 |
pawels |
- affiliation mark(s) should be numbers following the last name |
1474 |
29 Nov 11 |
pawels |
- between last name and affiliation mark(s) no spaces/characters is allowed |
1474 |
29 Nov 11 |
pawels |
- affiliation marks should be split by a single comma |
1474 |
29 Nov 11 |
pawels |
Example: "John Jack Jones1,3 Joly Jane2, Jeremy Joe Jakes2,1,3" |
1474 |
29 Nov 11 |
pawels |
89 |
|
1474 |
29 Nov 11 |
pawels |
- individual institutions in affiliation field should be in separate lines (split by \n, \r or both) |
1474 |
29 Nov 11 |
pawels |
- line number is the institution mark, e.g institution in line 3 will be mapped to authors with |
1474 |
29 Nov 11 |
pawels |
affiliation mark 3. |
1476 |
29 Nov 11 |
pawels |
- if you put a number in front of the institution name it will help you check if the plug-in did |
1474 |
29 Nov 11 |
pawels |
a good job mapping authors with affiliations |
1474 |
29 Nov 11 |
pawels |
Example: "1 Institute Without a Name, Somestreet 100, 5044 Sometown, Somewhere |
1474 |
29 Nov 11 |
pawels |
2 Institute With a Name, Otherstreet 10, 1042 Othertown, Somewhereelse" |
1474 |
29 Nov 11 |
pawels |
97 |
|
1474 |
29 Nov 11 |
pawels |
The affiliation marks and the numbers preceding institutions are not removed, and will be present in the |
1474 |
29 Nov 11 |
pawels |
exported IDF file. This allows to check if the automatic mapping is correct. Afterwards, before the files are submitted |
1474 |
29 Nov 11 |
pawels |
to ArrayExpress, the numbers should be removed. |
1474 |
29 Nov 11 |
pawels |
101 |
|
1474 |
29 Nov 11 |
pawels |
(2) create an annotation type representing an ArrayExpress accession identifier. The annotation type |
1474 |
29 Nov 11 |
pawels |
should be enabled for array designs and protocols, and used to set accession ids on the items that |
1474 |
29 Nov 11 |
pawels |
had been previously exported to ArrayExpress. If you export an experiment using a design or protocol(s) |
1476 |
29 Nov 11 |
pawels |
with such an annotation, the plug-in will pick up identifiers from the annotations, and use them in |
1474 |
29 Nov 11 |
pawels |
the exported SDRF file (Array Ref and Protocol Ref columns). Just remember to set the correct annotation |
1476 |
29 Nov 11 |
pawels |
type when you configure the plug-in ("ArrayExpress accession AnnotationType" parameter). |
1474 |
29 Nov 11 |
pawels |
108 |
|
1474 |
29 Nov 11 |
pawels |
(3) create an annotation type representing an MGED Ontology term: Material Type. The annotation type |
1474 |
29 Nov 11 |
pawels |
should be enabled for biosources, samples, extracts and labeled extracts. If you then annotate your |
1476 |
29 Nov 11 |
pawels |
biomaterials using this annotation type, and select it in the plug-in configuration parameter |
1476 |
29 Nov 11 |
pawels |
("Material Type AnnotationType"), the plug-in will use the annotations in the exported SDRF file |
1474 |
29 Nov 11 |
pawels |
(Material Type column). |
1474 |
29 Nov 11 |
pawels |
114 |
|
1476 |
29 Nov 11 |
pawels |
(4) store some of the settings in a plug-in configuration. The annotation types are the best candidates. Also |
1474 |
29 Nov 11 |
pawels |
raw data file types could be predefined in platform specific configurations. |
1474 |
29 Nov 11 |
pawels |
117 |
|
1474 |
29 Nov 11 |
pawels |
118 |
|
1474 |
29 Nov 11 |
pawels |
119 |
|
1474 |
29 Nov 11 |
pawels |
License |
1474 |
29 Nov 11 |
pawels |
121 |
---------------- |
1474 |
29 Nov 11 |
pawels |
All rights reserved. This program and the accompanying materials |
1474 |
29 Nov 11 |
pawels |
are made available under the terms of the GNU Public License v3.0 |
1474 |
29 Nov 11 |
pawels |
which accompanies this distribution, and is available at |
1474 |
29 Nov 11 |
pawels |
http://www.gnu.org/licenses/gpl-3.0.html |
1474 |
29 Nov 11 |
pawels |
126 |
|