Method: Bio::Iprscan::Report.parse_ptxt
- Defined in:
- lib/bio/appl/iprscan/report.rb
.parse_ptxt(io) ⇒ Object
Splits entry stream.
Usage
Bio::Iprscan::Report.parse_ptxt(File.open("merged.txt")) do |report|
report
end
194 195 196 197 198 |
# File 'lib/bio/appl/iprscan/report.rb', line 194 def self.parse_ptxt(io) io.each("\n\/\/\n") do |entry| yield self.parse_ptxt_entry(entry) end end |