-
Notifications
You must be signed in to change notification settings - Fork 8
1. Installation
Note: These are still being tested, please let me know whether you have any issues.
Via the command line/terminal, navigate to the folder where you would like ALLSorts installed and execute:
git clone [email protected]:Oshlack/ALLSorts.git
or git clone https://github.com/Oshlack/ALLSorts.git
Depending on whether you have setup SSH keys.
The ALLSorts installation process heavily relies on https://www.anaconda.com/. This simplifies the process of ensuring that the correct versions of dependent packages are installed. If these versions deviate, there is a risk that the output will differ than what was intended.
-
Download and Install Anaconda
-
Create a new environment using the supplied yaml file
Navigate to where you installed the ALLSorts package and then execute
conda env create -f env/allsorts.yml
.
This will create the "allsorts" environment which you will need to activate each time you wish to use ALLSorts. -
Activate environment
Depending on your Anaconda version, either of these should do the trick.
source activate allsorts
orconda activate allsorts
. -
Install ALLSorts
From the clone root execute:
pip install .
-
(Optional) Add ALLSorts to your path or as a reusable system variable.
This will allow you to quickly call ALLSorts without having to navigate to the installation directory.
If all worked, you should be able to run a test without any issues! Just follow these steps:
- Create a folder where you would like the results to go, i.e.
mkdir ../test_results
from the ALLSorts root. python ALLSorts -samples tests/counts/test_counts.csv -destination ../test_results
- You will notice the results have appeared in
../test_results
. For a detailed explanation of each file, visit Interpreting results.
Sorry to see you go! Uninstalling should be really easy with Anaconda after you have deactivated (conda deactivate allsorts
).
conda remove --name allsorts --all
Then you just need to remove your cloned repositories for MoRP and ALLSorts.
Follow the relevant documentation on the https://www.anaconda.com/ website to uninstall conda, if required.