Class: BioRaxml::Raxml
- Inherits:
-
Object
- Object
- BioRaxml::Raxml
- Defined in:
- lib/bio-raxml/raxml.rb
Instance Method Summary collapse
-
#initialize(opts) ⇒ Raxml
constructor
A new instance of Raxml.
- #run_cmd ⇒ Object
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_cmd ⇒ Object
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 |