Dear Users
I am trying to calculate the distance between two residues (only for CA atoms) and this is the script which I am using:
import numpy as np
import MDAnalysis as mda
import pandas as pd
from MDAnalysis.lib.distance import distance_array
u= mda.Universe("protein_2000ns_autopsf.psf" , "protein_2000ns.dcd")
residues1 = u.select_atoms('protein and resid 1:85').residues
residues2 = u.select_atoms('protein and resid 1:85').residues
But I am getting the following error: No module named 'MDAnalysis.lib.distance'
I tried to install the above stated module but I am not able to do so (Note: I already have MDAnalysis installed). Any kind of help will be appreciated.
Thanks & Regards
Deepshikha Ghosh
IIT Gandhinagar