Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running example files #211

Closed
JuliaIs opened this issue Feb 1, 2018 · 7 comments
Closed

Running example files #211

JuliaIs opened this issue Feb 1, 2018 · 7 comments

Comments

@JuliaIs
Copy link

JuliaIs commented Feb 1, 2018

When I try to run the example files as described in the gubbins manual, I get the message "failed while building the tree". Might anyone know how to fix it?
Thanks!

@andrewjpage
Copy link
Contributor

Hi, Which installation method from https://github.com/sanger-pathogens/gubbins/blob/master/INSTALL.md did you use?

@JuliaIs
Copy link
Author

JuliaIs commented Feb 1, 2018

Thanks for the fast answer. I installed it via Bioconda (OSX)

@andrewjpage
Copy link
Contributor

Which version of OSX?

@JuliaIs
Copy link
Author

JuliaIs commented Feb 1, 2018

10.8.5

@andrewjpage
Copy link
Contributor

I ran the steps from scratch on my laptop which is running OS X El Capitan (10.11.6), and listed them below. I'm afraid I don't have access to any machines running your version of OSX as it hasn't been used in a number of years here, so cannot test how bioconda works on it. I suspect the age of your OSX is the problem. Your best bet is probably to use the Docker container.

Go to https://conda.io/miniconda.html
Download https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh
On the commandline run:

bash Miniconda3-latest-MacOSX-x86_64.sh

Close terminal and open a new one then run:

conda config --add channels r
conda config --add channels defaults
conda config --add channels conda-forge
conda config --add channels bioconda
conda install gubbins

Download ftp://ftp.sanger.ac.uk/pub/project/pathogens/gubbins/PMEN1.aln.gz
Run:

gunzip PMEN1.aln.gz
run_gubbins.py PMEN1.aln

@JuliaIs
Copy link
Author

JuliaIs commented Feb 1, 2018

I tried as you described, still the output is "/bin/sh: line 1: 1336 Illegal instruction: 4 raxmlHPC-AVX2 -f d -p 1 -m GTRCAT -V -s PMEN1.aln.phylip -n PMEN1.iteration_1 > /dev/null 2>&1
Failed while building the tree."
I will try to update the OS X to fix the problem. Thank you a lot

@andrewjpage
Copy link
Contributor

andrewjpage commented Feb 1, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants