Question: Motifenumeration ( Dna , k , d ) Patterns - an empty set for each k - mer Pattern in Dna for each k -
Motifenumeration Dna
Patterns an empty set
for each kmer Pattern in Dna
for each kmer Pattern' differing from Pattern by at most
mismatches
if Pattern' appears in each string from Dna with at most
mismatches
add Pattern' to Patterns
remove duplicates from Patterns
return Patterns
Implanted Motif Problem
Implement MotifEnumeration shown above to find all motifs in a collection of strings.
Given: Integers and followed by a collection of strings Dna.
Return: All motifs in Dna.
Sample Dataset
ATTTGGC
TGCCTTA
CGGTATC
GAAAATT
Sample Output
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
