adding scripts for struct params

This commit is contained in:
Tanushree Tunstall 2020-02-16 14:36:51 +00:00
parent 4ef68bdc1b
commit b56c0b8b68
5 changed files with 270 additions and 0 deletions

20
meta_data_analysis/kd.py Normal file
View file

@ -0,0 +1,20 @@
#!/usr/bin/python
# hydrophobicity and SAA
#https://biopython.org/DIST/docs/api/Bio.SeqUtils.ProtParamData-pysrc.html
#https://jbloomlab.github.io/dms_tools2/dms_tools2.dssp.html
import sys, os
import pandas as pd
import pprint as pp
#import dms_tools2
#import dms_tools2.dssp
from Bio.SeqUtils import ProtParamData
#%%
homedir = os.path.expanduser('~') # spyder/python doesn't recognise tilde
os.getcwd()
os.chdir(homedir + '/git/LSHTM_analysis/meta_data_analysis/struct_params')
os.getcwd()
#%%
foo = ProtParamData.kd(3pl1.pdb)