def get_chrom_start_end_from_string(s):
    """Get chrom name, int(start), int(end) from a string '{chrom}__substr__{start}_{end}'
    ...doctest:
    >>> get_chrom_start_end_from_string('chr01__substr__11838_13838')
    ('chr01', 11838, 13838)
    """
    try:
        chrom, s_e = s.split('__substr__')
        start, end = s_e.split('_')
        return chrom, int(start), int(end)
    except Exception:
        raise ValueError("String %s must be of format '{chrom}__substr__{start}_{end}'" % s)