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, 866🔥, 0💬
Popular Posts:
Molecule Summary: ID: FYI-1006731 Names: InChIKey: WBRFFCOFWKCXFD-YWPYICTPS A-NSMILES: O=C4NC(=O)[C@...
Molecule Summary: ID: FYI-1002200 Names: InChIKey: YUFRMYCKBZEYKU-JSKKQJDMS A-NSMILES: COc6cccc(C5C1...
Molecule Summary: ID: FYI-1003944 Names: InChIKey: FZEPXXHITBIOIY-UHFFFAOYS A-NSMILES: Fc3ccc(c2ccc1...
How to calulate the exact mass of molecule from a formula? To help you calculating the exact mass fo...
Molecule Summary: ID: FYI-1004245 Names: InChIKey: XKCLJIXOFHBQNU-UHFFFAOYS A-NSMILES: Cc2cc(C)cc(N(...