Class: Bio::Bam::AlignmentFilter

Inherits:
Object
  • Object
show all
Defined in:
lib/bio-sambamba/filtering.rb

Instance Method Summary collapse

Constructor Details

#initialize(&block) ⇒ AlignmentFilter

Returns a new instance of AlignmentFilter.



13
14
15
16
17
# File 'lib/bio-sambamba/filtering.rb', line 13

def initialize &block
  qb = QueryBuilder.new
  qb.instance_eval &block
  @expression = qb.expression
end

Instance Method Details

#to_sObject



9
10
11
# File 'lib/bio-sambamba/filtering.rb', line 9

def to_s
  @expression
end