Add a Sequence to the document

def _add_sequence(self, sequence):
        """
        Add a Sequence to the document
        """
        if sequence.identity not in self._sequences.keys():
            self._sequences[sequence.identity] = sequence
        else:
            raise ValueError("{} has already been defined".format(sequence.identity))