Commits

James Taylor  committed 37331b3

Right, bed format, always '+' coordinates.

  • Participants
  • Parent commits f77a58e

Comments (0)

Files changed (1)

File bx/bitset_builders.py

             last_chrom = chrom
             last_bitset = bitsets[chrom]
         start, end = int( fields[start_col] ), int( fields[end_col] )
-        # Switch to '+' strand coordinates if not already
-        if strand == '-':
-            start = size - end
-            end = size - start
         if upstream_pad: start = max( 0, start - upstream_pad )
         if downstream_pad: end = min( size, end + downstream_pad )
         if start > end: warn( "Interval start after end!" )
         if fields[chrom_col] == chrom:
             start, end = int( fields[start_col] ), int( fields[end_col] )
             bitset.set_range( start, end-start )
-    return bitset
+    return bitset