Sha256: fc2c730be2b247dc8f9cb197c2e9f791ab786eb98254353a190f8351cb95c6de

Contents?: true

Size: 543 Bytes

Versions: 1

Compression:

Stored size: 543 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

1 entries across 1 versions & 1 rubygems

Version Path
bio-synreport-0.1.0 examples/test.rb