Closed DiyaVaka closed 4 years ago
I think you probably have a samtools in your PATH that is superseding the one that bcbio installs. If you do which samtools
, what comes up?
no it should not as this is new ecs optimized instance and has only bcbio installed on it and it does gives bcbio installed samtools
[ec2-user@ ~]$ which samtools /newvolume/bcbio/anaconda/bin/samtools
I'm stumped. What does /newvolume/bcbio/anaconda/bin/samtools --version
report?
hmm, i did that
(base) [ec2-user@ ~]$ which samtools /newvolume/bcbio/anaconda/bin/samtools (base) [ec2-user@i~]$ /newvolume/bcbio/anaconda/bin/samtools --version /newvolume/bcbio/anaconda/bin/samtools: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory (base) [ec2-user@ ~]$ export LD_LIBRARY_PATH="/newvolume/bcbio/anaconda/lib" (base) [ec2-user@i ~]$ /newvolume/bcbio/anaconda/bin/samtools --version /newvolume/bcbio/anaconda/bin/samtools: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory
Even after adding the libarary path it does not recognize it and i do see the file in the lib folder.
the library i have is (base) [ec2-user@ ~]$ ls -al /newvolume/bcbio/anaconda/lib/libcrypto.so.1.1 -rwxrwxr-x 1 ec2-user ec2-user 3278880 Jul 28 00:18 /newvolume/bcbio/anaconda/lib/libcrypto.so.1.1
i guess its expecting to have libcrypto.so.1.0.0:
Ok! I think bioconda
is having some trouble with these libraries right now. https://github.com/bioconda/bioconda-recipes/issues/12100 has someone else with this issue.
Can you try:
conda install openssl=1.0
to roll back the shared library?
Hi,
Thank you. the above solution worked. now i have another road block
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/newvolume/bcbio/anaconda/bin/bcbio_nextgen.py", line 245, in
I added this line to the above line in utils.py and it passed, but still have error from pool.py bcbio_bin = get_bcbio_bin()
hi,
smoove is complaining and when i try to install this is what it says
conda install -c bioconda smoove Collecting package metadata (current_repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source. Collecting package metadata (repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Solving environment: | Found conflicts! Looking for incompatible packages. This can take several minutes. Press CTRL-C to abort. failed
UnsatisfiableError: The following specifications were found to be incompatible with the existing python installation in your environment:
Specifications:
Your python: python=3.6
If python is on the left-most side of the chain, that's the version you've asked for. When python appears to the right, that indicates that the thing on the left is somehow not available for the python version you are constrained to. Note that conda will not change your python version to a different minor version unless you explicitly specify that.
Hi @DiyaVaka ! What is the original smoove error? Why would you need to reinstall it?
Can you show what is in your PATH?
echo $PATH
Sergey
/newvolume/bcbio/anaconda/bin:/newvolume/bcbio/anaconda/condabin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/ec2-user/.local/bin:/home/ec2-user/bin
the original error with smoove was it could not find it and there is not one available
Hi!
Your installation seems to be broken. What was your installation command? A successful installation should create two bin directories:
/bcbio/anaconda/bin
/bcbio/tools/bin
You need to put both dirs in your PATH.
smoove goes into tools:
which smoove
/bcbio/tools/bin/smoove
Sergey
I see to be hitting a similar issue with 1.2.9 clean installed on a new EC2 instance running Ubuntu 20:
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/opt/koopa/opt/bcbio-nextgen/tools/bin/bcbio_nextgen.py", line 245, in <module>
main(**kwargs)
File "/opt/koopa/opt/bcbio-nextgen/tools/bin/bcbio_nextgen.py", line 46, in main
run_main(**kwargs)
File "/opt/koopa/app/bcbio-nextgen/1.2.9/install/anaconda/lib/python3.7/site-packages/bcbio/pipeline/main.py", line 50, in run_main
fc_dir, run_info_yaml)
File "/opt/koopa/app/bcbio-nextgen/1.2.9/install/anaconda/lib/python3.7/site-packages/bcbio/pipeline/main.py", line 91, in _run_toplevel
for xs in pipeline(config, run_info_yaml, parallel, dirs, samples):
File "/opt/koopa/app/bcbio-nextgen/1.2.9/install/anaconda/lib/python3.7/site-packages/bcbio/pipeline/main.py", line 242, in rnaseqpipeline
samples = rnaseq_prep_samples(config, run_info_yaml, parallel, dirs, samples)
File "/opt/koopa/app/bcbio-nextgen/1.2.9/install/anaconda/lib/python3.7/site-packages/bcbio/pipeline/main.py", line 467, in rnaseq_prep_samples
[x[0]["description"] for x in samples]]])
File "/opt/koopa/app/bcbio-nextgen/1.2.9/install/anaconda/lib/python3.7/site-packages/bcbio/distributed/multi.py", line 28, in run_parallel
return run_multicore(fn, items, config, parallel=parallel)
File "/opt/koopa/app/bcbio-nextgen/1.2.9/install/anaconda/lib/python3.7/site-packages/bcbio/distributed/multi.py", line 86, in run_multicore
for data in joblib.Parallel(parallel["num_jobs"], batch_size=1, backend="multiprocessing")(joblib.delayed(fn)(*x) for x in items):
File "/opt/koopa/app/bcbio-nextgen/1.2.9/install/anaconda/lib/python3.7/site-packages/joblib/parallel.py", line 1061, in __call__
self.retrieve()
File "/opt/koopa/app/bcbio-nextgen/1.2.9/install/anaconda/lib/python3.7/site-packages/joblib/parallel.py", line 940, in retrieve
self._output.extend(job.get(timeout=self.timeout))
File "/opt/koopa/app/bcbio-nextgen/1.2.9/install/anaconda/lib/python3.7/multiprocessing/pool.py", line 657, in get
raise self._value
OSError: Program problems found. You can upgrade dependencies with:
bcbio_nextgen.py upgrade -u skip --tooldir=/usr/local
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/
Looks like there's a problem with samtools
dependency on libcrypto
:
/opt/koopa/opt/bcbio-nextgen/install/anaconda/bin/samtools
samtools: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory
Here's the current list of environments:
/opt/koopa/opt/bcbio-nextgen/install/anaconda/condabin/conda env list
# conda environments:
#
base * /opt/koopa/app/bcbio-nextgen/1.2.9/install/anaconda
bwakit /opt/koopa/app/bcbio-nextgen/1.2.9/install/anaconda/envs/bwakit
dv /opt/koopa/app/bcbio-nextgen/1.2.9/install/anaconda/envs/dv
htslib1.10 /opt/koopa/app/bcbio-nextgen/1.2.9/install/anaconda/envs/htslib1.10
htslib1.11 /opt/koopa/app/bcbio-nextgen/1.2.9/install/anaconda/envs/htslib1.11
htslib1.12 /opt/koopa/app/bcbio-nextgen/1.2.9/install/anaconda/envs/htslib1.12
htslib1.12_py3.9 /opt/koopa/app/bcbio-nextgen/1.2.9/install/anaconda/envs/htslib1.12_py3.9
htslib1.9 /opt/koopa/app/bcbio-nextgen/1.2.9/install/anaconda/envs/htslib1.9
java /opt/koopa/app/bcbio-nextgen/1.2.9/install/anaconda/envs/java
python2 /opt/koopa/app/bcbio-nextgen/1.2.9/install/anaconda/envs/python2
python3.6 /opt/koopa/app/bcbio-nextgen/1.2.9/install/anaconda/envs/python3.6
r35 /opt/koopa/app/bcbio-nextgen/1.2.9/install/anaconda/envs/r35
rbcbiornaseq /opt/koopa/app/bcbio-nextgen/1.2.9/install/anaconda/envs/rbcbiornaseq
samtools0 /opt/koopa/app/bcbio-nextgen/1.2.9/install/anaconda/envs/samtools0
@naumenko-sa Does CloudBioLinux need an update? I can work on debugging this.
These seems related:
@mjsteinbaugh
Which samtools version did you end up having in your main bcbio env? I've been seeing this problem recently as well: https://github.com/bcbio/bcbio-nextgen/issues/3557
@amizeranschi I'm working on debugging this! Will let you know
Posting in your other thread. Let's keep this closed.
Hi,
I have a clean install of bcbio and everything went fine with installation and no errors. While I tried to run sample it gave the following errors
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/
Then i tried to do
but still getting the same error message.
I tried to do conda install samtools tools but it says everything is up to date