Created
March 24, 2016 21:15
-
-
Save avishekrk/0d15994cea5f8a61688f to your computer and use it in GitHub Desktop.
Calculate bulk DFI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def calculate_dfi_windows(pdbid): | |
covarmat = glob.glob(pdbid+'_[3-5]?00_????_mwcovarmat.dat') | |
pdbfile = pdbid+'.pdb' | |
fdfi_residues = ['A235','A340'] | |
prefix = map(lambda x: x.replace('_mwcovarmat.dat','-dfianalysis.csv'),covarmat) | |
for mat, pre in zip(covarmat, prefix): | |
print mat, pre | |
dfi.calc_dfi(pdbfile,mdhess=mat,ls_reschain=fdfi_residues,writetofile=True,dfianalfile=pre) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment