Opened 2 months ago
Closed 5 weeks ago
#2329 closed enhancement (fixed)
Implement a more fine-grained link between item subtypes and annotation type categories
Reported by: | Nicklas Nordborg | Owned by: | everyone |
---|---|---|---|
Priority: | major | Milestone: | BASE 3.20 |
Component: | core | Version: | |
Keywords: | Cc: |
Description (last modified by )
There is currently a very soft link that matches the name of the ItemSubtype
with the name of the AnnotationTypeCategory
. This is used for filtering out a subset of annotation types that should be relevent for the given subtype. However, this filtering is no longer enough.
For example, we have the subtype AlignedSequences
and matching category. The problem now is that we use the AlignedSequences
subtype for RNAseq, WGS and miRNA. The have some common annotations and some that are only relevant for one. For example, the FRACTION_MIRNA
is only relevant when we have sequenced miRNA, but it is still included in lists and form for all AlignedSequences
.
So we need to divided the AlignedSequences
category into different sub-categories. In this case, the ItemSubtype
and Pipeline
annotation could be combined to make this happen, but we need a generic solution. The outline so far is:
- No items should need to be updated. We should not introduce new
ItemSubtypes
, but may have to add more settings to existing subtypes. - All annotations in a
AnnotationTypeCategory
should be relevant for a given item. This means that existing categories should be split into several categories. - We need to come up with a smarter way to match categories from existing items. We can't just use the names of the subtype and category.
The final solution was to create a real link from AnnotationTypeCategory to an ItemSubtype. We no longer have to rely on matching by name. Then, to discriminate between multiple categories that are linking to the same subtype we can use an annotation. The subtype can specify a single enumerated annotation type to use as discriminator. Categories that are linked to the subtype can then select one or more values from the enumeration that belong to the category.
Change History (16)
comment:1 by , 2 months ago
comment:16 by , 5 weeks ago
Description: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | new → closed |
In 8247: