Skip to content
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

Issue in the setup.py for non s-s bond system #16

Open
xy127 opened this issue Oct 11, 2023 · 0 comments
Open

Issue in the setup.py for non s-s bond system #16

xy127 opened this issue Oct 11, 2023 · 0 comments

Comments

@xy127
Copy link

xy127 commented Oct 11, 2023

Hello,
Sorry to bother, I'm trying to repeat the CDK2 example in the tutorial folder by following the instructions in the Readme.md. In the third step of seting up FEP, after executing python setup.py, the following error occurs:

 usage: QligFEP [-h] -l1 LIG1 -l2 LIG2 -FF {OPLS2005,OPLS2015,AMBER14sb,CHARMM36,CHARMM22,CHARMM_TEST} -s {water,protein,vacuum} -c CLUSTER [-r SPHERERADIUS] [-b CYSBOND] [-l {1,0.5}] [-T TEMPERATURE] [-R REPLICATES]
               [-S {linear,sigmoidal,exponential,reverse_exponential}] [-w WINDOWS]
QligFEP: error: argument -b/--cysbond: expected one argument

The error is caused by the line 98 in setup.py call = setupFEP + ' -l1 ' + mol1 + ' -l2 ' + mol2 + ' -FF OPLS2015 -b' + cysbond + ' -S sigmoidal -s protein -c TETRA -r 25 -l 1 -w' + windows , where the option -b is empty. I checked the protPREP.log in 2.protprep in which no s-s bond is crearted for this protein. And if I removed the '-b' option, no error would occur. So Is there an 'if condition' missed in the setup.py so that proteins with no S-S bond don't need '-b' option.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant