Collections:
Create Motif With Biopython Bio.motifs Module
How to Create Motif With Biopython Bio.motifs Module?
✍: FYIcenter.com
Biopython Bio.motifs Module allows you to create a motif object
with a list of DNA or protein sequences.
A motif object actually represents a sample set of sequences
that matches a sequence motif pattern.
1. Create a motif object with a single sequence that matches the motif pattern of "TACAA".
fyicenter$ python >>> from Bio import motifs >>> m = motifs.create(["TACAA"]) >>> len(m) 5 >>> print(m) TACAA
2. Create a motif object with 7 sequences that matches the motif pattern of "[AT]A[CT][ACG][AC]".
>>> samples = [ ... "TACAA", ... "TACGC", ... "TACAC", ... "TACCC", ... "AACCC", ... "AATGC", ... "AATGC" ... ] >>> m = motifs.create(samples) >>> len(m) 5 >>> print(m) TACAA TACGC TACAC TACCC AACCC AATGC AATGC
⇒ Motif Counts and Consensus with Bio.motifs
⇐ What Is Sequence Motif Analysis
2023-07-11, 1120🔥, 0💬
Popular Posts:
Molecule Summary: ID: FYI-1003872 Names: InChIKey: WCOZTKFMJYNNLV-UHFFFAOYS A-NSMILES: Nc1ncc([N+](=...
Molecule Summary: ID: FYI-1003176 Names: InChIKey: UNXHWFMMPAWVPI-ZXZARUISS A-NSMILES: OC[C@H](O)[C@...
Molecule Summary: ID: FYI-1002496 Names: InChIKey: JJJRGBYUMHKXKS-UHFFFAOYS A-RSMILES: O/N=C(C2[NH+]...
Molecule Summary: ID: FYI-1001173 SMILES: NC1=NC=C(C2=CC=C(S(=O)(C 3(C[C@@](O)(C)CCCCCCO4)C C3)=O)C=C2...
Molecule Summary: ID: FYI-1002130 Names: InChIKey: MJJWBJFYYRAYKU-UHFFFAOYS A-NSMILES: CC6=CC7c3c(O)...