Repository 'chipsequtil'
hg clone https://toolshed.g2.bx.psu.edu/repos/alenail/chipsequtil

Changeset 12:182e829571f7 (2016-04-04)
Previous changeset 11:45d2e58bcaf8 (2016-04-04) Next changeset 13:89e9a828de51 (2016-04-04)
Commit message:
Uploaded
modified:
chipsequtil/map_to_known_genes.py
added:
chipsequtil/._map_to_known_genes.py
chipsequtil/._map_to_known_genes.xml
b
diff -r 45d2e58bcaf8 -r 182e829571f7 chipsequtil/._map_to_known_genes.py
b
Binary file chipsequtil/._map_to_known_genes.py has changed
b
diff -r 45d2e58bcaf8 -r 182e829571f7 chipsequtil/._map_to_known_genes.xml
b
Binary file chipsequtil/._map_to_known_genes.xml has changed
b
diff -r 45d2e58bcaf8 -r 182e829571f7 chipsequtil/map_to_known_genes.py
--- 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 :