Open ifokkema opened 4 years ago
To remind myself, I think that p.(=) shokiuld always be used instead of p.= . We have thought about this before, and I think it does make sense to implement this change. I will do this. now.
There is an alternate translation Alphabet used by Biopython that deals with this issue in theory. Shouldn't need a hack. I'm going to leave this for now until after the next stable release and start putting ideas together here for us to discuss.
Adapted from NM_020451.2:
An example of where this currently fails is NC_000001.10:g.26140612_26140626delinsT. All endpoints strangely enough return an
p.=
prediction (not even ap.(=)
). Obviously, it's not easy to recognize selenoproteins, but perhaps some steps can be made.p.(=)
instead ofp.=
would be an improvement already.UGA
instead ofTGA
where you have determined a readthrough to be, and make UGA map to the Sec aminoacid. That's a bit of a hack perhaps, but it could work if you're looking for ways to do it.