Remi- have a look at http://www.bioperl.org/wiki/HOWTO:SearchIO and maybe http://www.bioperl.org/wiki/Parsing_BLAST_HSPs; perhaps your questions will be answered there- cheers, Mark