import re


def position_generator(replicon, feature):
        """ Generates an stantard position identifiant from a replicon and a feature (gbk type)
        """
        strand = str(feature.location)[-2]
        start, end = re.sub('[^0-9:]', '', str(feature.location).split(',')[0]).split(':')
        start = str(int(start) + 1)
        pos = '-'.join([start, end])
        position = '_'.join([ replicon, strand, pos ])
        return position