Skip to content

Commit

Permalink
Added docs/user/install.md troubleshooting for samtools error while l…
Browse files Browse the repository at this point in the history
…oading shared libraries
  • Loading branch information
mikej888 committed May 28, 2021
1 parent 30cd680 commit ce28de4
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions docs/user/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,8 @@ $ conda install -y -c anaconda h5py
$ conda install -y -c bioconda umi_tools
```

**Note:** For `gffutils`, `pip install` is recommended because using `conda install -y -c bioconda gffutils` under Python 3, seems to confuse the Python environment and sets Python to `Python 2.7.16`.

Check packages have installed command-line tools:

```console
Expand All @@ -323,17 +325,21 @@ $ python

Your number of `skipped` and `xfailed` (expected failures may differ, depending upon the version of h5py installed.

**Note:** For `gffutils`, `pip install` is recommended because using
**Troubleshooting: `samtools: error while loading shared libraries: libcrypto.so.1.0.0`

```console
$ conda install -y -c bioconda gffutils
If you get:

```conda
$ samtools --version
samtools: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory
```

under Python 3, seems to confuse the Python environment and sets Python to:
then try forcing a reinstall to a more recent version, for example:

```console
$ python --version
Python 2.7.16 :: Anaconda, Inc.
$ conda install -c bioconda samtools=1.9 --force-reinstall
$ samtools --version
samtools 1.9
```

---
Expand Down

0 comments on commit ce28de4

Please sign in to comment.