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

inputget error on alphafold structures #375

Open
shaharsu opened this issue Dec 8, 2023 · 2 comments
Open

inputget error on alphafold structures #375

shaharsu opened this issue Dec 8, 2023 · 2 comments

Comments

@shaharsu
Copy link

shaharsu commented Dec 8, 2023

Hi,

I have a pqr file generated from an alphafold2 pdb. I am trying to generate an input file with the following command:

python3 /opt/spack/opt/spack/linux-rhel8-icelake/gcc-11.2.0/apbs-3.4.1-xj5ly7rbs6vfdrxfabur5cgzdox6szek/share/apbs/tools/manip/inputgen.py --method=auto tmp/tmp-elec/AF2.pqr

The command exits with the following error:

Forcing a sequential calculation
Traceback (most recent call last):
  File "/opt/spack/opt/spack/linux-rhel8-icelake/gcc-11.2.0/apbs-3.4.1-xj5ly7rbs6vfdrxfabur5cgzdox6szek/share/apbs/tools/manip/inputgen.py", line 491, in <module>
    main()
  File "/opt/spack/opt/spack/linux-rhel8-icelake/gcc-11.2.0/apbs-3.4.1-xj5ly7rbs6vfdrxfabur5cgzdox6szek/share/apbs/tools/manip/inputgen.py", line 485, in main
    size.runPsize(filename)
  File "/mnt/spack/opt/spack/linux-rhel8-icelake/gcc-11.2.0/apbs-3.4.1-xj5ly7rbs6vfdrxfabur5cgzdox6szek/share/apbs/tools/manip/psize.py", line 289, in runPsize
    self.set_all()
  File "/mnt/spack/opt/spack/linux-rhel8-icelake/gcc-11.2.0/apbs-3.4.1-xj5ly7rbs6vfdrxfabur5cgzdox6szek/share/apbs/tools/manip/psize.py", line 233, in set_all
    self.setSmallest(n)
  File "/mnt/spack/opt/spack/linux-rhel8-icelake/gcc-11.2.0/apbs-3.4.1-xj5ly7rbs6vf
[AF2.zip](https://github.com/Electrostatics/pdb2pqr/files/13620394/AF2.zip)
drxfabur5cgzdox6szek/share/apbs/tools/manip/psize.py", line 174, in setSmallest
    if nsmall <= 0:
TypeError: '<=' not supported between instances of 'list' and 'int'

The same command works fine for pdb's obtained directly from the pdb website (e.g. 1UBQ). I'm attaching the initial AF2 pdb and the resulting pqr file.

@shaharsu
Copy link
Author

shaharsu commented Dec 8, 2023

Sorry - guess upload didn't work before - here it is.
AF2.zip

@jbardhan
Copy link

jbardhan commented Dec 8, 2023

Ha, was JUST about to ask. Thanks! I'll have a look as soon as I can.

Thanks very much,
Jay

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

2 participants