contact map images overlapping
Closed this issue · 6 comments
Hi
After using contact_map.py , although the target residue does have a few amino acids in contact, the generated image is overlapping, as shown below:
Present .png file looks like:
Could this be a specific library based issue ? I have used contact_map.py with the previous versions of MD-TASK, when the networks were generated using R as a pdf file and they worked fine for the same residues.
The pdf file with earlier versions looked like:
Thanks
Payal
Hi @cpayal. It's possible. But it might also be related to the labels present in the PDB coordinate file. If you used the previous one that contains an "X" as the chain label, then that character should appear on the right side of that node. Is it possible to share a sample of your trajectory, along with the coordinate file? Thanks.
Hi @oliserand
I had named my chain as B, before running the calculation, which is why we see a jumbled "VAL617.B" in the overlapped image.
Attached is a sample pdb and trajectory.
sample_files_contactmap.zip
Sorry about that !
Attached:
sample_files_contactmap.zip
Thanks
Both the coordinate and trajectory files look OK, and run correctly. So, I think it has something to do with the libraries on your end. Please check that the conda environment is taking precedence over other any other pip environment or python installation you may have.
Here's what I got using this:
./contact_map.py --topology sample_reduced.pdb --residue PHE617 --chain B sample_reduced.trr
results.zip
Hi @oliserand
Thanks for the test and suggestions. Yes, you were right, I had earlier installed networkx through pip, uninstalled it and reinstalled in my conda environment.
Thanks
Payal