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, 734🔥, 0💬
Popular Posts:
Molecule Summary: ID: FYI-1000177 SMILES: C1CCCC1 Received at FYIcenter.com on: 2020-10-16
Molecule Summary: ID: FYI-1004430 Names: InChIKey: DFWFIQKMSFGDCQ-UHFFFAOYS A-NSMILES: CC(C)Nc1nc(N)...
Molecule Summary: ID: FYI-1002893 Names: InChIKey: YZJMQWTUVKKLNZ-UHFFFAOYS A-NSMILES: NS(=O)(=O)c3c...
Molecule Summary: ID: FYI-1000202 SMILES: CCCCCCOC(=O)C1=CC=CC=C1C (=O)OCCCCCCReceived at FYIcenter....
Molecule Summary: ID: FYI-1003083 Names: InChIKey: PRKDDGMIJSLQME-IUCAKERBS A-NSMILES: N#Cc1c(O)ccc3...