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, 921🔥, 0💬
Popular Posts:
Molecule Summary: ID: FYI-1004711 Names: InChIKey: HMFXHBPQJQEFJF-UHFFFAOYS A-NSMILES: C[Sn](c1ccccc...
Molecule Summary: ID: FYI-1000204 SMILES: CC1=CC(=C(C=C1)OP(=O)(OC 2=C(C=C(C=C2)C)C)OC3=C(C =C(C=C3)C)...
Molecule Summary: ID: FYI-1000382 SMILES: O=C(O)c1ccc(Cl)nc1Cl Received at FYIcenter.com on: 2021-04...
Molecule Summary: ID: FYI-1003615 Names: InChIKey: SVPURMCHSNIDPX-UTONKHPSS A-NSMILES: CC(=O)OC[C@H]...
Molecule Summary: ID: FYI-1000218 SMILES: c2ccc(c1ccccc1)cc2 Received at FYIcenter.com on: 2021-01-0...