You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All steps in the MAVIS pipeline are called following the main mavis entry point. The usage menu can be viewed
@@ -39,74 +37,83 @@ Common problems and questions are addressed on the [wiki](https://github.com/bcg
39
37
If you have a question or issue that is not answered there (or already a github issue) please submit
40
38
a github issue to our [github page](https://github.com/bcgsc/mavis/issues) or contact us by email at [[email protected]](mailto:[email protected])
41
39
42
-
43
40
## Install Instructions
44
41
45
-
46
42
There are 3 major steps to setting up and installing [MAVIS](http://mavis.bcgsc.ca).
47
43
48
-
49
44
### 1. Install Aligner
50
45
51
46
In addition to the python package dependencies, [MAVIS](http://mavis.bcgsc.ca) also requires an aligner to be installed.
52
47
Currently the only aligners supported are [blat](http://mavis.bcgsc.ca/docs/latest/glossary.html#term-blat) and [bwa mem](http://mavis.bcgsc.ca/docs/latest/glossary.html#term-bwa).
53
48
For MAVIS to run successfully the aligner must be installed and accessible on the path.
54
49
If you have a non-standard install you may find it useful to edit the PATH environment variable. For example
[blat](http://mavis.bcgsc.ca/docs/latest/glossary.html#term-blat) is the default aligner. To configure MAVIS to use [bwa mem](http://mavis.bcgsc.ca/docs/latest/glossary.html#term-bwa) as a default instead, use the
61
56
[MAVIS environment variables](http://mavis.bcgsc.ca/configuration.html#environment-variables). Make sure to specify BOTH of the variables below to change the default aligner.
After these have been installed MAVIS itself can be installed through pip
70
64
65
+
#### 2. Install MAVIS
71
66
72
-
###2. Install MAVIS
67
+
##### Install using pip
73
68
74
69
The easiest way to install [MAVIS](http://mavis.bcgsc.ca) is through the python package manager, pip. If you do not have python3 installed it can be found [here](https://www.python.org/downloads)
75
70
76
71
Ensuring you have a recent version of pip and setuptools will improve the install experience. Older versions of pip and setuptools may have issues with obtaining some of the mavis python dependencies
77
72
78
-
```
73
+
```bash
79
74
pip install --upgrade pip setuptools
80
75
```
81
76
82
77
or (for Anaconda users)
83
78
84
-
```
79
+
```bash
85
80
conda update pip setuptools
86
81
```
87
82
88
83
If this is not a clean/new python install it may be useful to set up mavis in a [virtual python environment](https://docs.python.org/3/tutorial/venv.html)
89
84
90
85
Then install mavis itself
91
-
```
86
+
87
+
```bash
92
88
pip install mavis
93
89
```
94
90
95
91
This will install mavis and its python dependencies.
96
92
97
-
###3. Build or Download Reference Files
93
+
##### Install using Buildout
98
94
99
-
After [MAVIS](http://mavis.bcgsc.ca) is installed the [reference files](http://mavis.bcgsc.ca/docs/latest/mavis_input.html#reference-input-files) must be generated (or downloaded) before it can be run. A simple bash script to download the hg19 reference files and generate a MAVIS environment file is provided under mavis/tools for convenience.
95
+
Alternatively you can use the [bootstrap/buildout](http://www.buildout.org/en/latest/)to install mavis into bin/mavis
100
96
97
+
```bash
98
+
git clone https://github.com/bcgsc/mavis.git
99
+
cd mavis
100
+
pip install zc.buildout
101
+
python bootstrap.py
102
+
bin/buildout
101
103
```
104
+
105
+
This will install mavis and its python dependencies into eggs inside the cloned mavis directory which can be used by simply running bin/mavis
106
+
107
+
### 3. Build or Download Reference Files
108
+
109
+
After [MAVIS](http://mavis.bcgsc.ca) is installed the [reference files](http://mavis.bcgsc.ca/docs/latest/mavis_input.html#reference-input-files) must be generated (or downloaded) before it can be run. A simple bash script to download the hg19 reference files and generate a MAVIS environment file is provided under mavis/tools for convenience.
0 commit comments