Skip to content

Commit 2e255d2

Browse files
authored
Update README.md
1 parent f43f122 commit 2e255d2

1 file changed

Lines changed: 33 additions & 13 deletions

File tree

README.md

Lines changed: 33 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,26 +17,46 @@ RecMpox is a command-line tool that **flags potential recombination events** in
1717

1818
## Installation
1919

20-
### 1. Create conda environment with required tools and install RecMpox
21-
20+
### Prerequisites
21+
First, install conda if you haven't already:
2222
```bash
23-
git clone https://github.com/DaanJansen94/RecMpox.git
24-
cd RecMpox
25-
conda env create -f environment-recmpox.yml
26-
conda activate recmpox
27-
pip install .
23+
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
24+
bash Miniconda3-latest-Linux-x86_64.sh
2825
```
2926

30-
### 2. Re-installation (when updates are available):
27+
Then, ensure you have the required channels:
28+
```bash
29+
conda config --add channels defaults
30+
conda config --add channels bioconda
31+
conda config --add channels conda-forge
32+
```
3133

34+
### Option 1: Using Conda (Recommended)
35+
Install [RecMpox via Conda](https://anaconda.org/bioconda/recmpox):
3236
```bash
33-
conda activate RecMpox # Make sure you're in the right environment
34-
cd RecMpox
35-
git pull # Get the latest updates from GitHub
36-
pip uninstall RecMpox
37-
pip install .
37+
conda create -n recmpox -c conda-forge -c bioconda recmpox -y
38+
conda activate recmpox
3839
```
3940

41+
### Option 2: From Source Code
42+
1. Create conda environment with required tools and install RecMpox
43+
```bash
44+
git clone https://github.com/DaanJansen94/RecMpox.git
45+
cd RecMpox
46+
conda env create -f environment-recmpox.yml
47+
conda activate recmpox
48+
pip install .
49+
```
50+
51+
2. Re-installation (when updates are available):
52+
```bash
53+
conda activate RecMpox # Make sure you're in the right environment
54+
cd RecMpox
55+
git pull # Get the latest updates from GitHub
56+
pip uninstall RecMpox
57+
pip install .
58+
```
59+
4060
## Usage
4161

4262
### Basic usage

0 commit comments

Comments
 (0)