#1050 closed task (fixed)
Add core support for storing analysed data in files instead of in the database
Reported by: | Nicklas Nordborg | Owned by: | Nicklas Nordborg |
---|---|---|---|
Priority: | critical | Milestone: | BASE 2.8 |
Component: | core | Version: | |
Keywords: | Cc: |
Description (last modified by )
This is related to #1029, but is only about changes needed in the core to support this. It is also related to #1051 which is about changes that is needed in the web GUI and #1052 which is about changes needed by core plug-ins.
Basically, we want to use the existing system for attaching files to raw bioassays and array designs, but without the platform concept. Under the hood this is already a separate thing so it should not be a problem. Theoretically, the data file should contain the same data that is otherwise imported into the database. This means that we need to be able to attach files on the bioassay level, and on the extra value level. We are not going to add any more meta-data columns than what is already there. But we need to duplicate the existing columns to be able to tell the difference between data in files and data in the database.
Here are the details:
- Changes for
BioAssaySetData
:- implement the
FileStoreEnabledData
interface - add
numFileSpots
andnumFileReporters
as properties
- implement the
- Changes for
ExtraValueData
:- implement the
FileStoreEnabledData
interface - add
numFileValues
as a property
- implement the
- Changes for
BioAssaySet
andExtraValue
:- implement the
FileStoreEnabled
interface. ThegetPlatform()
andgetVariant()
methods should always return null. ThegetParentFileSets()
method should check if the parent item has files and get those. The parent item for aBioAssaySet
is theBioAssaySet
it is created from and for anExtraValue
theBioAssaySet
it is attached to. - add setter/getter methods for the meta-data properties
- implement the
- The installation should create two generic
DataFileType
:s.generic.spotdata
which can be used onBioAssaySet
:sgeneric.extravaluedata
which can be used onExtraValue
:s
- We need to extend the current test case with a test that uses a dummy file instead of the database.
Change History (8)
comment:1 by , 17 years ago
Description: | modified (diff) |
---|
comment:2 by , 17 years ago
Description: | modified (diff) |
---|
comment:3 by , 17 years ago
Description: | modified (diff) |
---|
comment:4 by , 17 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:5 by , 17 years ago
comment:6 by , 17 years ago
(In [4335]) References #1050: Add core support for storing analysed data in files instead of in the database
Added BioAssayData.getNumFileSpots() and other things related to it.
(In [4334]) References #1050: Add core support for storing analysed data in files instead of in the database
Everything should now be in place. Will test with #1051 before closing this ticket.