Closed ghost closed 7 years ago
David; Sorry about the issue, and thank you for reporting it. This error was due to an incompatibility with recent versions of numpy and the optitype we were shipping with bcbio. I updated the optitype to a patch release that fixes the problem so if you do:
bcbio_conda install -c bioconda optitype
it should install 1.2.1. Then restarting your analysis in place should work and finish cleanly. Please let us know if you run into any other problems.
I am receiving the below message:
$ bcbio_conda install -c bioconda optitype
Fetching package metadata ...........
Solving package specifications: .
# All requested packages already installed.
# packages in environment at /usr/local/share/bcbio/anaconda:
#
optitype 2015.10.20 py27_1 bioconda
This is in a fresh ec2 instance:
# launch a Ubuntu Server 14.04 (ami-d05e75b8).
# at the least start an m4.4xlarge instance with a 100Gb SSD.
# install all development environment tools
sudo apt-get update
sudo apt-get install -y build-essential zlib1g-dev wget curl python-setuptools git \
openjdk-7-jdk openjdk-7-jre ruby libncurses5-dev libcurl4-openssl-dev \
libbz2-dev unzip pigz bsdmainutils python-minimal python-pip python-dev
sudo pip install synapseclient
sudo pip install awscli --upgrade --user
# install bcbio_nextgen
wget https://raw.githubusercontent.com/chapmanb/bcbio-nextgen/master/scripts/bcbio_nextgen_install.py
sudo python bcbio_nextgen_install.py /usr/local/share/bcbio --tooldir /usr/local --genomes hg38 --aligners bwa --isolate -u stable
# update Optitype to version 1.2.1
bcbio_conda install -c bioconda optitype
David; Apologies about the issues with the old 2015.10.20 version blocking the updates. I've expired that older version so if you re-run the update it should hopefully grab 1.2.1 and work now. Thank you for the patience and fingers crossed this will get things working for you.
Hi Brad,
I am working through the tumor/normal synthetic 3 Teaching example for bcbio-nextgen, but I am receiving an error from the OptiType HLA typing:
This is/was a known issue with Optitype as python3 numpy arrays won’t take Boolean index anymore. It has been addressed in the Optitype v1.2.1 release. Specifically, here:
coverage[int(bool(i_mismatches))][i_pairing-1][i_hitcount-1][i_pos-1:i_pos-1+i_read_length] +=
I manually edited line 617 of /usr/local/share/bcbio/anaconda/share/optitype-2015.10.20-1/hlatyper.py to add
int(bool(i_mismatches))
and continued running through the tutorial without issue. What is the best way to direct bcbio_nextgen to replace optitype-2015.10.20-1 in bioconda with the most recent version?Details of EC2 instance: