Class: BioRaxml::Raxml

Inherits:
Object
  • Object
show all
Defined in:
lib/bio-raxml/raxml.rb

Instance Method Summary collapse

Constructor Details

#initialize(opts) ⇒ Raxml

Returns a new instance of Raxml.



3
4
5
6
# File 'lib/bio-raxml/raxml.rb', line 3

def initialize(opts)
  @phylip = opts[:phylip]
  @name = opts[:name]
end

Instance Method Details

#run_cmdObject



7
8
9
# File 'lib/bio-raxml/raxml.rb', line 7

def run_cmd
  cmd = "raxmlHPC-SSE3 -s #{@phylip} -n #{@name} -p 12345 -m GTRGAMMA"
end