You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Detokenizing peptides with mods e.g. PEP+79.996 with let's say reversed tokenized tensor [1,2,3] is not returning the expected behavior. In the current implementation here https://github.com/wfondrie/depthcharge/blob/main/depthcharge/tokenizers/peptides.py#L201
The tokens [1,2,3] get first detokenized and joined to P+79.996EP before getting reversed to PEP69.97+P which is then returned. I think they should be first detokenized without joining (i.e. join=False in detokenize()), then reversed, finally joined.
Best,
Daniela
The text was updated successfully, but these errors were encountered:
Hi all,
Detokenizing peptides with mods e.g.
PEP+79.996
with let's say reversed tokenized tensor [1,2,3] is not returning the expected behavior. In the current implementation here https://github.com/wfondrie/depthcharge/blob/main/depthcharge/tokenizers/peptides.py#L201The tokens [1,2,3] get first detokenized and joined to P+79.996EP before getting reversed to PEP69.97+P which is then returned. I think they should be first detokenized without joining (i.e.
join=False
indetokenize()
), then reversed, finally joined.Best,
Daniela
The text was updated successfully, but these errors were encountered: