def locstr(locs, strand):
    """genbank formatted location string, assumes no join'd combo of rev and fwd seqs"""
    locstr = ','.join(map(lambda x: str(x[0]) + '..' + str(x[1]), locs))
    if len(locs) > 1:
        locstr = 'join(' + locstr + ')'
    if int(strand) == -1:
        locstr = 'complement(' + locstr + ')'
    return locstr
