wodanaz / Assembling_viruses

0 stars 0 forks source link

Adds conda environment to scripts #39

Closed johnbradley closed 3 years ago

johnbradley commented 3 years ago

Adds environment.yml file that will create a conda environment named escapevariants with all the required conda packages. Removes module loading from individual scripts that now use the conda environment.

Adds a new installation step to the README to create the conda environment:

module load Anaconda3/2019.10-gcb02
conda env create -f environment.yml

More details are in the README.

Changes use of picard to use picard instead of java due to challenges finding the location of the picard.jar file within a conda environment.

The setup-escape-variants.sh script now must be run using sbatch or interactive session.

Fixes #36

Changes to requirements

Some requirements required minor version updates to work with the conda environment.

Note

To avoid running out space in your home directory on HARDAC when creating the conda environment you may want to set the envs_dirs in your conda config file. Add something similar to the the following to your .condarc file:

envs_dirs:
  - /data/...