[Bioperl-l] Filtering Hits and HSP

josh katz joshpk105 at gmail.com
Mon Jun 13 16:22:51 UTC 2011


I was wondering if anyone had a way of filtering hits by top-k using
the Bio::SearchIO::Writer::TextResultWriter. A specific example of
what I want, I have a Blast file that contains 50 hits and 50
alignments per hit. I would instead like the top 10 hits and 10
alignments from this file, I can filter the HSP by using $hsp->rank
value but I can't come up with a counting method for the hits. Any
ideas would be appreciated.
Thanks,
Josh

-- 


________________________________________________________
"Only extraneous observations, can explain self."
Joshua P. Katz



More information about the Bioperl-l mailing list