Sha256: 7ba5de24cf46c234eae7fc67551b48b8d18d3a84728fdd5c795f39d3efafc297

Contents?: true

Size: 546 Bytes

Versions: 2

Compression:

Stored size: 546 Bytes

Contents

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))


  
  require 'bio-synreport'
  require 'pp'
  
  #this is how you use it... no really! 
  
  db = Bio::Util::SynReport.new(:gff => ARGV[0], :fasta => ARGV[1], :verbose => true)

  chr, pos, ref,alt = 'Chr2',7634495, 'a', 't'
  pp db.mutation_info(chr,pos,alt) 
  
  chr, pos, ref,alt = 'Chr3',123456, 'a', 't'
  pp db.mutation_info(chr,pos,alt)
  
    chr, pos, ref,alt = 'Chr2',7626518, 'a', 't'
  pp db.mutation_info(chr,pos,alt) 

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bio-synreport-0.1.2 examples/test.rb
bio-synreport-0.1.1 examples/test.rb