Mercurial > repos > johnheap > vapper
changeset 28:be77587bdfda draft
Uploaded
author | johnheap |
---|---|
date | Thu, 06 Jun 2019 08:21:58 -0400 |
parents | 92c5ecb025b6 |
children | b3d2d0a771e1 |
files | Tryp_V_T.py |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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"<img src = '"+ tdict['name']+"_phylotypes.png' alt='Bar chart of phylotype variation' style='max-width:100%'><br><br>" 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