updating kd script to take command line args

This commit is contained in:
Tanushree Tunstall 2020-04-07 16:13:54 +01:00
parent 24c7ade7c4
commit 44577b4a0c
2 changed files with 26 additions and 17 deletions

View file

@ -123,10 +123,13 @@ min(dfVals['kd_values'])
#===================
# concatenating dfs
#===================
# Merge the two on index (as these are now reflective of the aa position numbers): df1 and df2
# This will introduce NaN where there is missing values. In our case this will be 2 (first and last ones)
# Conveniently, the last position in this case is not part of the struc, so not much loss of info
# Needless to state that this will be variable for other targets.
# Merge the two on index
# (as these are now reflective of the aa position numbers): df1 and df2
# This will introduce NaN where there is missing values. In our case this
# will be 2 (first and last ones based on window size and offset)
# In our case this will be 2 (first and last ones)
# For pnca: the last position is not part of the struc, so not info loss
# Needless to say that this will be variable for other targets.
kd_df = pd.concat([dfSeq, dfVals], axis = 1)