Class: MS::Sequest::Sqt::Match
- Inherits:
-
Object
- Object
- MS::Sequest::Sqt::Match
- Defined in:
- lib/ms/sequest/sqt.rb
Overview
rxcorr = rank by xcorr rsp = rank by sp NOTE: deltacn_orig deltacn is the adjusted deltacn (like Bioworks - shift all scores up and give the last one 1.1)
Direct Known Subclasses
Defined Under Namespace
Classes: Percolator
Constant Summary collapse
- Leader =
'M'
Instance Method Summary collapse
- #from_line(line) ⇒ Object
-
#proteins ⇒ Object
same as ‘loci’.
Instance Method Details
#from_line(line) ⇒ Object
328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 |
# File 'lib/ms/sequest/sqt.rb', line 328 def from_line(line) line.chomp! ar = line.split(MS::Sequest::Sqt::Delimiter) self[0] = ar[1].to_i self[1] = ar[2].to_i self[2] = ar[3].to_f self[3] = ar[4].to_f self[4] = ar[5].to_f self[5] = ar[6].to_f self[6] = ar[7].to_i self[7] = ar[8].to_i self[8] = ar[9] self[9] = ar[10] self[14] = MS::Ident::Peptide.sequence_to_aaseq(self[8]) self end |
#proteins ⇒ Object
same as ‘loci’
324 325 326 |
# File 'lib/ms/sequest/sqt.rb', line 324 def proteins self[16] end |