Class: Ms::Ident::ProteinHit

Inherits:
Object
  • Object
show all
Defined in:
lib/ms/ident/protein_hit.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil) ⇒ ProteinHit

Returns a new instance of ProteinHit.



12
13
14
15
# File 'lib/ms/ident/protein_hit.rb', line 12

def initialize(id=nil)
  @peptide_hits = []
  @id = id
end

Instance Attribute Details

#idObject

Returns the value of attribute id.



6
7
8
# File 'lib/ms/ident/protein_hit.rb', line 6

def id
  @id
end

#peptide_hitsObject

Returns the value of attribute peptide_hits.



10
11
12
# File 'lib/ms/ident/protein_hit.rb', line 10

def peptide_hits
  @peptide_hits
end

#seqObject Also known as: sequence

Returns the value of attribute seq.



7
8
9
# File 'lib/ms/ident/protein_hit.rb', line 7

def seq
  @seq
end