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

PDBConstructionWarning and error code: 2 #195

Open
maciejwisniewski-drugdiscovery opened this issue Mar 5, 2024 · 0 comments
Open

PDBConstructionWarning and error code: 2 #195

maciejwisniewski-drugdiscovery opened this issue Mar 5, 2024 · 0 comments

Comments

@maciejwisniewski-drugdiscovery

Hello, as part of my project I want to redock several hundred structures of complexes. But I get some errors.
My command:

python -m inference --config default_inference_args.yaml--protein_path /mnt/evafs/groups/sfglab/mwisniewski/PhD/data/test/4kwg/4kwg_protein.pdb --ligand_description /mnt/evafs/groups/sfglab/mwisniewski/PhD/data/test/4kwg/4kwg_ligand.sdf --out_dir /mnt/evafs/groups/sfglab/mwisniewski/PhD/data/test/4kwg --complex_name diffdock

And then this error occures looped several dozen times for subsequent hydrogen atoms.

warnings.warn( /mnt/evafs/groups/sfglab/mwisniewski/anaconda3/envs/diffdock/lib/python3.9/site-packages/Bio/PDB/PDBParser.py:340: PDBConstructionWarning: PDBConstructionException: Atom H defined twice in residue <Residue SER het= resseq=500 icode= > at line 30410. Exception ignored. Some atoms or residues may be missing in the data structure.

And after that:
warnings.warn( Processing 1 of 1 batches (4 sequences) HAPPENING | confidence model uses different type of graphs than the score model. Loading (or creating if not existing) the data for the confidence model now. /mnt/evafs/groups/sfglab/mwisniewski/anaconda3/envs/diffdock/lib/python3.9/site-packages/torch/jit/_check.py:181: UserWarning: The TorchScript type system doesn't support instance-level annotations on empty non-base types ininit. Instead, either 1) use a type annotation in the class body, or 2) wrap the type in torch.jit.Attribute. warnings.warn("The TorchScript type system doesn't support " Size of test dataset: 1 0it [00:00, ?it/s]@> 30408 atoms and 1 coordinate set(s) were parsed in 0.23s. /mnt/evafs/groups/sfglab/mwisniewski/software/docking_software/DiffDock-1.1/datasets/parse_chi.py:91: RuntimeWarning: invalid value encountered in cast Y = indices.astype(int) @> 30408 atoms and 1 coordinate set(s) were parsed in 0.30s. Failed on ['diffdock'] linalg.svd: (Batch element 9): The algorithm failed to converge because the input matrix is ill-conditioned or has too many repeated singular values (error code: 2). 1it [08:00, 480.27s/it] Failed for 1 complexes Skipped 0 complexes

My protein pdb file is preprocessed with openbabel by removing solvants, adding hydrogens, etc. The file is attached.
4kwg_protein.zip
Maciek

@maciejwisniewski-drugdiscovery maciejwisniewski-drugdiscovery changed the title PDBConstructionWarning and PDBConstructionWarning and error code: 2 Mar 5, 2024
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