finding discrepancy in merging or dfs,grrrr

This commit is contained in:
Tanushree Tunstall 2020-07-13 18:31:29 +01:00
parent 9e8469abe3
commit 83383b4493
2 changed files with 4 additions and 5 deletions

View file

@ -110,7 +110,7 @@ infile_muts = outdir + '/' + mutation_file
#======= #=======
# output # output
#======= #=======
out_filename = gene.lower() + '_foldx_results.csv' out_filename = gene.lower() + '_foldx.csv'
outfile_foldx = outdir + '/' + out_filename outfile_foldx = outdir + '/' + out_filename
print('Arguments being passed:' print('Arguments being passed:'

View file

@ -59,8 +59,7 @@ outdir = args.output_dir
start_cds = args.start_coord start_cds = args.start_coord
end_cds = args.end_coord end_cds = args.end_coord
#======================================================================= #%%=======================================================================
#%% input and output dirs and files
#============== #==============
# directories # directories
#============== #==============
@ -464,7 +463,7 @@ else:
#%% write file #%% write file
print('\n=====================================================================' print('\n====================================================================='
, '\nWriting output file:\n', outfile_or_kin , '\nWriting output file:\n', outfile_or_kin
, '\nNo.of rows:', len(dfm2_mis) , '\nNo. of rows:', len(dfm2_mis)
, '\nNo. of cols:', len(dfm2_mis.columns)) , '\nNo. of cols:', len(dfm2_mis.columns))
orkin_linked.to_csv(outfile_or_kin, index = False) orkin_linked.to_csv(outfile_or_kin, index = False)