Canu: failed with exit code 134
Dear all,
I am trying to reproduce the Canu example here: http://canu.readthedocs.io/en/latest/quick-start.html
I've downloaded the data here:
canu -p ecoli -d output/assembly genomeSize=4.8m -pacbio-raw output/reads/pacbio/ecoli/p6.25x.fastq
and now I am running:
canu -p ecoli -d output/assembly genomeSize=4.8m -pacbio-raw output/reads/pacbio/ecoli/p6.25x.fastq
but I get this error:
cd correction
/usr/local/Cellar/canu/1.5/Darwin-amd64/bin/gatekeeperCreate \
-minlength 1000 \
-o ./ecoli.gkpStore.BUILDING \
./ecoli.gkpStore.gkp \
> ./ecoli.gkpStore.BUILDING.err 2>&1
sh: line 4: 30328 Abort trap: 6 /usr/local/Cellar/canu/1.5/Darwin-amd64/bin/gatekeeperCreate -minlength 1000 -o ./ecoli.gkpStore.BUILDING ./ecoli.gkpStore.gkp > ./ecoli.gkpStore.BUILDING.err 2>&1
-- Finished on Mon Jun 5 18:24:23 2017 (lickety-split) with 126.644 GB free disk space
----------------------------------------
ERROR:
ERROR: Failed with exit code 134. (rc=34304)
ERROR:
================================================================================
Don't panic, but a mostly harmless error occurred and Canu stopped.
Can anybody help me, please?
Thanks.
c.
• 6,535 views
•
link
1 answer
#### Install canu ####
# http://canu.readthedocs.io/en/latest/quick-start.html
# https://github.com/marbl/canu
system('brew install homebrew/science/canu')
# It seems that canu needs gnuplot
system('brew install gnuplot')
# [https://github.com/Homebrew/homebrew-science/issues/5585][1]
system('brew reinstall homebrew/science/canu --build-from-source > output/software/canuBuildFromSource.txt')
# [https://stackoverflow.com/questions/19580758/gcc-fatal-error-stdio-h-no-such-file-or-directory][2]
system('xcode-select --install')
#### Follow the instructions to install Xcode developer tools
system('brew reinstall homebrew/science/canu --build-from-source')
### canu command works!
Thanks folks! Thanks to h.mon's comments I was able to fix the problem and install canu. The details above.
• 0 views
•
link
Log in to answer this question.
I added code markup to your post for increased readability. You can do this by selecting the text and clicking the 101010 button. When you compose or edit a post that button is in your toolbar, see image below:
Looks like a reference to the The Hitchhiker's Guide to the Galaxy.
the contents of the file
ecoli.gkpStore.BUILDING.errmay have more info on the error.One of the .err files says:
Based on this: https://github.com/Homebrew/homebrew-science/issues/5585
I have rebuilt canu from source using
brew reinstall homebrew/science/canu
I got this message:
There are errors but I don't know how to fix them.
Did you
READ THIS: http://docs.brew.sh/Troubleshooting.html? Your problem is very likely listed under "Check for common issues".Hint: search for
fatal error: stdio.h: No such file or directory macosx