Sha256: 9bd5f5c983f9c174fd1c6f59d1f54364ff7097794f0e06fbbf05bfab8686e3d3
Contents?: true
Size: 750 Bytes
Versions: 7
Compression:
Stored size: 750 Bytes
Contents
module Bio::PolyploidTools class PrimerRegion attr_accessor :snp_pos, :sequence, :chromosome_specific, :almost_chromosome_specific, :crhomosome_specific_intron , :almost_crhomosome_specific_intron, :homoeologous def initialize @chromosome_specific = Array.new @almost_chromosome_specific = Array.new @crhomosome_specific_intron = Array.new @almost_crhomosome_specific_intron = Array.new end def tail_candidates @chromosome_specific.size + @almost_chromosome_specific.size end def to_fasta ">Primer_#{snp_pos}_#{chromosome_specific.to_s}_#{almost_chromosome_specific.to_s}_#{crhomosome_specific_intron.to_s}_#{almost_crhomosome_specific_intron.to_s}\n#{sequence}\n" end end end
Version data entries
7 entries across 7 versions & 1 rubygems