Class: HTS::Bam::Pileup::PileupColumn
- Inherits:
-
Struct
- Object
- Struct
- HTS::Bam::Pileup::PileupColumn
- Defined in:
- lib/hts/bam/pileup.rb
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
23 24 25 |
# File 'lib/hts/bam/pileup.rb', line 23 def alignments @alignments end |
#pos ⇒ Object
Returns the value of attribute pos
23 24 25 |
# File 'lib/hts/bam/pileup.rb', line 23 def pos @pos end |
#tid ⇒ Object
Returns the value of attribute tid
23 24 25 |
# File 'lib/hts/bam/pileup.rb', line 23 def tid @tid end |
Instance Method Details
#depth ⇒ Object
24 |
# File 'lib/hts/bam/pileup.rb', line 24 def depth = alignments.length |