def parse_logs_align_isize(fname):
    """Parse _isize_table.txt

    Inputs: fname - filename of table

    Returns: data - dictionary of insert size data
    """
    data = {'percent': {}, 'readcnt': {}}

    with open(fname, 'r') as f:
        file_data = f.read().splitlines()[2:]
        for l in file_data:
            fields = l.split('\t')
            data['percent'][int(fields[0])] = 100.0 * float(fields[1])
            data['readcnt'][int(fields[0])] = float(fields[2])

    return data