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.



318
319
320
# File 'lib/bio/appl/blast/report.rb', line 318

def initialize
  @hsp = {}
end

Instance Attribute Details

#align_lenObject

Length of the alignment used



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

def align_len
  @align_len
end

#bit_scoreObject

Score (in bits) of HSP



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

def bit_score
  @bit_score
end

#densityObject

Score density



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

def density
  @density
end

#evalueObject

E-value of HSP



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

def evalue
  @evalue
end

#gapsObject

Number of gaps in HSP



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

def gaps
  @gaps
end

#hit_frameObject

Translation frame of subject



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

def hit_frame
  @hit_frame
end

#hit_fromObject

Start of HSP in subject



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

def hit_from
  @hit_from
end

#hit_toObject

End of HSP



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

def hit_to
  @hit_to
end

#hseqObject

Alignment string for subject (with gaps)



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

def hseq
  @hseq
end

#hspObject (readonly)

Returns the value of attribute hsp.



321
322
323
# File 'lib/bio/appl/blast/report.rb', line 321

def hsp
  @hsp
end

#identityObject

Number of identities in HSP



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

def identity
  @identity
end

#midlineObject

Formating middle line



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

def midline
  @midline
end

#mismatch_countObject

Available only for ‘-m 8’ format outputs.



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

def mismatch_count
  @mismatch_count
end

#numObject

HSP number



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

def num
  @num
end

#pattern_fromObject

Start of PHI-BLAST pattern



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

def pattern_from
  @pattern_from
end

#pattern_toObject

End of PHI-BLAST pattern



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

def pattern_to
  @pattern_to
end

#percent_identityObject

Available only for ‘-m 8’ format outputs.



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

def percent_identity
  @percent_identity
end

#positiveObject

Number of positives in HSP



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

def positive
  @positive
end

#qseqObject

Alignment string for the query (with gaps)



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

def qseq
  @qseq
end

#query_frameObject

Translation frame of query



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

def query_frame
  @query_frame
end

#query_fromObject

Start of HSP in query



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

def query_from
  @query_from
end

#query_toObject

End of HSP



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

def query_to
  @query_to
end

#scoreObject

Sscore of HSP



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

def score
  @score
end