-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
bugSomething isn't workingSomething isn't workingneeds-triageReview is required to valid the labelReview is required to valid the label
Description
Operating System
Unix (e.g., Ubuntu 20.04)
Version
1.0
Python Version (optional)
3.10.12
Python Virtual Environment
Not using a virtual environment
Execution Environment
Encapsulated environment from the SURFMAP Docker image
Bug Description
The command below used to work, but I think the chimera version that I now use might be introducing lines in the .pdb file that SURFACE doesn't know how to interpret.
See error below:
Running: /home/surfmap/MSMS//pdb_to_xyzr /input/0307326f3c557828716ec74b28fdf620.rf2.lcpb.mmkr.pdb > ./shells/0307326f3c557828716ec74b28fdf620.rf2.lcpb.mmkr.xyzr-tmp ...
surface property mapping: kyte_doolittle Traceback (most recent call last):
File "/home/surfmap/tools/SurfmapTools.py", line 177, in <module>
main()
File "/home/surfmap/tools/SurfmapTools.py", line 166, in main
scalevalue = Structure.returnPropensity(dPDB[chainid][resid]["resname"], distmini, scale = "kyte_doolittle")
File "/home/surfmap/tools/Structure.py", line 158, in returnPropensity
kyte_doolittle = float(dkyte_doolittle[aa])
KeyError: 'UNK'
Mapping of the residues given in input failed. This can be due to a malformed residue file or a mistake in the reisdue numbering, type or chain.
Format should be the following:
chain residuenumber residuetype
example: A 5 LEU
Exiting now.
docker run --tty --rm --volume /bfx_nfs/surface/03/0307326f3c557828716ec74b28fdf620:/input/:rw --volume /bfx_nfs/surface/03/0307326f3c557828716ec74b28fdf620:/output/:rw nchenche/surfmap:v0.2 -pdb /input/0307326f3c557828716ec74b28fdf620.rf2.lcpb.mmkr.pdb -tomap all -d /output/0307326f3c557828716ec74b28fdf620.rf2.lcpb.mmkr_all.srfm
See a screenshot of the first few lines of the input file:
Should getting rid of the non-ATOM lines fix the issue?
Steps to Reproduce
see above
Relevant Log Output
Additional context (optional)
No response
Confirmation
- I confirm I have searched for duplicates and reviewed the relevant documentation.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingneeds-triageReview is required to valid the labelReview is required to valid the label
