+ extended test cases
[qpalma.git] / qpalma / OutputFormat.py
index 1939791..3a0c0ba 100644 (file)
@@ -106,7 +106,7 @@ def recalculatePositions(chromo,start_pos,strand,starts,ends,seqInfo,window_size
    """
 
    if strand == '-':
-      total_size = seqInfo.chromo_sizes[chromo]
+      total_size = seqInfo.getFragmentSize(chromo)
       start_pos = total_size - start_pos
 
    if strand == '+':