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, 1097🔥, 0💬
Popular Posts:
Molecule Summary: ID: FYI-1002860 Names: PROPYL ALCOHOL; InChIKey: BDERNNFJNOPAEC-UHFFFAOYS A-NSMILE...
Molecule Summary: ID: FYI-1001315 SMILES: N#C[Fe](=C=O)C#N Received at FYIcenter.com on: 2022-05-13
Molecule Summary: ID: FYI-1004928 Names: InChIKey: RKVAFXCYOQTGHV-HMIIVJTLS A-LSMILES: Cc8cc(C)nc(NS...
Molecule Summary: ID: FYI-1001314 SMILES: COC(=O)[C@@H]1[C@H]2CC[C @H](N2CCCC(F)C)[C@@H]1C3 CC3Receiv...
Molecule Summary: ID: FYI-1005101 Names: InChIKey: NZHHJECLXUFCGJ-BJKOFHAPS A-NSMILES: C=C(C)[C@@H]1...