saving work for the day
This commit is contained in:
parent
7d2241ad81
commit
45889990e7
2 changed files with 1 additions and 5 deletions
|
@ -86,7 +86,7 @@ mcsm_data.rename(columns = my_colnames_dict, inplace = True)
|
|||
mcsm_data.columns
|
||||
#%%===========================================================================
|
||||
# populate mutationinformation column:mcsm style muts {WT}<POS>{MUT}
|
||||
print('populating column : Mutationinformation which is currently empty\n', mcsm_data['Mutationinformation'])
|
||||
print('Populating column : Mutationinformation which is currently empty\n', mcsm_data['Mutationinformation'])
|
||||
mcsm_data['Mutationinformation'] = mcsm_data['Wild_type'] + mcsm_data['Position'].astype(str) + mcsm_data['Mutant_type']
|
||||
print('checking after populating:\n', mcsm_data['Mutationinformation']
|
||||
, '\n===================================================================')
|
||||
|
@ -114,7 +114,6 @@ else:
|
|||
#%%===========================================================================
|
||||
# create DUET_outcome column: classification based on DUET stability values
|
||||
print('Assigning col: DUET_outcome based on DUET stability values')
|
||||
|
||||
print('Sanity check:')
|
||||
# count positive values in the DUET column
|
||||
c = mcsm_data[mcsm_data['DUET_change_kcalpermol']>=0].count()
|
||||
|
|
|
@ -168,9 +168,6 @@ def write_result_url(holding_page, out_result_url):
|
|||
myfile.close()
|
||||
print(myfile)
|
||||
# return url
|
||||
|
||||
|
||||
|
||||
#=======================================================================
|
||||
#%% call functions
|
||||
mcsm_muts = format_data(infile_snps)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue