Class: Bio::Blast::Report::Hsp

Inherits:
Object
  • Object
show all
Defined in:
lib/bio/appl/blast/report.rb

Overview

Bio::Blast::Report::Hsp

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeHsp

Returns a new instance of Hsp.



324
325
326
# File 'lib/bio/appl/blast/report.rb', line 324

def initialize
  @hsp = {}
end

Instance Attribute Details

#align_lenObject

Length of the alignment used



360
361
362
# File 'lib/bio/appl/blast/report.rb', line 360

def align_len
  @align_len
end

#bit_scoreObject

Score (in bits) of HSP



332
333
334
# File 'lib/bio/appl/blast/report.rb', line 332

def bit_score
  @bit_score
end

#densityObject

Score density



362
363
364
# File 'lib/bio/appl/blast/report.rb', line 362

def density
  @density
end

#evalueObject

E-value of HSP



336
337
338
# File 'lib/bio/appl/blast/report.rb', line 336

def evalue
  @evalue
end

#gapsObject

Number of gaps in HSP



358
359
360
# File 'lib/bio/appl/blast/report.rb', line 358

def gaps
  @gaps
end

#hit_frameObject

Translation frame of subject



352
353
354
# File 'lib/bio/appl/blast/report.rb', line 352

def hit_frame
  @hit_frame
end

#hit_fromObject

Start of HSP in subject



342
343
344
# File 'lib/bio/appl/blast/report.rb', line 342

def hit_from
  @hit_from
end

#hit_toObject

End of HSP



344
345
346
# File 'lib/bio/appl/blast/report.rb', line 344

def hit_to
  @hit_to
end

#hseqObject

Alignment string for subject (with gaps)



366
367
368
# File 'lib/bio/appl/blast/report.rb', line 366

def hseq
  @hseq
end

#hspObject (readonly)

Returns the value of attribute hsp.



327
328
329
# File 'lib/bio/appl/blast/report.rb', line 327

def hsp
  @hsp
end

#identityObject

Number of identities in HSP



354
355
356
# File 'lib/bio/appl/blast/report.rb', line 354

def identity
  @identity
end

#midlineObject

Formating middle line



368
369
370
# File 'lib/bio/appl/blast/report.rb', line 368

def midline
  @midline
end

#mismatch_countObject

Available only for ‘-m 8’ format outputs.



372
373
374
# File 'lib/bio/appl/blast/report.rb', line 372

def mismatch_count
  @mismatch_count
end

#numObject

HSP number



330
331
332
# File 'lib/bio/appl/blast/report.rb', line 330

def num
  @num
end

#pattern_fromObject

Start of PHI-BLAST pattern



346
347
348
# File 'lib/bio/appl/blast/report.rb', line 346

def pattern_from
  @pattern_from
end

#pattern_toObject

End of PHI-BLAST pattern



348
349
350
# File 'lib/bio/appl/blast/report.rb', line 348

def pattern_to
  @pattern_to
end

#percent_identityObject

Available only for ‘-m 8’ format outputs.



370
371
372
# File 'lib/bio/appl/blast/report.rb', line 370

def percent_identity
  @percent_identity
end

#positiveObject

Number of positives in HSP



356
357
358
# File 'lib/bio/appl/blast/report.rb', line 356

def positive
  @positive
end

#qseqObject

Alignment string for the query (with gaps)



364
365
366
# File 'lib/bio/appl/blast/report.rb', line 364

def qseq
  @qseq
end

#query_frameObject

Translation frame of query



350
351
352
# File 'lib/bio/appl/blast/report.rb', line 350

def query_frame
  @query_frame
end

#query_fromObject

Start of HSP in query



338
339
340
# File 'lib/bio/appl/blast/report.rb', line 338

def query_from
  @query_from
end

#query_toObject

End of HSP



340
341
342
# File 'lib/bio/appl/blast/report.rb', line 340

def query_to
  @query_to
end

#scoreObject

Sscore of HSP



334
335
336
# File 'lib/bio/appl/blast/report.rb', line 334

def score
  @score
end