Class: SequenceServer::BLAST::HSP

Inherits:
Struct
  • Object
show all
Defined in:
lib/sequenceserver/blast/hsp.rb,
lib/sequenceserver/blast/hsp.rb

Overview

Structure to hold generic HSP data for each hit.

HSP class is not used directly. Relevant HSP stats and formatting the alignment changes with BLAST algorithm. We subclass HSP for each BLAST algorithm.

Direct Known Subclasses

BLASTN, BLASTP, BLASTX, TBLASTN, TBLASTX

Defined Under Namespace

Classes: BLASTN, BLASTP, BLASTX, TBLASTN, TBLASTX

Instance Attribute Summary collapse

Instance Attribute Details

#bit_scoreObject

Returns the value of attribute bit_score



9
10
11
# File 'lib/sequenceserver/blast/hsp.rb', line 9

def bit_score
  @bit_score
end

#evalueObject

Returns the value of attribute evalue



9
10
11
# File 'lib/sequenceserver/blast/hsp.rb', line 9

def evalue
  @evalue
end

#gapsObject

Returns the value of attribute gaps



9
10
11
# File 'lib/sequenceserver/blast/hsp.rb', line 9

def gaps
  @gaps
end

#hitObject

Returns the value of attribute hit



9
10
11
# File 'lib/sequenceserver/blast/hsp.rb', line 9

def hit
  @hit
end

#identityObject

Returns the value of attribute identity



9
10
11
# File 'lib/sequenceserver/blast/hsp.rb', line 9

def identity
  @identity
end

#lengthObject

Returns the value of attribute length



9
10
11
# File 'lib/sequenceserver/blast/hsp.rb', line 9

def length
  @length
end

#midlineObject

Returns the value of attribute midline



9
10
11
# File 'lib/sequenceserver/blast/hsp.rb', line 9

def midline
  @midline
end

#numberObject

Returns the value of attribute number



9
10
11
# File 'lib/sequenceserver/blast/hsp.rb', line 9

def number
  @number
end

#positivesObject

Returns the value of attribute positives



9
10
11
# File 'lib/sequenceserver/blast/hsp.rb', line 9

def positives
  @positives
end

#qendObject

Returns the value of attribute qend



9
10
11
# File 'lib/sequenceserver/blast/hsp.rb', line 9

def qend
  @qend
end

#qframeObject

Returns the value of attribute qframe



9
10
11
# File 'lib/sequenceserver/blast/hsp.rb', line 9

def qframe
  @qframe
end

#qseqObject

Returns the value of attribute qseq



9
10
11
# File 'lib/sequenceserver/blast/hsp.rb', line 9

def qseq
  @qseq
end

#qstartObject

Returns the value of attribute qstart



9
10
11
# File 'lib/sequenceserver/blast/hsp.rb', line 9

def qstart
  @qstart
end

#scoreObject

Returns the value of attribute score



9
10
11
# File 'lib/sequenceserver/blast/hsp.rb', line 9

def score
  @score
end

#sendObject

Returns the value of attribute send



9
10
11
# File 'lib/sequenceserver/blast/hsp.rb', line 9

def send
  @send
end

#sframeObject

Returns the value of attribute sframe



9
10
11
# File 'lib/sequenceserver/blast/hsp.rb', line 9

def sframe
  @sframe
end

#sseqObject

Returns the value of attribute sseq



9
10
11
# File 'lib/sequenceserver/blast/hsp.rb', line 9

def sseq
  @sseq
end

#sstartObject

Returns the value of attribute sstart



9
10
11
# File 'lib/sequenceserver/blast/hsp.rb', line 9

def sstart
  @sstart
end