Hatena::Groupbioruby

"aac".translate #=> "N" このページをアンテナに追加 RSSフィード

2006-12-16Bio::Iprscan::Report released

Reading a merged.(raw|txt) the Iprscan output.

|  Reading a merged.(raw|txt) the Iprscan output. - "aac".translate #=> "N" を含むブックマーク はてなブックマーク -  Reading a merged.(raw|txt) the Iprscan output. - "aac".translate #=> "N"  Reading a merged.(raw|txt) the Iprscan output. - "aac".translate #=> "N" のブックマークコメント

require 'bio'
io = File.open("merged.raw")
Bio::Iprscan::Report.reports_in_raw(io) do |report|
  report.class #=> Bio::Iprscan::Report
end
require 'bio'
txt = File.open("merged.txt")
Bio::Iprscan::Report.reports_in_txt(io) do |report|
  report.class #=> Bio::Iprscan::Report
end

Bio::Iprscan::Report: Query information

report.query_id == report.entry_id 
report.query_length

Bio::Iprscan::Report::Match

report.matches.each do |match|
  match.class #=> Bio::Iprscan::Report::Match
  match.mathod
  match.accession
  match.evalue
  match.match_start
  match.match_end
end
トラックバック - http://bioruby.g.hatena.ne.jp/nakao_mitsuteru/20061216