Opened 6 years ago
Closed 6 years ago
#1075 closed task (fixed)
Change the release exporter to work with list of patients
Reported by: | Nicklas Nordborg | Owned by: | Nicklas Nordborg |
---|---|---|---|
Priority: | major | Milestone: | Reggie v4.21 |
Component: | net.sf.basedb.reggie | Keywords: | |
Cc: |
Description
The current release exporter plug-in works with a list of raw bioassays and is then working it's way up to patient. The new implementation should start with a list of patients and work it's way down. It should also include other item types, such as Blood, DNA, FlowThrough, etc. Items need to be filtered based on conditions that has not yet been fully determined. For example, items marked with the DoNotUse annotation should not be included.
The old export of tab-separated files will not work with the new approach and should be removed.
Change History (30)
comment:1 by , 6 years ago
comment:2 by , 6 years ago
comment:3 by , 6 years ago
(In [5091]) References #1075: Change the release exporter to work with list of patients
Changed CohortWriter
API so that implementations can return multiple items.
Updated PatientWriter
implementation to only accept actual patient items. Added implementations for No
, NotAsked
, RetroNo
and Retract
items.
comment:4 by , 6 years ago
comment:5 by , 6 years ago
comment:6 by , 6 years ago
comment:7 by , 6 years ago
comment:8 by , 6 years ago
comment:9 by , 6 years ago
comment:10 by , 6 years ago
(In [5102]) References #1075: Change the release exporter to work with list of patients
Updated the MergedWriter
implementation. It will currently load MergedSequences items that have DoNotUse=null
and AnalysisResult=Successful
. It will currently only output the simple annotation values. Information from the demux, sequencing and pools are not yet included.
comment:11 by , 6 years ago
comment:12 by , 6 years ago
comment:13 by , 6 years ago
comment:14 by , 6 years ago
comment:15 by , 6 years ago
(In [5107]) References #1075: Change the release exporter to work with list of patients
Implemented support for exporting Histology and the GoodStain sample. Since we are no longer moving from the bottom up there is no lysate that can give us a partition date, so the implementation will currently select the hostology item with the latest partition date.
The release export should now be complete in the sense that all types of items can be fully exported with the same information as before. It still remains to implement more detailed filtering rules.
comment:16 by , 6 years ago
Status: | new → assigned |
---|
comment:17 by , 6 years ago
comment:18 by , 6 years ago
comment:19 by , 6 years ago
(In [5131]) References #1075: Change the release exporter to work with list of patients
Added writer implementations for DNA and FlowThrough. They both have a single filter: (Belongs to ticket #1081)
DoNotUse=null
. On the FlowThrough QiacubeBatchNo
is the only annotations. DNA also has the same NanoDrop annotations as RNA but doens't have RNAQC.
comment:20 by , 6 years ago
comment:21 by , 6 years ago
(In [5133]) References #1075: Change the release exporter to work with list of patients
Changed the DNA and FlowThrough writers to work with specific dao objects instead of generic extracts. This should be safer.
comment:22 by , 6 years ago
comment:23 by , 6 years ago
(In [5164]) References #1075: Change the release exporter to work with list of patients
Added filter creationDate <> null
for Lysate, Histology and Library to prevent the inclusion of items that has only been pre-registered and not yet performed in the lab. Other items are either not registered until they have been cretate (RNA, DNA, etc) or have other annotations that can be used instead (for example AnalsysisResult=Successful
for derived bioassay items.
comment:24 by , 6 years ago
comment:25 by , 6 years ago
comment:26 by , 6 years ago
(In [5199]) References #1075: Change the release exporter to work with list of patients
Removed the AnalysisResult=Successful
filter when loading aligned sequences since this value is not set by the legacy pipeline (Tophat/Cufflinks).
comment:27 by , 6 years ago
comment:28 by , 6 years ago
comment:29 by , 6 years ago
(In [5234]) References #1075: Change the release exporter to work with list of patients
Replaces a NullPointerException with a more descriptive ItemNotFoundException if a parent derived bioassay with the expected name can't be found. This should never happen unless something has been inocrrectly changed (eg. a manual rename och relink).
comment:30 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
(In [5089]) References #1075: Change the release exporter to work with list of patients
The release exporter plug-in now accepts an item list with patient/biosource items. The rest of the code has been modified so that the exporter code can be compiled and run without crashing. It is currently only exporting the patient data to a .json file.