class Bio::Iprscan::Report::Match
Description¶ ↑
Container class for InterProScan matches.
Usage¶ ↑
match = Match.new(:query_id => ...) match.ipr_id = 'IPR001234' match.ipr_id #=> 'IPR001234'
Public Class Methods
Source
# File lib/bio/appl/iprscan/report.rb 323 def initialize(hash) 324 @data = Hash.new 325 hash.each do |key, value| 326 @data[key.to_sym] = value 327 end 328 end
Public Instance Methods
Source
# File lib/bio/appl/iprscan/report.rb 351 def accession; @data[:accession]; end
the database members entry for this match.
Source
# File lib/bio/appl/iprscan/report.rb 333 def crc64; @data[:crc64]; end
CRC64 checksum of query sequence.
Source
# File lib/bio/appl/iprscan/report.rb 331 def date; @data[:date]; end
Date for computation.
Source
# File lib/bio/appl/iprscan/report.rb 353 def description; @data[:description]; end
the database mambers description for this match.
Source
# File lib/bio/appl/iprscan/report.rb 335 def evalue; @data[:evalue]; end
E-value of the match
Source
# File lib/bio/appl/iprscan/report.rb 345 def go_terms; @data[:go_terms]; end
the Gene Ontology description for the InterPro entry, in “Aspect :term (ID)” format.
Source
# File lib/bio/appl/iprscan/report.rb 339 def ipr_id; @data[:ipr_id]; end
the corresponding InterPro entry (if any).
Source
# File lib/bio/appl/iprscan/report.rb 357 def ipr_odescription; @data[:ipr_description]; end
the descriotion of the InterPro entry.
Source
# File lib/bio/appl/iprscan/report.rb 341 def length; @data[:length]; end
the length of the sequence in AA.
Source
# File lib/bio/appl/iprscan/report.rb 349 def match_end; @data[:match_end]; end
the end of the domain match.
Source
# File lib/bio/appl/iprscan/report.rb 355 def match_start; @data[:match_start]; end
the start of the domain match.
Source
# File lib/bio/appl/iprscan/report.rb 359 def method_missing(name, arg = nil) 360 if arg 361 name = name.to_s.sub(/=$/, '') 362 @data[name.to_sym] = arg 363 else 364 @data[name.to_sym] 365 end 366 end
Source
# File lib/bio/appl/iprscan/report.rb 343 def method_name; @data[:method]; end
the analysis method launched.
Source
# File lib/bio/appl/iprscan/report.rb 347 def query_id; @data[:query_id]; end
Id of the input sequence.
Source
# File lib/bio/appl/iprscan/report.rb 337 def status; @data[:status]; end
Status of the match (T for true / M for marginal).