This makes it work for all cases, see example2.zip
I have splitted it into two commits, the first one completes the logic that you started adding, the second one adds some extra logic to handle the special case of a single base exon (where isTruncatedEnd && isTruncatedStart but should be displayed as isFiller with text), see how the result looks in the left and right features in the bottom lane of the image above.
I noticed however that the current implementation of getAminoAcidDataForEachBaseOfDna messes up with Edit > Reverse complement entire sequence. This causes this error stack:
I don't think this is related to what I implemented, since reverse-complementing the sequence outside of ove and loading it causes no problem. I think the function getAminoAcidDataForEachBaseOfDna is being called when not everything in the features has been updated after reverse complementing? Or maybe existing translations cause the problem?
Hi @tnrich,
This makes it work for all cases, see example2.zip
I have splitted it into two commits, the first one completes the logic that you started adding, the second one adds some extra logic to handle the special case of a single base exon (where
isTruncatedEnd
&&isTruncatedStart
but should be displayed asisFiller
with text), see how the result looks in the left and right features in the bottom lane of the image above.I noticed however that the current implementation of
getAminoAcidDataForEachBaseOfDna
messes up withEdit > Reverse complement entire sequence
. This causes this error stack:I don't think this is related to what I implemented, since reverse-complementing the sequence outside of ove and loading it causes no problem. I think the function
getAminoAcidDataForEachBaseOfDna
is being called when not everything in the features has been updated after reverse complementing? Or maybe existing translations cause the problem?