Class: SNP

Inherits:
Object
  • Object
show all
Defined in:
lib/gene_assembler/snp.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#depthObject

Returns the value of attribute depth.



2
3
4
# File 'lib/gene_assembler/snp.rb', line 2

def depth
  @depth
end

#mapping_qualObject

Returns the value of attribute mapping_qual.



2
3
4
# File 'lib/gene_assembler/snp.rb', line 2

def mapping_qual
  @mapping_qual
end

#positionObject

Returns the value of attribute position.



2
3
4
# File 'lib/gene_assembler/snp.rb', line 2

def position
  @position
end

#refObject

Returns the value of attribute ref.



2
3
4
# File 'lib/gene_assembler/snp.rb', line 2

def ref
  @ref
end

#sourceObject

Returns the value of attribute source.



2
3
4
# File 'lib/gene_assembler/snp.rb', line 2

def source
  @source
end

#strand_biasObject

Returns the value of attribute strand_bias.



2
3
4
# File 'lib/gene_assembler/snp.rb', line 2

def strand_bias
  @strand_bias
end

#varObject

Returns the value of attribute var.



2
3
4
# File 'lib/gene_assembler/snp.rb', line 2

def var
  @var
end

#zygosityObject

Returns the value of attribute zygosity.



2
3
4
# File 'lib/gene_assembler/snp.rb', line 2

def zygosity
  @zygosity
end