Commits

Davide Cittaro committed b64b3f7

useless lines trying to get bigwig data

  • Participants
  • Parent commits 3493eb7

Comments (0)

Files changed (2)

File lib/dspomics/__init__.py

+__version__ = '0.1'

File lib/dspomics/ptpileup.py

       # we have chrom and size
       csize[key.replace('\x00', '')] = chromSize
     return csize  
-#  (key, childOffset) = struct.unpack(endianness + str(keySize) + 'sQ', fh.read(keySize + 8))
+#  (key, childOffset) = struct.unpack(endianness + str(keySize) + 'sQ', fh.read(keySize + 8))
+####
+  (dataCount) = struct.unpack("<I", fh.read(4))
+  (chromId, chromStart, chromEnd, itemStep, itemSpan, type, reserved, itemCount) = struct.unpack(endianness + 'IIIIIBBH', fh.read(24))
+