This is a toy commandline BLAST (Basic Local Alignment Search Tool) written in PERL.
It uses 1 query string and 1 database string to find all high scoring string matches between the query string and the database string.
The program uses the k-value (line 25: perl_ItsABlast.pl
) to set the length of the substrings matched between the database string and the query string.
-
Download repository contents
-
Open up the
perl_ItsABlast.pl
file in your text editor of choice -
Modify lines 9 and 12 to refer to the files you are using to hold your database and query strings
-
Run using
perl perl_ItsABlast.pl
and to display the number of high scoring match pairs between the strings and the length of their similar sequence.