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

Use --whitespace for pdb2pqr #30

Merged
merged 1 commit into from
Mar 26, 2024

Conversation

CalounovaT
Copy link
Contributor

Hi everyone,
When running run_electrostatic, I have encountered couple of times problem with pqr conversion of my input pdb files.

When running the pdb2pqr with default settings, for some atoms this conversion made the x,y,z fields merge.
This is an example of such case: 11.992-150.282 -11.794 where x and y merged. This made apbs fail with: Valist_readPQR: Error parsing atom 1! Please double check this atom in the pqr file, e.g., make sure there are no concatenated fields. Error reading molecules!

In this PR I have added the --whitespace option for pdb2pgr which fixes this problem by adding whitespaces between the fields.

@fwaibl
Copy link
Contributor

fwaibl commented Mar 26, 2024

Hi,

thanks for your PR, this seems good to me. But let's wait for a comment from @vhoer.

Best,
Franz

@vhoer
Copy link
Collaborator

vhoer commented Mar 26, 2024

Hi, looks good to me, thank you!
Best,
Valentin

@vhoer vhoer merged commit 65da35b into liedllab:main Mar 26, 2024
3 checks passed
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

Successfully merging this pull request may close these issues.

3 participants