Class: SNP
- Inherits:
-
Object
- Object
- SNP
- Defined in:
- lib/gene_assembler/snp.rb
Instance Attribute Summary collapse
-
#depth ⇒ Object
Returns the value of attribute depth.
-
#mapping_qual ⇒ Object
Returns the value of attribute mapping_qual.
-
#position ⇒ Object
Returns the value of attribute position.
-
#ref ⇒ Object
Returns the value of attribute ref.
-
#source ⇒ Object
Returns the value of attribute source.
-
#strand_bias ⇒ Object
Returns the value of attribute strand_bias.
-
#var ⇒ Object
Returns the value of attribute var.
-
#zygosity ⇒ Object
Returns the value of attribute zygosity.
Instance Method Summary collapse
-
#initialize(position) ⇒ SNP
constructor
A new instance of SNP.
Constructor Details
#initialize(position) ⇒ SNP
Returns a new instance of SNP.
3 4 5 6 7 8 9 10 11 12 |
# File 'lib/gene_assembler/snp.rb', line 3 def initialize(position) @position=position @ref=nil @var=nil @source=nil @depth=nil @zygosity=nil @mapping_qual=nil @strand_bias=nil end |
Instance Attribute Details
#depth ⇒ Object
Returns the value of attribute depth.
2 3 4 |
# File 'lib/gene_assembler/snp.rb', line 2 def depth @depth end |
#mapping_qual ⇒ Object
Returns the value of attribute mapping_qual.
2 3 4 |
# File 'lib/gene_assembler/snp.rb', line 2 def mapping_qual @mapping_qual end |
#position ⇒ Object
Returns the value of attribute position.
2 3 4 |
# File 'lib/gene_assembler/snp.rb', line 2 def position @position end |
#ref ⇒ Object
Returns the value of attribute ref.
2 3 4 |
# File 'lib/gene_assembler/snp.rb', line 2 def ref @ref end |
#source ⇒ Object
Returns the value of attribute source.
2 3 4 |
# File 'lib/gene_assembler/snp.rb', line 2 def source @source end |
#strand_bias ⇒ Object
Returns the value of attribute strand_bias.
2 3 4 |
# File 'lib/gene_assembler/snp.rb', line 2 def strand_bias @strand_bias end |
#var ⇒ Object
Returns the value of attribute var.
2 3 4 |
# File 'lib/gene_assembler/snp.rb', line 2 def var @var end |
#zygosity ⇒ Object
Returns the value of attribute zygosity.
2 3 4 |
# File 'lib/gene_assembler/snp.rb', line 2 def zygosity @zygosity end |