Returns a 64 bit regionkey based on CHROM, START POS (0-based), END POS and STRAND.

RegionKey(chrom, startpos, endpos, strand)

Arguments

chrom

Chromosome. An identifier from the reference genome, no white-space or leading zeros permitted.

startpos

Start position (zero based).

endpos

End position (startpos + region_length).

strand

Strand direction (-1, 0, +1)

sizechrom

Length of the chrom string, excluding the terminating null byte.