-
Notifications
You must be signed in to change notification settings - Fork 134
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
Problems visualzing resnumbers greater than 9999 #993
Comments
hi @davidRFB: Can you please save one frame to .pdb format and try again with
to see if that's an issue with |
Hi @hainm ! Thanks for your answer. Here is the code with nglview and the pdb. The water number 1065 appears twice. I guess because also represent the water 1065X. |
So I guess it's the issue with |
Thank you very much ! Please, let me know if I can help with something. |
The issue is with not pytraj. I had the same problem with mdtraj or reading PDB directly. The problem with large structures is that residue number is becoming to big, so there is not enough field characters to hold it in PDB file in proper place. As a result the x,y,z values get shifted and NGLview (VMD has the same issue actually) can not read it. |
Thank you very much for your comment.
Hai
…On Wed, Aug 10, 2022 at 7:51 AM juliasubbotina ***@***.***> wrote:
The issue is with not *pytraj*. I had the same problem with *mdtraj* or
reading PDB directly. The problem with large structures is that residue
number is becoming to big, so there is not enough field characters to
hold it in PDB file in proper place
<https://zhanggroup.org/SSIPe/pdb_atom_format.html>. As a result the
x,y,z values get shifted and NGLview (VMD has the same issue actually) can
not read it.
For me the trick around was to renumber residue numbers (it wasn't a big
thing for my situation) and vois là. Everything worked just fine.
—
Reply to this email directly, view it on GitHub
<#993 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABB645N6B5KD5RTVCSVU6B3VYOJS7ANCNFSM5DMOE5JA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Question about usage? Please search your issue here first: Usage questions: Please ask here first [0] #589 and Usage questions about nglview: Please ask here first [1] #785
Version report
Hi ! I am using nglview with show_pytraj(). However I have a problem visualizing water close to a residue because, some water residue number are greater than 9999. And therefore I do not see these waters. Here is an example
I do not know if there is a problem with the topology with pytraj or maybe the visualizer.
Thank you for your time !
What an amazing proyect !
The text was updated successfully, but these errors were encountered: