-
Notifications
You must be signed in to change notification settings - Fork 354
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
Installation issues #219
Comments
Thanks for the report and sorry about the issue. We're currently trying to move to a new version of samtools and bcftools, and it's a bit tricky with dependency issues. I pushed a fix that should address this. If you remove the temporary directory ( Thanks for trying bcbio-nextgen out and hope this works for you now. |
Thanks so much for the quick response! |
Looks like a new error --- any advice? Thanks!! [localhost] local: export CC=${CC:- READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting These open issues may also help: Fatal error: local() encountered an error (return code 1) while executing 'export CC=${CC:- Aborting. |
… non-GNU make builds. bcbio/bcbio-nextgen#219
Thanks for the detailed report. It looks like the Makefile failed to create the I added a speculative fix that creates the version.h files explicitly, which is helpful anyways since the Makefiles weren't reporting the right version on the command line. Could you try re-running the install and hopefully it'll go cleanly now with this fix. Sorry again about the issue and thanks for helping work through them. |
No worries about the issue - I just really appreciate your help in trying to work through this (and how on top of these posts you are)! Here's the output for the make --version: chobbick@Mason: /N/dc2/projects/mmgeseq/software/src> make -version GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for x86_64-redhat-linux-gnu And unfortunately it's still throwing an error: copying build/lib.linux-x86_64-2.7/pybedtools/test/data/multibamcov_test.bed -> /N/dc2/projects/mmgeseq/software/src/bcbio-nextgen/anaconda/lib/python2.7/site-packages/pybedtools/test/data copying build/lib.linux-x86_64-2.7/pybedtools/test/data/small.fastq -> /N/dc2/projects/mmgeseq/software/src/bcbio-nextgen/anaconda/lib/python2.7/site-packages/pybedtools/test/data copying build/lib.linux-x86_64-2.7/pybedtools/test/data/gdc.50.200.bam -> /N/dc2/projects/mmgeseq/software/src/bcbio-nextgen/anaconda/lib/python2.7/site-packages/pybedtools/test/data copying build/lib.linux-x86_64-2.7/pybedtools/test/data/b.bed -> /N/dc2/projects/mmgeseq/software/src/bcbio-nextgen/anaconda/lib/python2.7/site-packages/pybedtools/test/data error: Input/output error Cleaning up... Command /N/dc2/projects/mmgeseq/software/src/bcbio-nextgen/anaconda/bin/python -c "import setuptools;file=u'/tmp/pip_build_chobbick/pybedtools/setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-AYSkIZ-record/install-record.txt --single-version-externally-managed failed with error code 1 in /tmp/pip_build_chobbick/pybedtools Storing complete log in /N/u/chobbick/Mason/.pip/pip.log Traceback (most recent call last): File "bcbio_nextgen_install.py", line 226, in
File "bcbio_nextgen_install.py", line 34, in main
File "bcbio_nextgen_install.py", line 66, in bootstrap_bcbionextgen
File "/N/soft/rhel6/python/2.7.3/lib/python2.7/subprocess.py", line 511, in check_call
subprocess.CalledProcessError: Command '['/N/dc2/projects/mmgeseq/software/src/bcbio-nextgen/anaconda/bin/pip', 'install', '-r', 'https://raw.github.com/chapmanb/bcbio-nextgen/master/requirements.txt']' returned non-zero exit status -7 |
Hmm, I totally don't understand the original error but glad the updated version worked cleanly and got you past that. This new one looks like you ran into some kind of intermittent disk or network error ( |
Thanks again for the help. Unfortunately, there's still an error. It's not a space issue (we still have PBs left). Here’s the error: READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting /N/dc2/projects/mmgeseq/software/src/ruby/lib/ruby/2.0.0/open-uri.rb:353:in from /N/dc2/projects/mmgeseq/software/src/bcbio-nextgen/tools/Library/brew.rb:58:in `' Fatal error: local() encountered an error (return code 1) while executing 'export CC=${CC:- Aborting. This program built for x86_64-redhat-linux-gnu |
Sorry about the continued problems. This looks like a build error in bedtools. I pushed a fix and provided more information in this thread: #220 (comment). Hope an update will clean this up for you. Thanks again. |
Thanks so much for sticking through this with us! We finally got a successful installation, but we're having difficulties upgrading dependencies. The original command and output is below: jllin@Mason: /N/dc2/projects/mmgeseq/bcbio_test/project1/work> bcbio_nextgen.py ../config/project1.yaml Installed version of samtools sort does not have support for multithreading (-@ option) required to support bwa piped alignment and BAM merging. Please upgrade to the latest version from http://samtools.sourceforge.net/ And the output from trying to upgrade the dependencies is here: chobbick@Mason: /N/dc2/projects/mmgeseq/software/src> python bcbio_nextgen_install.py upgrade -u stable --nosudo --tools --data Any more tips for us? Sorry again for having all this back and forth! |
Awesome to hear you got an initial install done. Thanks for the persistence. It looks like there are a couple of issues:
Hope these get you working smoothly with an initial run. Thanks again, |
Thanks Brad, the PATH switch helped with samtools --- it was pulling from a previously installed version as you suggested. We're still having trouble with the --tools and --data arguments though. How can you tell which version you have? If you use --version, it says 0.7.5. We only have one version of bcbio_nextgen installed. jllin@Mason: /N/dc2/projects/mmgeseq/bcbio_test/project1/work> bcbio_nextgen.py --version Thanks again for your help! |
Hi Brad, sorry for the extra post, but I think we got it figured out! Thanks so much! |
That's the kind of comment I like. Great job. Nice to hear things are working. |
Hello, thank you for your wonderful work! This looks like the solution we've been looking for for our NGS experiments. Unfortunately, we've been having some issues with installation. It appears to be an issue with brew (which we haven't used before). Could you help us out? Nosudo is used since we do not have root permissions.
Thanks in advance for your help!
Command used: python bcbio_nextgen_install.py /path/to/bcbio-nextgen --tooldir=/path/to/tools --nosudo --isolate
Output:
[localhost] local: /N/dc2/projects/mmgeseq/software/src/bcbio-nextgen/tools/bin/brew update
Already up-to-date.
[localhost] local: /N/dc2/projects/mmgeseq/software/src/bcbio-nextgen/tools/bin/brew tap
[localhost] local: /N/dc2/projects/mmgeseq/software/src/bcbio-nextgen/tools/bin/brew tap homebrew/science
Initialized empty Git repository in /N/dc2/projects/mmgeseq/software/src/bcbio-nextgen/tools/Library/Taps/homebrew-science/.git/
remote: Counting objects: 3278, done.
remote: Compressing objects: 100% (2047/2047), done.
remote: Total 3278 (delta 1561), reused 2867 (delta 1210)
Receiving objects: 100% (3278/3278), 706.80 KiB | 354 KiB/s, done.
Resolving deltas: 100% (1561/1561), done.
Tapped 209 formula
[localhost] local: /N/dc2/projects/mmgeseq/software/src/bcbio-nextgen/tools/bin/brew tap chapmanb/cbl
Initialized empty Git repository in /N/dc2/projects/mmgeseq/software/src/bcbio-nextgen/tools/Library/Taps/chapmanb-cbl/.git/
remote: Counting objects: 31, done.
remote: Compressing objects: 100% (22/22), done.
remote: Total 31 (delta 11), reused 27 (delta 9)
Unpacking objects: 100% (31/31), done.
Warning: Could not tap chapmanb/cbl/htslib over homebrew/science/htslib
Warning: Could not tap chapmanb/cbl/samtools over homebrew/science/samtools
Tapped 6 formula
[localhost] local: /N/dc2/projects/mmgeseq/software/src/bcbio-nextgen/tools/bin/brew tap --repair
Pruned 0 dead formula
Warning: Could not tap chapmanb/cbl/htslib over homebrew/science/htslib
Warning: Could not tap chapmanb/cbl/samtools over homebrew/science/samtools
Tapped 213 formula
[localhost] local: /N/dc2/projects/mmgeseq/software/src/bcbio-nextgen/tools/bin/brew outdated
[localhost] local: export CC=${CC:-
which gcc
} && export CXX=${CXX:-which g++
} && export PERL5LIB=/N/dc2/projects/mmgeseq/software/src/bcbio-nextgen/tools/lib/perl5:${PERL5LIB} && /N/dc2/projects/mmgeseq/software/src/bcbio-nextgen/tools/bin/brew install --env=inherit cpanminus==> Downloading https://github.com/miyagawa/cpanminus/archive/1.7102.tar.gz
Already downloaded: /N/u/chobbick/Mason/.cache/Homebrew/cpanminus-1.7102.tar.gz
/N/dc2/projects/mmgeseq/software/src/bcbio-nextgen/tools/Cellar/cpanminus/1.7102: 5 files, 8.0K, built in 2 seconds
[localhost] local: /N/dc2/projects/mmgeseq/software/src/bcbio-nextgen/tools/bin/brew link --overwrite cpanminus
Warning: Already linked: /N/dc2/projects/mmgeseq/software/src/bcbio-nextgen/tools/Cellar/cpanminus/1.7102
To relink: brew unlink cpanminus && brew link cpanminus
[localhost] local: export CC=${CC:-
which gcc
} && export CXX=${CXX:-which g++
} && export PERL5LIB=/N/dc2/projects/mmgeseq/software/src/bcbio-nextgen/tools/lib/perl5:${PERL5LIB} && /N/dc2/projects/mmgeseq/software/src/bcbio-nextgen/tools/bin/brew install --env=inherit expat==> Downloading http://downloads.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz
Already downloaded: /N/u/chobbick/Mason/.cache/Homebrew/expat-2.1.0.tar.gz
==> ./configure --prefix=/N/dc2/projects/mmgeseq/software/src/bcbio-nextgen/tools/Cellar/expat/2.1.0 --mandir=/N/dc2/projects/mmgeseq/software/src/bcbio-nextgen/tools/Cellar/expat/2.1.0/share/man
==> make install
==> Caveats
Note that OS X has Expat 1.5 installed in /usr already.
==> Summary
/N/dc2/projects/mmgeseq/software/src/bcbio-nextgen/tools/Cellar/expat/2.1.0: 11 files, 32K, built in 23 seconds
[localhost] local: /N/dc2/projects/mmgeseq/software/src/bcbio-nextgen/tools/bin/brew link --overwrite expat
Warning: Already linked: /N/dc2/projects/mmgeseq/software/src/bcbio-nextgen/tools/Cellar/expat/2.1.0
To relink: brew unlink expat && brew link expat
[localhost] local: /N/dc2/projects/mmgeseq/software/src/bcbio-nextgen/tools/bin/brew unlink samtools
Error: No such keg: /N/dc2/projects/mmgeseq/software/src/bcbio-nextgen/tools/Cellar/samtools
Fatal error: local() encountered an error (return code 1) while executing '/N/dc2/projects/mmgeseq/software/src/bcbio-nextgen/tools/bin/brew unlink samtools'
Aborting.
Traceback (most recent call last):
File "bcbio_nextgen_install.py", line 226, in
main(parser.parse_args(), sys.argv[1:])
File "bcbio_nextgen_install.py", line 36, in main
subprocess.check_call([bcbio["bcbio_nextgen.py"], "upgrade"] + _clean_args(sys_argv, args, bcbio))
File "/N/soft/rhel6/python/2.7.3/lib/python2.7/subprocess.py", line 511, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/N/dc2/projects/mmgeseq/software/src/bcbio-nextgen/anaconda/bin/bcbio_nextgen.py', 'upgrade', '--tooldir=/N/dc2/projects/mmgeseq/software/src/bcbio-nextgen/tools', '--nosudo', '--isolate', '--data']' returned non-zero exit status 1
chobbick@Mason: /N/dc2/projects/mmgeseq/software/src>
The text was updated successfully, but these errors were encountered: