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, 1063🔥, 0💬
Popular Posts:
Molecule Summary: ID: FYI-1003670 Names: InChIKey: OEQHIBATIBPWDH-UHFFFAOYS A-NSMILES: CN(C)N(C)P(F)...
Molecule Summary: ID: FYI-1000952 SMILES: O[Si](=O)[O-].O[Si](=O)[ O-].[O-][Si](=O)[O-].[O- ][Si](=O)[...
Molecule Summary: ID: FYI-1000939 SMILES: N#CN1CCC(C(=O)Nc2ncc(-c3 ccccc3)s2)C1Received at FYIcenter...
Molecule Summary: ID: FYI-1003894 Names: InChIKey: BVJIHVILXNUWHB-UHFFFAOYS A-NSMILES: C=CC(=O)NC5CN...
Molecule Summary: ID: FYI-1003619 Names: InChIKey: MEFKEPWMEQBLKI-TYYLHDHTS A-NSMILES: C[S@+](CC[C@H...