dosorio / Peptides

An R package to calculate indices and theoretical physicochemical properties of peptides and protein sequences.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mz function broken

Stortebecker opened this issue · comments

Hi @dosorio .
Unfortunately, your changes on the mz function broke it for peptides without cysteines:

> mz("AYNVTQAFGR")
Fehler in table(unlist(strsplit(X, "")))[["C"]] : 
  Indizierung außerhalb der Grenzen
> mz("AYNVTQAFGRC")
[1] 643.8009

Hi @Stortebecker,

Thank you very much for letting me know. I will fix it ASAP.

Best,

Daniel

Fixed in 2d6c80c

Best,

Daniel