diff readmap.py @ 5:bcc0c7093e7a draft

planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/msp_sr_readmap_and_size_histograms commit 9237338d798251fb2667280d597746e852f3ffcc-dirty
author mvdbeek
date Thu, 04 Feb 2016 06:27:43 -0500
parents 4efe210c91f3
children be0c6b6466cc
line wrap: on
line diff
--- a/readmap.py	Wed Feb 03 11:35:00 2016 -0500
+++ b/readmap.py	Thu Feb 04 06:27:43 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):
   """