Opened 7 years ago
Closed 7 years ago
#987 closed task (fixed)
Cohort exporter plugin
Reported by: | Nicklas Nordborg | Owned by: | Nicklas Nordborg |
---|---|---|---|
Priority: | major | Milestone: | Relax v1.1 |
Component: | net.sf.basedb.relax | Keywords: | |
Cc: |
Description
We should implement a plug-in that can export cohort data into tab-separated file. The basic functionality is similar to the original release exporter in reggie (see #887).
The plug-in should use an item list as input.
A project must be active since that will decide which annotations that are exported.
It should be possible to start with a list of any type of item (eg. rawbioassay, derived bioassay or biomaterial).
The exporter should only move upwards to parent items. For example, if the start list contains a library items, the exporter should create files for the libraries, rna, specimen and biosources.
It is assumed that all root items are of the same type. We can check this and give an error message if not. It is also expected that moving up along the parent item path we will pass through the same type of parents for all items. This might be possible to check or we could ignore it (but then we will end up with different number of items in some of the files).
The first column in each file should be the name of the "root" item. The second column should be the name of the current item. After that annotations that are relevant for the current item type are following.
Do we need columns for paths to files?
Expression values will not be exported in the first version.
Change History (5)
comment:1 by , 7 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:2 by , 7 years ago
comment:3 by , 7 years ago
comment:4 by , 7 years ago
comment:5 by , 7 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
(In [4553]) References #987: Cohort exporter plugin
Added the "Cohort exporter" plug-in. It seems to work and produce files as expected.