added commonly used mutation format for missense muts in the gene_specific nssnp_info file
This commit is contained in:
parent
a9498f8e08
commit
27a656dba1
4 changed files with 194 additions and 568 deletions
|
@ -221,9 +221,9 @@ else:
|
|||
print('FAIL: Second cross check unsuccessfull. Debug please!')
|
||||
sys.exit()
|
||||
|
||||
#%% extract mut info into three cols
|
||||
orig_len = len(dfm2_mis.columns)
|
||||
|
||||
#%% extract mut info into three cols
|
||||
dfm2_mis['wild_type'] = dfm2_mis['mut_info'].str.extract('(\w{1})>')
|
||||
dfm2_mis['position'] = dfm2_mis['mut_info'].str.extract('(\d+)')
|
||||
dfm2_mis['mutant_type'] = dfm2_mis['mut_info'].str.extract('>\d+(\w{1})')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue