Open lalehan opened 5 years ago
Hello, I'm trying to install through git and this error occurs:
fatal: repository 'zhenglz@github.com/zheng/dockingML.git' does not exist
Could you please provide some guidance? Thanks.
There is an error in the README.md file. Now the bug has been fixed. The right way to install the package is:
$ cd /home/john/applications $ pip install networkx $ pip install mdtraj $ git clone https://github.com/zhenglz/dockingML.git $ cd dockingML $ pip install ./ Or you may use Anaconda to install the package. Please refer to the README page. $ conda create -name mdanaly python=3.6 $ source activate mdanaly $ conda install -c omnia mdtraj $ conda install pandas mpi4py numpy matplotlib sklearn networkx $ conda install -c rdkit rdkit $ cd $HOME/applications/dockingML $ pip install .
Thank you for the guidance, it actually worked. No problem with installation anymore, however when I run gmx_cmap.py, the error in the picture occurs.
Thank you for the guidance, it actually worked. No problem with installation anymore, however when I run gmx_cmap.py, the error in the picture occurs.
I may suggest you have a python 3.5 or 3.6, then install the package. It would be preferred to set up the environment with anaconda.
I did exactly the same and the error persists: Does it have anything to do with the default python version on the system?
I did exactly the same and the error persists: Does it have anything to do with the default python version on the system?
Note that although you are using Python 3.5, your python libraries are still 2.7. See the figure you provided.
A potential solution is unset pythonpath using: $ source deactive # to escape from py35 environment $ unset PYTHONPATH $ unset PYTHONHOME $ source activate py35 $ gmx_cmap.py -h
Yes, that's what I thought. I wanted to make Python 3 default for that matter, but couldn't do it yet. I tried your solution:
Quite strange.
You may now try these:
$ source activate py35 $ cd dockingML $ which pip # make sure that pip is in xx/envs/py35/bin/pip $ pip install ./ # try to install the package again $ cd xx/dockingML/bin $ python ./gmx_cmap.py -h
I think I'll try yum install Glibc 2.14 now and see what happens:
The package now is working as desired. But seems some library is not compatible with mdtraj.
Yes, Glibc 2.14 may need to be upgraded. You may find this link useful: https://unix.stackexchange.com/questions/176489/how-to-update-glibc-to-2-14-in-centos-6-5
I was just reading that :) Thank you very much, really. This was way more than helpful. I'll post here once I manage to run. Best,
I was just reading that :) Thank you very much, really. This was way more than helpful. I'll post here once I manage to run. Best,
No problem.
Looks like my errors get better: I feel I'm getting somewhat closer. Thanks again!
I have never seen such an error. "core dumped" may be caused by a lot of different reasons. I am not sure how to deal with this error.
But you could try the code in python console and return me your output: $ python
from mdanaly import cmap import dockml
Here it is:
Ah, confused.
What about:
python
import mdtraj as mt import numpy as np
Here:
Then it seems like that mdtraj is not well installed. The error may raise from the glibc. You may need to re-install glibc after you upgrade your centos. And reinstall mdtraj and the package again.
Thank you again so much. I guess I really should upgrade centos which seems tricky (this workstation is open to common use). However that looks like the only way to get away with it. Later I will reinstall mdtraj and the package again. Many thanks, once I manage I'll post it here :)
Glad to be helpful!
Hello again, I switched to a newer Centos and it works :) Thank you again! I run gmx_cmap.py, but it requests: I have no idea when I supplied 1000, 130643, 1. If this is an issue to solve by further reading, please guide me. I couldn't locate it anywhere.
Hello again, I switched to a newer Centos and it works :) Thank you again! I run gmx_cmap.py, but it requests: I have no idea when I supplied 1000, 130643, 1. If this is an issue to solve by further reading, please guide me. I couldn't locate it anywhere.
The error comes from the inconsistancy of atom numbers in your xtc and referece pdb file.
Mdtraj loads the xtc file using a mdtraj.iterload() method, which requires a xtc file and a reference pdb file as inputs. The reference pdb works as the topology, the same function as the -s md.tpr in trjconv in Gromacs. Please make sure that the number of atoms in xtc file is the same as the reference pdb.
For example, for your system, you may have 12305 non-water molecules/ions atoms. So make sure both the xtc and reference pdb (specified through gmx_cmap.py -s reference.pdb) has the same number of atoms. You may process the xtc file and reference.pdb file using gmx trjconv before performing contact map calculation.
Thank you very much, I think it will be pretty straightforward by trjconv command. All the best,
Hello again, I managed to run gmx_cmap.py. Thank you for everything. However, I'm not sure if it's really useful for obtaining a contact map between ligand and protein. I'm doing this: Is this only applicable for protein-protein contacts? Many thanks, best regards..
You may use -at all all to generate a all-atom based contact map between the protein and a ligand.
lalehan notifications@github.com于2019年1月31日 周四下午10:37写道:
Hello again, I managed to run gmx_cmap.py. Thank you for everything. However, I'm not sure if it's really useful for obtaining a contact map between ligand and protein. I'm doing this: [image: screenshot from 2019-01-31 17-34-54] https://user-images.githubusercontent.com/41117553/52061140-b8520200-257e-11e9-87eb-bae2a8a5e54d.png Is this only applicable for protein-protein contacts? Many thanks, best regards..
— You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/zhenglz/dockingML/issues/5#issuecomment-459367005, or mute the thread https://github.com/notifications/unsubscribe-auth/AJu_YuvwhvLV4Z4gLMkuK-9eRzyhOrurks5vIv-pgaJpZM4aOkXw .
Looks like it's working :) Thanks again :)
Hello, I'm trying to install through git and this error occurs:
fatal: repository 'zhenglz@github.com/zheng/dockingML.git' does not exist
Could you please provide some guidance? Thanks.