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, 838🔥, 0💬
Popular Posts:
Molecule Summary: ID: FYI-1002104 Names: AMOXICILLIN; InChIKey: LSQZJLSUYDQPKJ-NJBDSQKTS A-NSMILES: ...
Where to find FAQ (Frequently Asked Questions) on JSME Molecule Editor User Interface? Here is a lis...
Molecule Summary: ID: FYI-1002765 Names: InChIKey: QGQUZPPIOIONAJ-UHFFFAOYS A-NSMILES: CCS(=O)(CC)=N...
Molecule Summary: ID: FYI-1000236 SMILES: NCc5ccc4OC3(CCN(C(=O)c2c c(C#Cc1ccccc1)co2)CC3)Cc 4c5Receiv...
Molecule Summary: ID: FYI-1005624 Names: InChIKey: JRFICBYGQOGIRO-PYXZPKTAS A-NSMILES: C1CCC2[C@@H](...