class SequenceServer::BLAST::HSP::TBLASTX

HSP subclass for TBLASTX algorithm.

Public Instance Methods

qframe_unit() click to toggle source

Translated nucleotide query against translated nucleotide database, hence 3.

# File lib/sequenceserver/blast/hsp.rb, line 249
def qframe_unit
  3
end
sframe_unit() click to toggle source

Translated nucleotide query against translated nucleotide database, hence 3.

# File lib/sequenceserver/blast/hsp.rb, line 255
def sframe_unit
  3
end
stats() click to toggle source
Calls superclass method
# File lib/sequenceserver/blast/hsp.rb, line 236
def stats
  super.update(
    'Frame'     => in_fraction(qframe, sframe),
    'Positives' =>
    [
      in_fraction(positives, length),
      in_percentage(positives, length)
    ]
  )
end