def get_latest_basecalling(h5, rname):
    """Return latest basecalling from Fast5 file"""
    basecalls = list(filter(lambda x: x.startswith("Basecall_1D_"), h5[rname]['Analyses'].keys()))
    #print(h5[rname]['Analyses'].keys(), basecalls)
    return basecalls[-1]