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

repository does not exist #5

Open
lalehan opened this issue Jan 23, 2019 · 25 comments
Open

repository does not exist #5

lalehan opened this issue Jan 23, 2019 · 25 comments

Comments

@lalehan
Copy link

lalehan commented Jan 23, 2019

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.

@zhenglz
Copy link
Owner

zhenglz commented Jan 23, 2019

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 .

@lalehan
Copy link
Author

lalehan commented Jan 23, 2019

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.
cmap_error

@zhenglz
Copy link
Owner

zhenglz commented Jan 23, 2019

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.
cmap_error

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.

@lalehan
Copy link
Author

lalehan commented Jan 23, 2019

I did exactly the same and the error persists:
error_in_py35
Does it have anything to do with the default python version on the system?

@zhenglz
Copy link
Owner

zhenglz commented Jan 23, 2019

I did exactly the same and the error persists:
error_in_py35
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

@lalehan
Copy link
Author

lalehan commented Jan 23, 2019

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:
setpy

@zhenglz
Copy link
Owner

zhenglz commented Jan 23, 2019

Quite strange.

You may now try these:

under py35

$ 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

@lalehan
Copy link
Author

lalehan commented Jan 23, 2019

I think I'll try yum install Glibc 2.14 now and see what happens:
glib

@zhenglz
Copy link
Owner

zhenglz commented Jan 23, 2019

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

@lalehan
Copy link
Author

lalehan commented Jan 23, 2019

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,

@zhenglz
Copy link
Owner

zhenglz commented Jan 23, 2019

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.

@lalehan
Copy link
Author

lalehan commented Jan 23, 2019

Looks like my errors get better:
coredum
I feel I'm getting somewhat closer. Thanks again!

@zhenglz
Copy link
Owner

zhenglz commented Jan 23, 2019

ps_01
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

@lalehan
Copy link
Author

lalehan commented Jan 23, 2019

Here it is:
python

@zhenglz
Copy link
Owner

zhenglz commented Jan 23, 2019

Ah, confused.

What about:

python

import mdtraj as mt
import numpy as np

@lalehan
Copy link
Author

lalehan commented Jan 23, 2019

Here:
np

@zhenglz
Copy link
Owner

zhenglz commented Jan 23, 2019

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.

@lalehan
Copy link
Author

lalehan commented Jan 23, 2019

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 :)

@zhenglz
Copy link
Owner

zhenglz commented Jan 23, 2019

Glad to be helpful!

@lalehan
Copy link
Author

lalehan commented Jan 25, 2019

Hello again, I switched to a newer Centos and it works :) Thank you again!
I run gmx_cmap.py, but it requests:
xyz
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.

@zhenglz
Copy link
Owner

zhenglz commented Jan 25, 2019

Hello again, I switched to a newer Centos and it works :) Thank you again!
I run gmx_cmap.py, but it requests:
xyz
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.

@lalehan
Copy link
Author

lalehan commented Jan 25, 2019

Thank you very much, I think it will be pretty straightforward by trjconv command.
All the best,

@lalehan
Copy link
Author

lalehan commented Jan 31, 2019

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:
screenshot from 2019-01-31 17-34-54
Is this only applicable for protein-protein contacts?
Many thanks, best regards..

@zhenglz
Copy link
Owner

zhenglz commented Jan 31, 2019 via email

@lalehan
Copy link
Author

lalehan commented Jan 31, 2019

Looks like it's working :)
Thanks again :)

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

2 participants