-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
51 changed files
with
2,921 additions
and
2,051 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
### Installation of CPSR using Conda | ||
|
||
This is an alternative installation approach that does not require Docker on your machine. At the moment it works only for Linux systems. | ||
|
||
A prerequisite is that you have Conda installed. First download the Conda package manager. Get it with: | ||
|
||
``` | ||
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh | ||
bash miniconda.sh -b -p ./miniconda | ||
``` | ||
|
||
Run the following to add Conda into your PATH. You can even put that into your `~/.bashrc` or `~/.zshrc` to avoid re-running this in the future: | ||
|
||
``` | ||
. ./miniconda/etc/profile.d/conda.sh | ||
``` | ||
|
||
#### Alternative 1 | ||
Create a new environment (`-n cpsr`), install the _cpsr_ Conda package directly from Anaconda Cloud: | ||
|
||
``` | ||
conda create -n cpsr -c conda-forge -c bioconda -c pcgr cpsr | ||
``` | ||
|
||
#### Alternative 2 | ||
Build the _cpsr_ package from source, which is useful if you need to use the development code from the repository: | ||
|
||
``` | ||
conda install conda-build | ||
export CHANNELS="-c conda-forge -c bioconda -c pcgr -c defaults" | ||
conda build $CHANNELS conda_pkg/cpsr | ||
conda install --use-local $CHANNELS cpsr | ||
``` | ||
|
||
For both alternatives you also need to download the reference data bundle for your genome build: | ||
|
||
``` | ||
wget http://insilico.hpc.uio.no/pcgr/pcgr.databundle.20201123.grch37.tar.gz -O grch37.tar.gz | ||
wget http://insilico.hpc.uio.no/pcgr/pcgr.databundle.20201123.grch38.tar.gz -O grch38.tar.gz | ||
tar -xzf grch37.tar.gz # will extract into ./data/grch37/ | ||
tar -xzf grch38.tar.gz # will extract into ./data/grch38/ | ||
``` | ||
|
||
There is a chance you'll encounter errors during the installation. Due to ongoing updates of the packages in public repositories, some packages might end up conflicting with each other or missing for your system. So try to stick to the dockerized version of CPSR whenever possible. | ||
|
||
### Running condarized CPSR | ||
|
||
Activate your environment with: | ||
|
||
``` | ||
conda activate cpsr | ||
``` | ||
|
||
Run CPSR with `--no-docker` flag. The `--pcgr_dir` argument now doesn't have to contain anything but a `data` directory that you downloaded. | ||
|
||
If you encounter errors with VEP, you may need to unset/reset PERL5LIB (e.g. `export PERL5LIB=""`), see the [following issue](https://github.com/bioconda/bioconda-recipes/issues/4390) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Sphinx build info version 1 | ||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. | ||
config: 430fd7bd5058a69516f266833495f846 | ||
config: 8e9d3f30cf8d8e2799e0ca09ed367f82 | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
Oops, something went wrong.