Class: HTS::Bam::Pileup::PileupColumn
- Inherits:
-
Struct
- Object
- Struct
- HTS::Bam::Pileup::PileupColumn
- Defined in:
- lib/hts/bam/pileup.rb
Overview
A column at a reference position with pileup alignments
Instance Attribute Summary collapse
-
#alignments ⇒ Object
Returns the value of attribute alignments.
-
#pos ⇒ Object
Returns the value of attribute pos.
-
#tid ⇒ Object
Returns the value of attribute tid.
Instance Method Summary collapse
Instance Attribute Details
#alignments ⇒ Object
Returns the value of attribute alignments
10 11 12 |
# File 'lib/hts/bam/pileup.rb', line 10 def alignments @alignments end |
#pos ⇒ Object
Returns the value of attribute pos
10 11 12 |
# File 'lib/hts/bam/pileup.rb', line 10 def pos @pos end |
#tid ⇒ Object
Returns the value of attribute tid
10 11 12 |
# File 'lib/hts/bam/pileup.rb', line 10 def tid @tid end |
Instance Method Details
#depth ⇒ Object
11 12 13 |
# File 'lib/hts/bam/pileup.rb', line 11 def depth alignments.length end |