def get_probe_positions(record):
    """given a fasta record, get probe position from info"""
    idsplit = record.identifier.split('|')
    ps, pe = [int(i) for i in idsplit[2].split('-')]
    rs, re = [int(i) for i in idsplit[3].split('-')]
    probe_start = ps - rs
    probe_end = pe - rs
    return probe_start, probe_end