It would be helpful to include an orientation attribute for intergenic iLoci, showing the orientation of the flanking piLoci/niLoci. There would be 4 possible values.
>> Both genes forward
<< Both genes reverse
>< Genes oriented toward each other
<> Genes oriented away from each other
This would be handled pre-refinement, since that is the only stage at which (positive-length) iiLoci are dealt with. If the right flank contains overlapping genes/piLoci, orientation is determined by the first gene (easy to retrieve since they are stored in sorted order). If the left flank contains overlapping genes/piLoci, orientation is determined by the gene with the right-most end coordinate (not necessarily the last gene).
It would be helpful to include an orientation attribute for intergenic iLoci, showing the orientation of the flanking piLoci/niLoci. There would be 4 possible values.
This would be handled pre-refinement, since that is the only stage at which (positive-length) iiLoci are dealt with. If the right flank contains overlapping genes/piLoci, orientation is determined by the first gene (easy to retrieve since they are stored in sorted order). If the left flank contains overlapping genes/piLoci, orientation is determined by the gene with the right-most end coordinate (not necessarily the last gene).