-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error evaluating HELM string #8
Comments
Thanks for your reports of these problems with the direct handling of HELM. We will handle it as much as time permits or the community can more rapidly provide a solution, though I cannot guarantee a timeline by which we would post an update to the repository. |
About Oxytocin, if I do this:
and then use the result separately execute the standard pipeline, everything is fine:
The only differences in our strings is that the capping group is not included explicitly in mine. |
Hi there!
First of all, great work, and thanks for this neat tool!
I recently encountered some issues using
pyPept
with HELM strings. I installed thepyPept
package as recommended in a fresh conda environment with Python 3.9. When tryingrun_pyPept
with the first HELM string example from the README viarun_pyPept --helm "PEPTIDE1{P.E.P.T.I.D.E}$$$$V2.0"
I get the following error
Unfortunately, none of the HELM strings listed in the README.md seem to work.
In another attempt, I created a HELM string (oxytocin) myself using the HELM web editor. However, the resulting HELM string,
PEPTIDE1{C.Y.I.Q.N.C.P.L.G.[am]}$PEPTIDE1,PEPTIDE1,1:R3-6:R3$$$V2.0
, leads to the same "not enough sections" error as shown above.As a workaround, I could successfully run
pyPept
with the oxytocin example by converting the HELM string to BILN format. This was achieved with the BILN-converter script.The problem seems to occur in the
__split_helm
function inconverter.py
. For the case of oxytocin, thehelm_parts
list has only one item after the splitting loop:['PEPTIDE1{C.Y.I.Q.N.C.P.L.G.[am]},PEPTIDE1,1:R3-6:R317317.0']
. Hence,helm_parts[1]
throws anIndexError
. I can try to work on a bug fix in the coming weeks, but I would first have to familiarize myself with the HELM format and the possible variations.The text was updated successfully, but these errors were encountered: