def absolute_slice(self, start, stop):
        """get protein slice in absolute nucleotide coords;
        perform negation before slicing """
        if start<0:
            return (-self)[start:stop]
        else:
            return self[start:stop]
dataset/ETHPy150Open cjlee112/pygr/pygr/translationDB.py/SeqTranslator.absolute_slice/original