Class: MS::Sequest::Sqt::Locus
- Inherits:
-
Object
- Object
- MS::Sequest::Sqt::Locus
- Defined in:
- lib/ms/sequest/sqt.rb
Constant Summary collapse
- Leader =
'L'
Class Method Summary collapse
-
.from_line(line) ⇒ Object
returns a new Locus object.
Instance Method Summary collapse
- #first_entry ⇒ Object
- #id ⇒ Object
-
#initialize(locus = nil, description = nil, peptides = []) ⇒ Locus
constructor
A new instance of Locus.
- #reference ⇒ Object
Constructor Details
#initialize(locus = nil, description = nil, peptides = []) ⇒ Locus
Returns a new instance of Locus.
385 386 387 |
# File 'lib/ms/sequest/sqt.rb', line 385 def initialize(locus=nil, description=nil, peptides=[]) super(locus, description) end |
Class Method Details
Instance Method Details
#first_entry ⇒ Object
381 |
# File 'lib/ms/sequest/sqt.rb', line 381 def first_entry ; self[0] end |
#id ⇒ Object
383 |
# File 'lib/ms/sequest/sqt.rb', line 383 def id ; self[0] end |
#reference ⇒ Object
382 |
# File 'lib/ms/sequest/sqt.rb', line 382 def reference ; self[0] end |