Improve generation of globalNoExpression calls in `InsertGlobalCalls`
org.bgee.pipeline.expression.InsertGlobalCalls, the propagation of no-expression calls, before insertion into the table
globalNoExpression, could be improved:
we now have homology relations between organs, and the method
loadAllowedAnatEntitiesshould use them.
maybe we shouldn't generate allowed anat. entities, but rather allowed conditions, as we do for generating download files, see
GenerateExprFile.propagateConditions(Set, Map, Map). Because when we propagate no-expression calls only by filtering on allowed anat. entities, we get to propagate to conditions such as: 'multicellular organism - cleavage' -> 'brain - cleavage'.
Of note, this second solution could be better implemented by taking into account start/end stages of anatomical entities, rather than using the solution adopted in
GenerateExprFile.propagateConditions. But for now, the start/end stage information is incomplete in Uberon. This could change in the future, we should keep that in mind.
This issue is considered of medium priority, because we already filter incorrect calls in download files, and we do not plan to use no-expression calls in topAnat at the beginning. This is considered medium effort, because there already exist DAO methods to retrieve homologous organs, and there already exists the method
GenerateExprFile.propagateConditions to generate valid conditions.