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, 1138🔥, 0💬
Popular Posts:
Molecule Summary: ID: FYI-1000232 SMILES: CC12CCC(=O)C=C1CCC3C2C(C C4(C3CCC4C(=O)CO)C)OReceived at F...
Molecule Summary: ID: FYI-1004801 Names: InChIKey: YHYKUSGACIYRML-KRWDZBQOS A-NSMILES: CN3C(N)=N[C@]...
Molecule Summary: ID: FYI-1004063 Names: InChIKey: PRYHOGCYPICMAJ-POZRYWQKS A-NSMILES: CC[C@@H]5CN4C...
Molecule Summary: ID: FYI-1000456 SMILES: CCN(CCCC(C)NC1=C2C=CC(=C C2=NC=C1)Cl)CCOReceived at FYIcen...
Molecule Summary: ID: FYI-1000993 SMILES: COC1=CC=C(C=C1)N2C=CN=C2 Received at FYIcenter.com on: 202...