Class: SequenceServer::BLAST::Hit

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

Overview

Hit Object to store all the hits per Query.

Instance Attribute Summary collapse

Instance Attribute Details

#accessionObject

Returns the value of attribute accession

Returns:

  • (Object)

    the current value of accession



5
6
7
# File 'lib/sequenceserver/blast/hit.rb', line 5

def accession
  @accession
end

#hspsObject

Returns the value of attribute hsps

Returns:

  • (Object)

    the current value of hsps



5
6
7
# File 'lib/sequenceserver/blast/hit.rb', line 5

def hsps
  @hsps
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



5
6
7
# File 'lib/sequenceserver/blast/hit.rb', line 5

def id
  @id
end

#lengthObject

Returns the value of attribute length

Returns:

  • (Object)

    the current value of length



5
6
7
# File 'lib/sequenceserver/blast/hit.rb', line 5

def length
  @length
end

#numberObject

Returns the value of attribute number

Returns:

  • (Object)

    the current value of number



5
6
7
# File 'lib/sequenceserver/blast/hit.rb', line 5

def number
  @number
end

#queryObject

Returns the value of attribute query

Returns:

  • (Object)

    the current value of query



5
6
7
# File 'lib/sequenceserver/blast/hit.rb', line 5

def query
  @query
end

#titleObject

Returns the value of attribute title

Returns:

  • (Object)

    the current value of title



5
6
7
# File 'lib/sequenceserver/blast/hit.rb', line 5

def title
  @title
end