Sha256: 56a2fd4c93c6ba2c0dfc36074ab702eb04b15c69b8f333e16f0f79a3d3e9c896
Contents?: true
Size: 880 Bytes
Versions: 1
Compression:
Stored size: 880 Bytes
Contents
#!/usr/bin/env ruby module Cheripic class Options require 'ostruct' # class << self; attr_accessor :params end @defaults = { :hmes_adjust => 0.5, :htlow => 0.2, :hthigh => 0.9, :mindepth => 6, :min_non_ref_count => 3, :min_indel_count_support => 3, :ignore_reference_n => true, :mapping_quality => 20, :base_quality => 15, :noise => 0.1, :cross_type => 'back', :only_frag_with_vars => true, :filter_out_low_hmes => true, :polyploidy => false, :bfr_adjust => 0.05, :sel_seq_len => 50 } # @params = OpenStruct.new(@defaults) def self.update(newset) @defaults.merge!(newset) self.params # @params = OpenStruct.new(@defaults) end def self.params OpenStruct.new(@defaults) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cheripic-1.0.0 | lib/cheripic/options.rb |