bx.misc.readlengths module
Read sequence lengths from a file. Each line is of the form <name> <length> where <name> is typically a chromsome name (e.g. chr12) and length is the number of bases the sequence.
- bx.misc.readlengths.read_lengths_file(name)
Returns a hash from sequence name to length.