Class: Bio::Bam::AlignmentFilter
- Inherits:
-
Object
- Object
- Bio::Bam::AlignmentFilter
- Defined in:
- lib/bio-sambamba/filtering.rb
Instance Method Summary collapse
-
#initialize(&block) ⇒ AlignmentFilter
constructor
A new instance of AlignmentFilter.
- #to_s ⇒ Object
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_s ⇒ Object
9 10 11 |
# File 'lib/bio-sambamba/filtering.rb', line 9 def to_s @expression end |