(alignment)
return motif
Create motif form an alignment object

    Parameters
    ----------
    alignment : Bio.AlignIO
        Bio.AligIO input

    Returns
    -------
    motif : Bio.motifs object
Create motif form an alignment object
Create motif form an alignment object
def create_motif_from_alignment(alignment):
    """Create motif form an alignment object

    Parameters
    ----------
    alignment : Bio.AlignIO
        Bio.AligIO input

    Returns
    -------
    motif : Bio.motifs object

    """
    records = [record.seq for record in alignment]
    motif = motifs.create(records)
    return motif
def create_motif_from_alignment ( alignment ) : records = [ record . seq for record in alignment ] motif = motifs . create ( records ) return motif