class Bio::Blast::Bl2seq::Report
Bio::Blast::Bl2seq::Report is a NCBI bl2seq (BLAST 2 sequences) output parser. It inherits Bio::Blast::Default::Report. Most of its methods are the same as Bio::Blast::Default::Report, but it lacks many methods.
Constants
- DELIMITER
Delimiter of each entry. Bio::FlatFile uses it. In Bio::Blast::Bl2seq::Report, it it nil (1 entry 1 file).
- DELIMITER_OVERRUN
Private Instance Methods
format0_split_headers(data)
click to toggle source
Splits headers.
# File lib/bio/appl/bl2seq/report.rb, line 41 def format0_split_headers(data) @f0query = data.shift end
format0_split_search(data)
click to toggle source
Splits the search results.
# File lib/bio/appl/bl2seq/report.rb, line 47 def format0_split_search(data) iterations = [] while r = data[0] and /^\>/ =~ r iterations << Iteration.new(data) end if iterations.size <= 0 then iterations << Iteration.new(data) end iterations end