diff readmap.py @ 19:f75315939afe draft

planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_readmap_and_size_histograms commit 9237338d798251fb2667280d597746e852f3ffcc-dirty
author drosofff
date Thu, 04 Feb 2016 06:28:28 -0500
parents 893560ece89f
children d6b93af0da55
line wrap: on
line diff
--- a/readmap.py	Wed Feb 03 11:34:35 2016 -0500
+++ b/readmap.py	Thu Feb 04 06:28:28 2016 -0500
@@ -77,7 +77,7 @@
   return gene, coordinate, count, orientation
 
 def lookup_gene_length(gene, readDict):
-  return readDict[readDict.keys()[0]].instanceDict.values()[0].size
+  return readDict[readDict.keys()[0]].instanceDict[gene].size
 
 def handle_start_stop_coordinates(plottable, readDict):
   """