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.



275
276
277
# File 'lib/bio/appl/blast/report.rb', line 275

def initialize
  @hsp = {}
end

Instance Attribute Details

#align_lenObject

Length of the alignment used



311
312
313
# File 'lib/bio/appl/blast/report.rb', line 311

def align_len
  @align_len
end

#bit_scoreObject

Score (in bits) of HSP



283
284
285
# File 'lib/bio/appl/blast/report.rb', line 283

def bit_score
  @bit_score
end

#densityObject

Score density



313
314
315
# File 'lib/bio/appl/blast/report.rb', line 313

def density
  @density
end

#evalueObject

E-value of HSP



287
288
289
# File 'lib/bio/appl/blast/report.rb', line 287

def evalue
  @evalue
end

#gapsObject

Number of gaps in HSP



309
310
311
# File 'lib/bio/appl/blast/report.rb', line 309

def gaps
  @gaps
end

#hit_frameObject

Translation frame of subject



303
304
305
# File 'lib/bio/appl/blast/report.rb', line 303

def hit_frame
  @hit_frame
end

#hit_fromObject

Start of HSP in subject



293
294
295
# File 'lib/bio/appl/blast/report.rb', line 293

def hit_from
  @hit_from
end

#hit_toObject

End of HSP



295
296
297
# File 'lib/bio/appl/blast/report.rb', line 295

def hit_to
  @hit_to
end

#hseqObject

Alignment string for subject (with gaps)



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

def hseq
  @hseq
end

#hspObject (readonly)

Returns the value of attribute hsp.



278
279
280
# File 'lib/bio/appl/blast/report.rb', line 278

def hsp
  @hsp
end

#identityObject

Number of identities in HSP



305
306
307
# File 'lib/bio/appl/blast/report.rb', line 305

def identity
  @identity
end

#midlineObject

Formating middle line



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

def midline
  @midline
end

#mismatch_countObject

Available only for ‘-m 8’ format outputs.



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

def mismatch_count
  @mismatch_count
end

#numObject

HSP number



281
282
283
# File 'lib/bio/appl/blast/report.rb', line 281

def num
  @num
end

#pattern_fromObject

Start of PHI-BLAST pattern



297
298
299
# File 'lib/bio/appl/blast/report.rb', line 297

def pattern_from
  @pattern_from
end

#pattern_toObject

End of PHI-BLAST pattern



299
300
301
# File 'lib/bio/appl/blast/report.rb', line 299

def pattern_to
  @pattern_to
end

#percent_identityObject

Available only for ‘-m 8’ format outputs.



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

def percent_identity
  @percent_identity
end

#positiveObject

Number of positives in HSP



307
308
309
# File 'lib/bio/appl/blast/report.rb', line 307

def positive
  @positive
end

#qseqObject

Alignment string for the query (with gaps)



315
316
317
# File 'lib/bio/appl/blast/report.rb', line 315

def qseq
  @qseq
end

#query_frameObject

Translation frame of query



301
302
303
# File 'lib/bio/appl/blast/report.rb', line 301

def query_frame
  @query_frame
end

#query_fromObject

Start of HSP in query



289
290
291
# File 'lib/bio/appl/blast/report.rb', line 289

def query_from
  @query_from
end

#query_toObject

End of HSP



291
292
293
# File 'lib/bio/appl/blast/report.rb', line 291

def query_to
  @query_to
end

#scoreObject

Sscore of HSP



285
286
287
# File 'lib/bio/appl/blast/report.rb', line 285

def score
  @score
end