changeset 12:182e829571f7 draft

Uploaded
author alenail
date Mon, 04 Apr 2016 15:41:41 -0400
parents 45d2e58bcaf8
children 89e9a828de51
files chipsequtil/._map_to_known_genes.py chipsequtil/._map_to_known_genes.xml chipsequtil/map_to_known_genes.py
diffstat 3 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
Binary file chipsequtil/._map_to_known_genes.py has changed
Binary file chipsequtil/._map_to_known_genes.xml has changed
--- a/chipsequtil/map_to_known_genes.py	Mon Apr 04 15:05:49 2016 -0400
+++ b/chipsequtil/map_to_known_genes.py	Mon Apr 04 15:41:41 2016 -0400
@@ -199,7 +199,7 @@
                 if opts.symbol_xref :
                     out_d['geneSymbol'] = symbol_xref_map[gene['name']]['geneSymbol']
                 peaks_writer.writerow(out_d)
-
+                print "wrote a row."
                 mapped = True
 
                 # reset map_type
@@ -213,7 +213,8 @@
                 peaks_writer.writerow(out_d)
             map_stats['intergenic'] += 1
 
-    if peak_output != sys.stdout :
+    if peak_output != sys.stdout:
+        print "arrived here."
         peak_output.close()
 
     #if opts.stats_output != sys.stderr :