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, 1503🔥, 0💬
Popular Posts:
Molecule Summary: ID: FYI-1003256 Names: InChIKey: ZSYPGADQMCKYDM-LADVCJOIS A-NSMILES: CSc1ccccc1C[C...
Molecule Summary: ID: FYI-1006461 Names: InChIKey: GQBRZBHEPUQRPL-UHFFFAOYS A-NSMILES: Cc4noc(c3ccc(...
Molecule Summary: ID: FYI-1004451 Names: InChIKey: BVJCGZJVPHFAFU-FNORWQNLS A-NSMILES: CC(C)/C=C/CCC...
Molecule Summary: ID: FYI-1004095 Names: InChIKey: FPOCFZJOIORTJS-UHFFFAOYS A-NSMILES: O=c4c(=O)c3c(...
Molecule Summary: ID: FYI-1003456 Names: InChIKey: VXTSDGOABSRKIR-BLFKHSGCS A-NSMILES: CC(C)CN(C[C@@...