Repository 'vapper'
hg clone https://toolshed.g2.bx.psu.edu/repos/johnheap/vapper

Changeset 28:be77587bdfda (2019-06-06)
Previous changeset 27:92c5ecb025b6 (2019-06-05) Next changeset 29:b3d2d0a771e1 (2019-06-07)
Commit message:
Uploaded
modified:
Tryp_V_T.py
b
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"<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