1 | GENERAL INFO |
---|
2 | |
---|
3 | The BatchDataImporter plugin imports a batch of individual data files into an experiment chosen by the user. It is set up to be invoked from the detail view of a single Experiment where an import tab lets the user select a zip file that contains all the data files. On invocation it proceeds to create a new subdirectory in the user's raw data directory -- this subdirectory is named after the zip file minus the extension plus a timestamp in the format ddMMyy_hhmmss. The zip file is unzipped into this directory. For each file in the directory, a single RawBioAssay object is then created, and once all the data files have been processed in this way, the RawBioAssay objects just created are attached to the Experiment where the import is run from. |
---|
4 | |
---|
5 | It is assumed that all the data files are of the same data type and format -- the import will fail otherwise. It is also assumed that a suitable import configuration for the data exists already. |
---|
6 | |
---|
7 | ============================================================ |
---|
8 | |
---|
9 | INSTALLATION |
---|
10 | |
---|
11 | - Place sbrn-commons.jar into the www/WEB-INF/lib directory of your BASE2 installation. |
---|
12 | |
---|
13 | - Place batchimporter.jar into the www/plugins directory of your BASE2 installation. |
---|
14 | |
---|
15 | - Create a new plugin definition: |
---|
16 | 1. In the BASE web client, go to Administrate -> Plugins -> Definitions. |
---|
17 | 2. Click New. |
---|
18 | 3. In the dialog that opens, enter "sbrn.base.BatchDataImporter" under Class. |
---|
19 | 4. Under Path, enter the path to the plugin jar file, i.e. <BASE_HOME>/www/plugins/batchimporter.jar |
---|
20 | 5. Click Save. |
---|
21 | The new plugin appears under the name "Batch Data Importer" in the plugins list and is now ready to use. |
---|
22 | |
---|
23 | Bear in mind that if you install plugins as an administrator you will have still have to share them to the appropriate users by manually setting the permissions on the item. |
---|
24 | |
---|
25 | ============================================================ |
---|
26 | |
---|
27 | USE |
---|
28 | |
---|
29 | 1. Zip up into a single file the data files that make up your experiment. |
---|
30 | 2. Create a new Experiment in the BASE web client. Make sure it is of the same data type as the data in the files you want to import. |
---|
31 | 3. Open the detail view of the newly created experiment and click on the import tab. |
---|
32 | 4. In the dialog that opens, leave the settings for Plugin and File format on auto-detect and click Next. |
---|
33 | 5. On the next screen, select the zip file that contains your data files and click Next. |
---|
34 | 6. The next screen reviews what the plugin knows about your setup so far, and does not need to be modified -- click Next. |
---|
35 | 7. The next screen gives you an option for entering a job name and description but you can also go with the defaults -- click Finish. You will then be shown the progress of the batch import in the dialog, with the page refreshing itself regularly. |
---|
36 | |
---|
37 | For long imports you can close the dialog, and even log out of BASE and shut down your browser or even your computer. The Job information is stored persistently on the server and your job will execute independently of this. You can check its status by going back to the View -> Jobs menu item in the web client. |
---|
38 | |
---|
39 | When the import has finished, you can check the detail view of your experiment -- the raw bioassays that have been created should be listed at the bottom of the page. |
---|
40 | |
---|
41 | ============================================================ |
---|
42 | |
---|
43 | AUTHOR |
---|
44 | |
---|
45 | Micha Bayer - Plant Bioinformatics Group, Scottish Crop Research Institute |
---|
46 | email: sbrn@scri.ac.uk |
---|
47 | web: http://www.scri.ac.uk and http://www.scri.sari.ac.uk/MichaBayer.htm |
---|
48 | |
---|
49 | |
---|
50 | |
---|