Is anyone aware of a pure python implementation of BLAST alignment? I am trying to study this algorithm...
Try looking into BioPython:
http://biopython.org/
http://github.com/JoaoRodrigues/biopython/tree/GSOC2010