Monday, April 27, 2015

Run modelomatic:

1) Download the binary from Google Code website.

2) Move to local bin

mv ~/Downloads/modelomatic_OSX /usr/local/bin

3) Give yourself permission to run it.

sudo chmod +x /usr/local/bin/modelomatic_OSX

4) To run the binary, use the command "xcrun"

xcrun modelomatic_OSX /Volumes/Yango/Hayden_batORs/OR_alignments/Phyllos_OR6_Funct_tAlign.fasta

But I get this error:
---------------------------------------------------------------------------------------------
  ModelOMatic (v1.01 (release)).
A program for choosing substitutions models for phylogenetic inference.
Written by Simon Whelan.
Contributions from James Allen, Ben Blackburne and David Talavera.
---------------------------------------------------------------------------------------------
Data: </Volumes/Yango/Hayden_batORs/OR_alignments/Phyllos_OR6_Funct_tAlign.fasta>
Segmentation fault: 11

5) Okay I guess I need to make it executable (also make sure it is added to the path)


chmod a+x /usr/local/bin/modelomatic_OSX

6) Now run it
modelomatic_OSX /Volumes/Yango/Hayden_batORs/OR_alignments/Phyllos_OR10_Funct_tAlign.fasta

Nope, still get same error.

modelomatic_OSX /Volumes/Yango/Hayden_batORs/OR_alignments/Phyllos_OR6_Funct_tAlign.fasta

But I get this error:
---------------------------------------------------------------------------------------------
  ModelOMatic (v1.01 (release)).
A program for choosing substitutions models for phylogenetic inference.
Written by Simon Whelan.
Contributions from James Allen, Ben Blackburne and David Talavera.
---------------------------------------------------------------------------------------------
Data: </Volumes/Yango/Hayden_batORs/OR_alignments/Phyllos_OR6_Funct_tAlign.fasta>
Segmentation fault: 11

installing garli on yosemite

sudo gem update --system
brew install open-mpi --cc=gcc-4.9 --build-from-source
brew remove ncl garli
brew install ncl garli --cc=gcc-4.9 --build-from-source