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, 1536🔥, 0💬
Popular Posts:
Molecule Summary: ID: FYI-1004779 Names: InChIKey: KYGLUDBQFPGWLA-UHFFFAOYS A-NSMILES: CCCCCCCCC(CCC...
Molecule Summary: ID: FYI-1003317 Names: InChIKey: WDLZYGLWFGJFJL-CQSZACIVS A-NSMILES: N#Cc3cc(c2ccc...
Molecule Summary: ID: FYI-1000303 SMILES: O=[Al]O[Al]=O.C1=CC2=CC3 =CC=CC=C3C=C2C=C1Received at FYIc...
Molecule Summary: ID: FYI-1000460 SMILES: CN(C)CCC1=CNC2=C1C(=CC=C 2)OP(=O)(O)OReceived at FYIcenter...
Molecule Summary: ID: FYI-1003556 Names: InChIKey: TXIWHUPIUUZFFK-BNCRKQPCS A-MSMILES: CC[C@@H]3[C@H...