I am trying to match strings in a file containing a string, for example ACTGGGTAAACTA. If i do
grep "ACTGGGTAAACTA" file
He gives me strings that have exact matches. Is there a way to resolve a certain number of inconsistencies (replace, insert, or delete)? For example, I'm looking for sequences
Up to 3 permitted subtitles, such as "AGTGGGTAACCAA", etc.
Insertions / deletions (having a partial match like "ACTGGGAAAATAAACTA" or "ACTAAACTA")
Ssank source
share