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, 1469🔥, 0💬
Popular Posts:
Molecule Summary: ID: FYI-1002033 Names: InChIKey: TZIHFWKZFHZASV-UHFFFAOYS A-OSMILES: C/[O+]=C\\O R...
Molecule Summary: ID: FYI-1003192 Names: InChIKey: JFVRZEMMDHQJPH-UHFFFAOYS A-NSMILES: CCCCOc8ccc(OC...
Molecule Summary: ID: FYI-1003553 Names: InChIKey: JWDRIRNQLKOAII-UHFFFAOYS A-NSMILES: Cc1noc(C)c1CN...
Molecule Summary: ID: FYI-1003118 Names: InChIKey: BOYOQILEMPLQLJ-RQZCQDPDS A-NSMILES: Oc1ccccc1c2nn...
Molecule Summary: ID: FYI-1000313 SMILES: O=C(Nc1nccs1)CCC(=O)O[C@ H]1C[C@@H]2C[C@H]1CC2Received at ...