Closed Fazulur closed 5 years ago
Hi Fazulur,
Sorry about that-- we have been hunting down these issues, they are a byproduct of switching over to python3. I pushed a fix for this one and for another one you're likely to run into in the same file. If you update the code to latest development by doing:
bcbio_nextgen.py upgrade -u development
you should pull in this fix. Let me know if this fixes the problem for you!
Dear Rory,
Thanks a lot for your quick response. I updated bcbio to latest development. After setting BCBIO_JAVA_HOME=$HOME/software/tools/java/1.7.0/, I ran mutect job again It is giving the same error.
Here is sample yaml file
details:
And error log:
[2019-06-24T06:24Z] hpcsdcn31: Testing minimum versions of installed programs [2019-06-24T06:24Z] hpcsdcn31: Unexpected error Traceback (most recent call last): File "BCBIO/v1.1.5/anaconda/lib/python3.6/site-packages/bcbio/distributed/ipythontasks.py", line 52, in _setup_logging yield config File "BCBIO/v1.1.5/anaconda/lib/python3.6/site-packages/bcbio/distributed/ipythontasks.py", line 541, in organize_samples return ipython.zip_args(apply(run_info.organize, args)) File "BCBIO/v1.1.5/anaconda/lib/python3.6/site-packages/bcbio/distributed/ipythontasks.py", line 80, in apply return object(args, **kwargs) File "BCBIO/v1.1.5/anaconda/lib/python3.6/site-packages/bcbio/pipeline/run_info.py", line 93, in organize out = _add_provenance(out, dirs, config, not is_cwl) File "BCBIO/v1.1.5/anaconda/lib/python3.6/site-packages/bcbio/pipeline/run_info.py", line 106, in _add_provenance versioncheck.testall(items) File "BCBIO/v1.1.5/anaconda/lib/python3.6/site-packages/bcbio/provenance/versioncheck.py", line 91, in testall out = fn(items) File "BCBIO/v1.1.5/anaconda/lib/python3.6/site-packages/bcbio/provenance/versioncheck.py", line 73, in java for line in output.split("\n"): TypeError: a bytes-like object is required, not 'str'
Please suggest me how can I proceed further.
Thanks In Advance Fazulur Rehaman
Fazulur; Sorry about the additional problems. I pushed a fix for this python 3 issue as well, if you can update from development and try again. Hopefully this gets it all working cleanly for you, and please let us know if not. Thanks for helping debug.
Dear Brad,
Thanks a lot for your quick response & suggestions.
I set BCBIO_JAVA_HOME=$HOME/software/tools/java/1.7.0/ and tried to run mutect. Still it is picking java 1.8 when i run mutect. Please help me in setting BCBIO_JAVA_HOME variable to path.
Traceback (most recent call last):
File "BCBIO/v1.1.5/bin/bcbio_nextgen.py", line 238, in
java version 1.7 required for running MuTect and GATK < 3.6. It needs to be first on your PATH so running 'java -version' give the correct version. Found version 1.8.0_192 at BCBIO/v1.1.5/anaconda/bin/java
And also after upgrade to development version, I am getting peddy error when running gatk-variant pipeline.
[2019-06-25T11:11Z] local: Running peddy on work/gatk-haplotype/test.vcf.gz against work test..ped.
[2019-06-25T11:11Z] local: Uncaught exception occurred
Traceback (most recent call last):
File "BCBIO/v1.1.5/anaconda/lib/python3.6/site-packages/bcbio/provenance/do.py", line 26, in run
_do_run(cmd, checks, log_stdout, env=env)
File "BCBIO/v1.1.5/anaconda/lib/python3.6/site-packages/bcbio/provenance/do.py", line 106, in _do_run
raise subprocess.CalledProcessError(exitcode, error_msg)
subprocess.CalledProcessError: Command 'set -o pipefail; BCBIO/v1.1.5/anaconda/bin/peddy -p 8 --plot --prefix test work/gatk-haplotype/test.ped 2> work/bcbiotx/tmple0m57jt/run-stderr.log
' returned non-zero exit status 1.
[2019-06-25T11:11Z] local: Traceback (most recent call last):
File "BCBIO/v1.1.5/anaconda/bin/peddy", line 11, in
This system lists a couple of UTF-8 supporting locales that you can pick from.
Could you please help me to resolve this issue. Thanks In Advance Fazulur Rehaman
Hi Fazulur,
I pushed a fix for this issue with peddy. Regarding the java issue, if you track down the java binary for java 7 and add it first in your PATH before running bcbio, it should find the correct java version.
Dear Rory,
Thanks a lot for your quick response.
When I run mutect on my login node. it is able to pickup BCBIO_JAVA_HOME. But when I run with "-s lsf -q normal", it is not exporting java 1.7. On execution node, still it is capturing java 1.8 from anaconda libraries. Eg: mutect working when I run bcbio locally bcbio_nextgen.py test.yaml -n 100
But with the below command it is giving same error bcbio_nextgen.py test.yaml -n 100 --timeout 20000 -s lsf -q normal -r P=test
And, while upgrading bcbio to latest development, I am getting the below error.
ERROR conda.core.link:_execute(637): An error occurred while installing package 'None'.
AssertionError()
Attempting to roll back.
Rolling back transaction: done
AssertionError()
()
Traceback (most recent call last):
File "BCBIO/v1.1.5/bin/bcbio_nextgen.py", line 221, in
Could you please help me to resolve issues.
Thanks In Advance Fazulur Rehaman
Fazulur; Thanks for the work debugging and the detailed feedback. For the java 7 PATH and BCBIO_JAVA_HOME error, this sounds like something with your lsf setup where either:
Hopefully this gives some ideas for helping debug why the environment is different on submitted jobs.
For the conda issue, please try running the failing command outside of bcbio:
BCBIO/v1.1.5/anaconda/bin/conda remove -y hisat2
This should hopefully give some useful error messages about why it fails. Hope this helps.
Dear Brad,
Thanks a lot for your quick response.
Here is the full error. It is complaining about missing python module.
Error processing line 1 of BCBIO/v1.1.5/anaconda/lib/python3.6/site-packages/protobuf-3.6.1-py3.6-nspkg.pth:
Traceback (most recent call last):
File "BCBIO/v1.1.5/anaconda/lib/python3.6/site.py", line 168, in addpackage
exec(line)
File "
Please help me to resolve this issue.
Thanks In Advance Fazulur Rehaman
Fazulur;
Sorry about the additional problems. I'm not sure what happened here or how best to resolve. The error messages indicate something is problematic in your install itself since it's apparently failing trying to import the requests
module with an apparent loader error. My best idea would be to try uninstalling and reinstalling requests. It's not clear if conda itself is broken but something like:
bcbio_conda uninstall requests
bcbio_conda install -c conda-forge -y requests
could get you a clean install. Sorry this is so difficult to debug remotely but hope this helps.
Dear Brad,
We tried the above commands and still we are having the same issues.
And we stopped troubleshooting this and will use Mutect outside of bcbio, since it is creating issues.
After Reverted back the bcbio v1.1.5 version which was working before. It is giving below error while running gatk-variant pipeline.
File "BCBIO/v1.1.5/anaconda/lib/python3.6/distutils/version.py", line 337, in _cmp if self.version < other.version: TypeError: '<' not supported between instances of 'str' and 'int'
Then, we tried to upgrade bcbio to development version, it is giving new error. bcbio_nextgen.py upgrade -u development
Please suggest me how can I resolve this.
Thanks In Advance Fazulur Rehaman
Hi Fazulur,
These are bugs that we fixed in the development version-- is there a reason you can't use that?
Hi Rory, Thanks a lot for your quick response.
I am sorry, we are getting additional issues after upgrade to development version. "ModuleNotFoundError: No module named 'pip._vendor.requests'"
Brad suggested to try the below bcbio_conda uninstall requests bcbio_conda install -c conda-forge -y requests
After trying this, again we are getting the same "module errors". Thatswhy we thought of using the backuped verison (v1.1.5) which was working before without issues for time being. Now we are having "Typeerror" issue with this as well.
Please suggest me how can I proceed further.
Thanks In Advance Fazulur Rehaman
Thanks, something seems messed up your with your install, but it is hard to tell without seeing the whole error, if you could paste in the entire thing it would be helpful. I'm guessing that somewhere another python installation on your machine is leaking into your PATH which is causing these problems.
Hi Rory,
Here is the full error while upgrade to development version.
$bcbio_nextgen.py upgrade -u development
Upgrading bcbio
Collecting package metadata (current_repodata.json): ...working... done
Solving environment: ...working...
The environment is inconsistent, please check the package plan carefully
The following packages are causing the inconsistency:
- defaults/linux-64::numpy-base==1.15.4=py27h2f8d375_0
failed
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working...
The environment is inconsistent, please check the package plan carefully
The following packages are causing the inconsistency:
- defaults/linux-64::numpy-base==1.15.4=py27h2f8d375_0
failed
UnsatisfiableError: The following specifications were found to be incompatible with each other:
- bioconda/linux-64::bioconductor-biovizbase==1.30.1=r351h14c3975_0 -> bioconductor-ensembldb[version='>=2.6.0,<2.7.0'] -> bioconductor-genomicfeatures[version='>=1.34.0,<1.35.0'] -> bioconductor-biomart[version='>=2.38.0,<2.39.0'] -> r-httr -> r-curl[version='>=0.9.1']
- bioconda/linux-64::bioconductor-biovizbase==1.30.1=r351h14c3975_0 -> bioconductor-ensembldb[version='>=2.6.0,<2.7.0'] -> bioconductor-genomicfeatures[version='>=1.34.0,<1.35.0'] -> bioconductor-biomart[version='>=2.38.0,<2.39.0'] -> r-httr -> r-r6
- bioconda/linux-64::bioconductor-titancna==1.20.1=r351h14c3975_0 -> bioconductor-variantannotation[version='>=1.28.0,<1.29.0'] -> bioconductor-genomicfeatures[version='>=1.34.0,<1.35.0'] -> bioconductor-biomart[version='>=2.38.0,<2.39.0'] -> r-httr -> r-curl[version='>=0.9.1']
- bioconda/linux-64::bioconductor-titancna==1.20.1=r351h14c3975_0 -> bioconductor-variantannotation[version='>=1.28.0,<1.29.0'] -> bioconductor-genomicfeatures[version='>=1.34.0,<1.35.0'] -> bioconductor-biomart[version='>=2.38.0,<2.39.0'] -> r-httr -> r-r6
- bioconda/linux-64::bioconductor-titancna==1.20.1=r351h14c3975_0 -> r-foreach[version='>=1.4.3']
- bioconda/linux-64::bioconductor-variantannotation==1.28.3=r351h14c3975_0 -> bioconductor-genomicfeatures[version='>=1.34.0,<1.35.0'] -> bioconductor-biomart[version='>=2.38.0,<2.39.0'] -> r-httr -> r-curl[version='>=0.9.1']
- bioconda/linux-64::bioconductor-variantannotation==1.28.3=r351h14c3975_0 -> bioconductor-genomicfeatures[version='>=1.34.0,<1.35.0'] -> bioconductor-biomart[version='>=2.38.0,<2.39.0'] -> r-httr -> r-r6
- bioconda/linux-64::gdk-pixbuf==2.32.2=1
- bioconda/linux-64::r-basejump==0.7.2=r351_1 -> bioconductor-annotationhub -> bioconductor-interactivedisplaybase[version='>=1.20.0,<1.21.0'] -> r-shiny -> r-httpuv[version='>=1.5.0'] -> r-promises -> r-r6
- bioconda/linux-64::r-basejump==0.7.2=r351_1 -> bioconductor-annotationhub -> r-curl
- bioconda/linux-64::r-bcbiobase==0.4.1=r351_1 -> r-basejump[version='>=0.7.2'] -> r-brio[version='>=0.2.1'] -> r-curl[version='>=1.95']
- bioconda/linux-64::r-bcbiobase==0.4.1=r351_1 -> r-basejump[version='>=0.7.2'] -> r-brio[version='>=0.2.1'] -> r-jsonlite[version='>=1.6']
- bioconda/linux-64::r-bcbiobase==0.4.1=r351_1 -> r-basejump[version='>=0.7.2'] -> r-brio[version='>=0.2.1'] -> r-readr[version='>=1.3'] -> r-r6
- bioconda/linux-64::r-bcbiornaseq==0.2.8=r351_0 -> r-bcbiobase -> r-basejump==0.7.2 -> bioconductor-annotationhub -> bioconductor-interactivedisplaybase[version='>=1.20.0,<1.21.0'] -> r-shiny -> r-httpuv[version='>=1.5.0'] -> r-promises -> r-r6
- bioconda/linux-64::r-bcbiornaseq==0.2.8=r351_0 -> r-bcbiobase -> r-basejump==0.7.2 -> bioconductor-annotationhub -> r-curl
- bioconda/linux-64::r-brio==0.1.8=r351_0 -> r-curl[version='>=1.95']
- bioconda/linux-64::r-brio==0.1.8=r351_0 -> r-jsonlite[version='>=1.6']
- bioconda/linux-64::r-brio==0.1.8=r351_0 -> r-readr[version='>=1.3'] -> r-r6
- bioconda/linux-64::r-goalie==0.2.9=r351_0 -> r-curl[version='>=3.2.*']
- bioconda/linux-64::r-sleuth==0.30.0=r351_1 -> r-dplyr -> r-r6
- bioconda/linux-64::r-syntactic==0.1.5=r351_0 -> r-goalie[version='>=0.2.9'] -> r-curl[version='>=3.2']
- bioconda/linux-64::r-transformer==0.1.6=r351_0 -> r-goalie[version='>=0.2.9'] -> r-curl[version='>=3.2']
- bioconda/noarch::bioconductor-annotationhub==2.14.2=r351_0 -> bioconductor-interactivedisplaybase[version='>=1.20.0,<1.21.0'] -> r-shiny -> r-httpuv[version='>=1.5.0'] -> r-promises -> r-r6
- bioconda/noarch::bioconductor-annotationhub==2.14.2=r351_0 -> r-curl
- bioconda/noarch::bioconductor-biomart==2.38.0=r351_0 -> r-httr -> r-curl[version='>=0.9.1']
- bioconda/noarch::bioconductor-biomart==2.38.0=r351_0 -> r-httr -> r-r6
- bioconda/noarch::bioconductor-bubbletree==2.12.0=r351_0 -> bioconductor-biovizbase[version='>=1.30.0,<1.31.0'] -> bioconductor-ensembldb[version='>=2.6.0,<2.7.0'] -> bioconductor-genomicfeatures[version='>=1.34.0,<1.35.0'] -> bioconductor-biomart[version='>=2.38.0,<2.39.0'] -> r-httr -> r-curl[version='>=0.9.1']
- bioconda/noarch::bioconductor-bubbletree==2.12.0=r351_0 -> bioconductor-biovizbase[version='>=1.30.0,<1.31.0'] -> bioconductor-ensembldb[version='>=2.6.0,<2.7.0'] -> bioconductor-genomicfeatures[version='>=1.34.0,<1.35.0'] -> bioconductor-biomart[version='>=2.38.0,<2.39.0'] -> r-httr -> r-r6
- bioconda/noarch::bioconductor-clusterprofiler==3.10.1=r351_0 -> bioconductor-enrichplot[version='>=1.2.0,<1.3.0'] -> r-europepmc -> r-dplyr -> r-r6
- bioconda/noarch::bioconductor-clusterprofiler==3.10.1=r351_0 -> bioconductor-enrichplot[version='>=1.2.0,<1.3.0'] -> r-europepmc -> r-httr -> r-curl[version='>=0.9.1']
- bioconda/noarch::bioconductor-degreport==1.19.1=r351_0 -> r-broom -> r-dplyr -> r-r6
- bioconda/noarch::bioconductor-dexseq==1.28.0=r351_0 -> bioconductor-biomart[version='>=2.38.0,<2.39.0'] -> r-httr -> r-curl[version='>=0.9.1']
- bioconda/noarch::bioconductor-dexseq==1.28.0=r351_0 -> bioconductor-biomart[version='>=2.38.0,<2.39.0'] -> r-httr -> r-r6
- bioconda/noarch::bioconductor-enrichplot==1.2.0=r351_0 -> r-europepmc -> r-dplyr -> r-r6
- bioconda/noarch::bioconductor-enrichplot==1.2.0=r351_0 -> r-europepmc -> r-httr -> r-curl[version='>=0.9.1']
- bioconda/noarch::bioconductor-ensembldb==2.6.3=r351_0 -> bioconductor-genomicfeatures[version='>=1.34.0,<1.35.0'] -> bioconductor-biomart[version='>=2.38.0,<2.39.0'] -> r-httr -> r-curl[version='>=0.9.1']
- bioconda/noarch::bioconductor-ensembldb==2.6.3=r351_0 -> bioconductor-genomicfeatures[version='>=1.34.0,<1.35.0'] -> bioconductor-biomart[version='>=2.38.0,<2.39.0'] -> r-httr -> r-r6
- bioconda/noarch::bioconductor-genomicfeatures==1.34.1=r351_0 -> bioconductor-biomart[version='>=2.38.0,<2.39.0'] -> r-httr -> r-curl[version='>=0.9.1']
- bioconda/noarch::bioconductor-genomicfeatures==1.34.1=r351_0 -> bioconductor-biomart[version='>=2.38.0,<2.39.0'] -> r-httr -> r-r6
- bioconda/noarch::bioconductor-interactivedisplaybase==1.20.0=r351_0 -> r-shiny -> r-httpuv[version='>=1.5.0'] -> r-promises -> r-r6
- bioconda/noarch::bioconductor-oligoclasses==1.44.0=r351_0 -> r-foreach
- bioconda/noarch::bioconductor-purecn==1.12.1=r351_0 -> bioconductor-genomicfeatures[version='>=1.34.0,<1.35.0'] -> bioconductor-biomart[version='>=2.38.0,<2.39.0'] -> r-httr -> r-curl[version='>=0.9.1']
- bioconda/noarch::bioconductor-purecn==1.12.1=r351_0 -> bioconductor-genomicfeatures[version='>=1.34.0,<1.35.0'] -> bioconductor-biomart[version='>=2.38.0,<2.39.0'] -> r-httr -> r-r6
- bioconda/noarch::bioconductor-snpchip==2.28.0=r351_0 -> bioconductor-oligoclasses[version='>=1.44.0,<1.45.0'] -> r-foreach
- conda-forge/linux-64::gtk2==2.24.31=h5baeb44_1000 -> gdk-pixbuf
- conda-forge/linux-64::libarchive==3.3.3=hc3f970e_1004 -> zstd[version='>=1.3.3,<1.3.4.0a0']
- conda-forge/linux-64::r-curl==3.3=r351h96ca727_0
- conda-forge/linux-64::r-dplyr==0.8.0.1=r351h29659fb_1000 -> r-r6[version='>=2.2.2']
- conda-forge/linux-64::r-ggforce==0.2.1=r351h29659fb_0 -> r-ggplot2[version='>=3.0.0'] -> r-scales[version='>=0.5.0'] -> r-r6
- conda-forge/linux-64::r-ggraph==1.0.2=r351h29659fb_1002 -> r-dplyr -> r-r6
- conda-forge/linux-64::r-httpuv==1.4.5.1=r351hf484d3e_1000 -> r-promises -> r-r6
- conda-forge/linux-64::r-jsonlite==1.6=r351h96ca727_1000
- conda-forge/linux-64::r-pkgload==1.0.2=r351h29659fb_1000 -> r-desc -> r-r6
- conda-forge/linux-64::r-processx==3.3.0=r351hcdcec82_0 -> r-r6
- conda-forge/linux-64::r-promises==1.0.1=r351h29659fb_1000 -> r-r6
- conda-forge/linux-64::r-readr==1.3.1=r351h29659fb_1000 -> r-r6
- conda-forge/linux-64::r-readxl==1.3.1=r351h0357c0b_0 -> r-progress -> r-r6
- conda-forge/linux-64::r-scales==1.0.0=r351h29659fb_1001 -> r-r6
- conda-forge/linux-64::r-tidyr==0.8.3=r351h0357c0b_0 -> r-dplyr[version='>=0.7.0'] -> r-r6
- conda-forge/linux-64::zstd==1.3.3=1
- conda-forge/noarch::r-broom==0.5.2=r351h6115d3f_0 -> r-dplyr -> r-r6
- conda-forge/noarch::r-callr==3.2.0=r351h6115d3f_0 -> r-processx[version='>=3.2.1'] -> r-r6
- conda-forge/noarch::r-crosstalk==1.0.0=r351h6115d3f_1001 -> r-r6
- conda-forge/noarch::r-dbplyr==1.3.0=r351h6115d3f_1000 -> r-dplyr[version='>=0.7.5'] -> r-r6
- conda-forge/noarch::r-desc==1.2.0=r351h6115d3f_1001 -> r-r6
- conda-forge/noarch::r-devtools==2.0.2=r351h6115d3f_0 -> r-httr[version='>=0.4'] -> r-curl[version='>=0.9.1']
- conda-forge/noarch::r-devtools==2.0.2=r351h6115d3f_0 -> r-httr[version='>=0.4'] -> r-r6
- conda-forge/noarch::r-domc==1.3.5=r351_1000 -> r-foreach[version='>=1.2.0']
- conda-forge/noarch::r-dt==0.5=r351h6115d3f_0 -> r-crosstalk -> r-r6
- conda-forge/noarch::r-europepmc==0.3=r351h6115d3f_1000 -> r-dplyr -> r-r6
- conda-forge/noarch::r-europepmc==0.3=r351h6115d3f_1000 -> r-httr -> r-curl[version='>=0.9.1']
- conda-forge/noarch::r-foreach==1.4.4=r351h6115d3f_1001
- conda-forge/noarch::r-ggplot2==3.1.1=r351h6115d3f_0 -> r-scales[version='>=0.5.0'] -> r-r6
- conda-forge/noarch::r-gh==1.0.1=r351h6115d3f_1001 -> r-httr -> r-curl[version='>=0.9.1']
- conda-forge/noarch::r-gh==1.0.1=r351h6115d3f_1001 -> r-httr -> r-r6
- conda-forge/noarch::r-httr==1.4.0=r351h6115d3f_1000 -> r-curl[version='>=0.9.1']
- conda-forge/noarch::r-httr==1.4.0=r351h6115d3f_1000 -> r-r6
- conda-forge/noarch::r-modelr==0.1.4=r351h6115d3f_0 -> r-broom -> r-dplyr -> r-r6
- conda-forge/noarch::r-pkgbuild==1.0.3=r351h6115d3f_0 -> r-callr[version='>=2.0.0'] -> r-processx[version='>=3.2.1'] -> r-r6
- conda-forge/noarch::r-progress==1.2.0=r351h6115d3f_1002 -> r-r6
- conda-forge/noarch::r-r6==2.4.0=r351h6115d3f_0
- conda-forge/noarch::r-rcmdcheck==1.3.2=r351h6115d3f_1000 -> r-callr[version='>=2.0.0'] -> r-processx[version='>=3.2.1'] -> r-r6
- conda-forge/noarch::r-rdrop2==0.8.1=r351h6115d3f_1001 -> r-dplyr -> r-r6
- conda-forge/noarch::r-rdrop2==0.8.1=r351h6115d3f_1001 -> r-httr -> r-curl[version='>=0.9.1']
- conda-forge/noarch::r-reprex==0.2.1=r351h6115d3f_1000 -> r-callr[version='>=2.0.0'] -> r-processx[version='>=3.2.1'] -> r-r6
- conda-forge/noarch::r-rio==0.5.16=r351h6115d3f_1000 -> r-curl[version='>=0.6']
- conda-forge/noarch::r-rvest==0.3.2=r351h6115d3f_1001 -> r-httr[version='>=0.5'] -> r-curl[version='>=0.9.1']
- conda-forge/noarch::r-rvest==0.3.2=r351h6115d3f_1001 -> r-httr[version='>=0.5'] -> r-r6
- conda-forge/noarch::r-selectr==0.4_1=r351h6115d3f_1000 -> r-r6
- conda-forge/noarch::r-shiny==1.2.0=r351_1000 -> r-httpuv[version='>=1.4.4'] -> r-promises -> r-r6
- conda-forge/noarch::r-tidyverse==1.2.1=r351h6115d3f_1001 -> r-broom[version='>=0.4.2'] -> r-dplyr -> r-r6
- conda-forge/noarch::r-tidyverse==1.2.1=r351h6115d3f_1001 -> r-httr[version='>=1.3.1'] -> r-curl[version='>=0.9.1']
- conda-forge/noarch::r-usethis==1.5.0=r351h6115d3f_0 -> r-curl[version='>=2.7']
- conda-forge/noarch::r-usethis==1.5.0=r351h6115d3f_0 -> r-desc -> r-r6
- conda-forge/noarch::r-xopen==1.0.0=r351h6115d3f_1000 -> r-processx -> r-r6
- conda-forge/noarch::r==3.5.1=r351_1000
Traceback (most recent call last):
File "BCBIO/v1.1.5/bin/bcbio_nextgen.py", line 221, in
Please help me to resolve this issue.
Thanks In Advance Fazulur Rehaman
Fazulur; Sorry about these upgrade issues. That's a difficult one, as it looks like conda got in an unhappy state somehow. The initial error about numpy and py27 indicates this might have happened due to the python 2 to 3 transition, and now something is out of sync. What was the upgrade path for this install?
In these cases the easiest approach is often just to re-install bcbio and the tools, leaving the data in place. You can move the existing anaconda
directory and then run the installer to add them back in reusing the rest of the install:
mv /path/to/bcbio/anaconda /path/to/bcbio/anaconda.orig
python bcbio_nextgen_install.py /path/to/bcbio --tooldir /path/to/tooldir -u development
Hope this gets it installing cleanly for you.
Thanks, we had a bunch of problems with installation of tools around this time that should be cleaned up now. I've done a full install and upgrade a few days ago and everything is all set now. Hopefully this is no longer an issue, please re-open if this isn't resolved for you.
Dear Bcbio team,
I tried installing Mutect 1.1.7 and gatk 3.4 as per below instructions under section "GATK and MuTect/MuTect" https://bcbio-nextgen.readthedocs.io/en/latest/contents/installation.html
Commands bcbio_nextgen.py upgrade --tools --toolplus gatk=$HOME/gatkv3.4/GenomeAnalysisTK.jar bcbio_nextgen.py upgrade --tools --toolplus mutect=/path/to/mutect/mutect-1.1.7.jar
And set BCBIO_JAVA_HOME=$HOME/java1.7.0/
I am getting the below error while installing Mutect 1.1.7
File "BCBIO/v1.1.5/bin/bcbio_nextgen.py", line 221, in
install.upgrade_bcbio(kwargs["args"])
File "BCBIO/v1.1.5/anaconda/lib/python3.6/site-packages/bcbio/install.py", line 94, in upgrade_bcbio
_install_toolplus(args)
File "BCBIO/v1.1.5/anaconda/lib/python3.6/site-packages/bcbio/install.py", line 520, in _install_toolplus
_install_gatk_jar(tool.name, tool.fname, toolplus_manifest, system_config, toolplus_dir)
File "BCBIO/v1.1.5/anaconda/lib/python3.6/site-packages/bcbio/install.py", line 537, in _install_gatk_jar
version = get_gatk_jar_version(name, fname)
File "BCBIO/v1.1.5/anaconda/lib/python3.6/site-packages/bcbio/install.py", line 528, in get_gatk_jar_version
return broad.get_mutect_version(fname)
File "BCBIO/v1.1.5/anaconda/lib/python3.6/site-packages/bcbio/broad/init.py", line 116, in get_mutect_version
if "SomaticIndelDetector" in stdout.read().strip():
TypeError: a bytes-like object is required, not 'str'
Could you please help me to resolve this issue.
Thanks In Advance Fazulur Rehaman