# HG changeset patch # User johnheap # Date 1559823718 14400 # Node ID be77587bdfda8fecb8370083a5d19e3274975222 # Parent 92c5ecb025b6510fe53807e43f11f41777e8557b Uploaded diff -r 92c5ecb025b6 -r be77587bdfda Tryp_V_T.py --- a/Tryp_V_T.py Wed Jun 05 16:17:30 2019 -0400 +++ b/Tryp_V_T.py Thu Jun 06 08:21:58 2019 -0400 @@ -147,6 +147,8 @@ b_df.sort_values(by=['qaccver']) b_df.to_csv(test_name + '_transcript.csv') + b_df.to_csv(html_resource+'/'+test_name + '_transcript.csv') + return b_df @@ -228,7 +230,7 @@ imgString = r"Bar chart of phylotype variation

" htmlString += imgString - with open(tdict['html_resource']+'/'+tdict['html_file'], "w") as htmlfile: + with open(+tdict['html_file'], "w") as htmlfile: htmlfile.write(htmlString) @@ -279,6 +281,9 @@ # print(FPKMsum2_df) FPKMsum2_df.to_csv('FPKM_sum2.csv') # in case more than one entry for a particular phylotype + htmlres = tdict['html_resource'] + FPKMsum2_df.to_csv(htmlres+'/FPKM_sum2.csv') # in case more than one entry for a particular phylotype + return FPKMsum_df, FPKMsum2_df