@classmethod
def get_sequences(cls, samples, registry):
    """
        Return list of sequences from a list of samples.

        :param samples: list of samples
        :param registry: connector registry
        :return:
        """
    dnas = []
    for sample in samples:
        if isinstance(sample, cls):
            dnas.append(sample)
        else:
            dnas.append(cls(sample, registry))
    sequences = []
    for dna in dnas:
        sequences.append(dna.sequence())
    return sequences
