Opened 6 weeks ago
Last modified 12 days ago
#2329 closed enhancement
Implement a more fine-grained link between item subtypes and annotation type categories — at Initial Version
Reported by: | Nicklas Nordborg | Owned by: | everyone |
---|---|---|---|
Priority: | major | Milestone: | BASE 3.20 |
Component: | core | Version: | |
Keywords: | Cc: |
Description
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.