Our Sponsors



Download BioinformaticsOnline(BOL) Apps in your chrome browser.




Question: Question: Hey guys i have to search longest similar patterns within the same DNA sequence using python or perl. so plz help me?

Shyam I
3901 days ago

Question: Hey guys i have to search longest similar patterns within the same DNA sequence using python or perl. so plz help me?

I need logic for coding.

Answers
0

I don't have any code for you, but you can find several useful links here http://bioinformaticsonline.com/bookmarks/view/4098/bioinformatics-algorithm-demonstrations-and-tutorials which might help you to resolve the problems.

Note: If you are not able to view this, it means you need to join http://bioinformaticsonline.com/groups/profile/4030/bioinformatics-algorithms group first.

Thanks
Rahul

0

If you don't mind using BioPerl, you can try Bio::Tools::SeqPattern module for this purpose http://doc.bioperl.org/releases/bioperl-1.4/Bio/Tools/SeqPattern.html

Hope helpful.

Best
Shreya

0

Hi Shyam,

Please find one of my perl code to extract matching string region at http://bioinformaticsonline.com/file/view/4882/detect-the-sequence-pattern-and-its-location-in-fasta-file-with-match-and-mismatches-information

Hopefully this will be useful for your pattern searching stuff.

Thanks
Jit

0

If you are only looking for string matching algorithms to implements then this notes will be much useful for you. http://users.csc.calpoly.edu/~dekhtyar/448-Spring2013/lectures/lec05.448.pdf

http://www.math-info.univ-paris5.fr/~nuel/lecture_main_algo.pdf

The tutorial http://www.catalysoft.com/articles/StrikeAMatch.html sounds like it may be perfect for your need.

The edit-distance algorithm is the standard algorithm for dictionary match suggestions, and can work on whole texts. http://www.norvig.com/spell-correct.html

Best of luck.

Cheers

0

Hi Shyam,

There are several algorithms applied for pattern searching, please find the introduction at http://orion.lcg.ufrj.br/Dr.Dobbs/books/book5/chap10.htm

Cheers