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
Copy file name to clipboardExpand all lines: README.md
+1-93Lines changed: 1 addition & 93 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ To use VIVA, you must download the Julia programming language version >=1.0 and
30
30
31
31
Expected Time for Installation: Installation time depends on your network bandwidth, but should take less than 10 minutes for VIVA installation to install all dependency packages. Installing and using Julia packages for the first time takes longer than when using them in subsequent sessions.
32
32
33
-
*Note*: When installing VariantVisualization.jl and running VIVA remote compute clusters, you may need to load the OpenGl module in addition to loading the Julia module.
33
+
*Note*: When installing Julia and running VIVA on Windows, you will need to add Julia to the Windows path variable. This takes ~ 1 minute following the instructions found [here](https://compbiocore.github.io/VariantVisualization.jl/latest/installation/)
34
34
35
35
### Command Line Tool
36
36
@@ -52,98 +52,6 @@ Expected Time for Installation: Installation time depends on your network bandwi
52
52
4. Open the VIVA Jupyter Notebook following the instructions in the [manual](https://compbiocore.github.io/VariantVisualization.jl/latest/).
53
53
4. Follow the in-notebook instructions to generate your plots.
54
54
55
-
### Running VIVA with Docker or Docker Compose
56
-
57
-
Alternatively, you can run VIVA using the Docker images we've provided if you don't want to install Julia and the VariantVisualization.jl Julia package. You may only save images to HTML format using the Docker, for now, due to technical limitations of dependency packages. We've actively developing a feature to save to all formats using Docker.
58
-
59
-
To run VIVA from a Docker image, first [install Docker](https://docs.docker.com/install/).
60
-
61
-
Then double-click the Docker.app in the Applications folder to start Docker. You will see a whale icon in the top status bar to indicate that Docker is running and accessible from the terminal. You can quit Docker once you are finished using VIVA by clicking the Docker whale icon in the top status bar and clicking "Quit Docker Desktop."
62
-
63
-
#### Using Docker
64
-
65
-
*Note*: You must use the flag `--save_remotely` when running VIVA by using Docker.
66
-
67
-
Once Docker is running, you can run VIVA by running the Docker commands below in the Mac/Linux terminal or Windows PowerShell.
68
-
69
-
We provide two images, one with a Jupyter Notebook and one with a command line script for VIVA. You can run VIVA in a single command using these images. The command consists of calls to run the Docker image followed by the usual VIVA options.
70
-
71
-
To run the images, follow these steps:
72
-
73
-
Create a project folder and navigate to it:
74
-
```shell
75
-
mkdir project_x
76
-
cd project_x
77
-
```
78
-
79
-
Make sure to add your project VCF files to that folder. That directory will be mapped to `/notebook/data` inside of the container.
80
-
81
-
When entering the filename of the VCF file and files to support filtering options, you should include `/data/...` in the path to your files.
82
-
83
-
##### Run the VIVA Command Line Tool from a Docker image:
84
-
85
-
*Note*: Remember, you must use the flag `--save_remotely` when running VIVA by using Docker.
##### Run the VIVA Jupyter Notebook from a Docker image:
108
-
109
-
Copy and run the following line from the terminal or Windows PowerShell:
110
-
111
-
- On Mac or Linux:
112
-
```shell
113
-
docker run --rm -p 8888:8888 -e JUPYTER_ENABLE_LAB=yes -v "$PWD":/home/jovyan/notebook/data compbiocore/viva-notebook
114
-
```
115
-
116
-
Go to the following url in your internet browser. You'll receive a token to enter into the url.
117
-
118
-
Go to `http://0.0.0.0:8888/?token=<enter token here>`
119
-
120
-
- On Windows:
121
-
```shell
122
-
docker run --rm -p 8888:8888 -e JUPYTER_ENABLE_LAB=yes -v "${pwd}":/home/jovyan/notebook/data compbiocore/viva-notebook
123
-
```
124
-
125
-
Go to the following url in your internet browser. You'll receive a token to enter into the url.
126
-
127
-
Go to `http://0.0.0.0:8888/?token=<enter token here>`
128
-
129
-
[Click here](https://jupyter-docker-stacks.readthedocs.io/en/latest/index.html) for more information about Jupyter Docker Images.
130
-
131
-
#### Using Docker Compose
132
-
133
-
To run the images with Docker Compose, copy the [`docker-compose.yml`](https://github.com/compbiocore/viva-docker/blob/master/docker-compose.yml) file to a local directory. From that same directory, run the command as it appears below.
134
-
135
-
*Note*: Your current directory will mount to `/notebook/data` in the notebook image and to `/data` in the CLI image.
136
-
137
-
- Notebook
138
-
```shell
139
-
docker-compose up viva-notebook
140
-
```
141
-
142
-
- Command Line Tool
143
-
```shell
144
-
docker-compose run viva -f file.vcf --save_remotely arg3 arg4 ...
145
-
```
146
-
147
55
### Latest Features
148
56
149
57
To stay up to date with cutting edge development features install VariantVisualization.jl from the Master branch.
Copy file name to clipboardExpand all lines: docs/src/index.md
-92Lines changed: 0 additions & 92 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,98 +80,6 @@ Use the following steps to use the VIVA Jupyter Notebook utility:
80
80
81
81
6. Follow the step-by-step instructions within the notebook to generate your figures.
82
82
83
-
### Running VIVA with Docker or Docker Compose
84
-
85
-
Alternatively, you can run VIVA using the Docker images we've provided if you don't want to install Julia and the VariantVisualization.jl Julia package. You may only save images to HTML format using the Docker, for now, due to technical limitations of dependency packages. We've actively developing a feature to save to all formats using Docker.
86
-
87
-
To run VIVA from a Docker image, first [install Docker](https://docs.docker.com/install/).
88
-
89
-
Then double-click the Docker.app in the Applications folder to start Docker. You will see a whale icon in the top status bar to indicate that Docker is running and accessible from the terminal. You can quit Docker once you are finished using VIVA by clicking the Docker whale icon in the top status bar and clicking "Quit Docker Desktop."
90
-
91
-
#### Using Docker
92
-
93
-
*Note*: You must use the flag `--save_remotely` when running VIVA by using Docker.
94
-
95
-
Once Docker is running, you can run VIVA by running the Docker commands below in the Mac/Linux terminal or Windows PowerShell.
96
-
97
-
We provide two images, one with a Jupyter Notebook and one with a command line script for VIVA. You can run VIVA in a single command using these images. The command consists of calls to run the Docker image followed by the usual VIVA options.
98
-
99
-
To run the images, follow these steps:
100
-
101
-
Create a project folder and navigate to it:
102
-
```shell
103
-
mkdir project_x
104
-
cd project_x
105
-
```
106
-
107
-
Make sure to add your project VCF files to that folder. That directory will be mapped to `/notebook/data` inside of the container.
108
-
109
-
When entering the filename of the VCF file and files to support filtering options, you should include `/data/...` in the path to your files.
110
-
111
-
##### Run the VIVA Command Line Tool from a Docker image:
112
-
113
-
*Note*: Remember, you must use the flag `--save_remotely` when running VIVA by using Docker.
##### Run the VIVA Jupyter Notebook from a Docker image:
136
-
137
-
Copy and run the following line from the terminal or Windows PowerShell:
138
-
139
-
- On Mac or Linux:
140
-
```shell
141
-
docker run --rm -p 8888:8888 -e JUPYTER_ENABLE_LAB=yes -v "$PWD":/home/jovyan/notebook/data compbiocore/viva-notebook
142
-
```
143
-
144
-
Go to the following url in your internet browser. You'll receive a token to enter into the url.
145
-
146
-
Go to `http://0.0.0.0:8888/?token=<enter token here>`
147
-
148
-
- On Windows:
149
-
```shell
150
-
docker run --rm -p 8888:8888 -e JUPYTER_ENABLE_LAB=yes -v "${pwd}":/home/jovyan/notebook/data compbiocore/viva-notebook
151
-
```
152
-
153
-
Go to the following url in your internet browser. You'll receive a token to enter into the url.
154
-
155
-
Go to `http://0.0.0.0:8888/?token=<enter token here>`
156
-
157
-
[Click here](https://jupyter-docker-stacks.readthedocs.io/en/latest/index.html) for more information about Jupyter Docker Images.
158
-
159
-
#### Using Docker Compose
160
-
161
-
To run the images with Docker Compose, install Docker following the steps above and then install [Docker Compose[(https://docs.docker.com/compose/). Then copy the [docker-compose.yml](https://github.com/compbiocore/viva-docker/blob/master/docker-compose.yml) file to a local directory. From that same directory, run the command as it appears below.
162
-
163
-
*Note*: Your current directory will mount to `/notebook/data` in the notebook image and to `/data` in the CLI image.
164
-
165
-
- Notebook
166
-
```shell
167
-
docker-compose up viva-notebook
168
-
```
169
-
170
-
- Command Line Tool
171
-
```shell
172
-
docker-compose run viva -f file.vcf --save_remotely arg3 arg4 ...
173
-
```
174
-
175
83
## Continue reading for:
176
84
177
85
*[Variant and Sample Selection](https://compbiocore.github.io/VariantVisualization.jl/stable/filtering_vcf/)
Copy file name to clipboardExpand all lines: docs/src/installation.md
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,12 @@ Windows 10, Windows 7.
15
15
16
16
To install Julia on Windows, you can follow the [platform specific instructions](https://julialang.org/downloads/platform.html).
17
17
18
+
To run VIVA using Julia from the command prompt or PowerShell, *you will need to add Julia to the Windows path variable*. This should be a quick step (est. time to complete: 1 minute)
19
+
20
+
To add Julia to the PATH on Windows 7 or Windows 10:
21
+
22
+
Add the path to the Julia binaries (C:\Program Files\Julia\bin) to the PATH following the concise instructions [found here](https://www.java.com/en/download/help/path.xml)
23
+
18
24
#### Linux
19
25
20
26
*Note*: To run on remote compute clusters, you may need to load opengl module along with julia/1.1.0.
@@ -35,7 +41,9 @@ To install Julia on Windows, you can follow the [platform specific instructions]
35
41
3. Download the [VIVA Jupyter Notebook](https://github.com/compbiocore/VariantVisualization.jl/blob/master/VIVA.ipynb).
36
42
4. Follow the in-notebook instructions to generate your plots.
37
43
38
-
### Running VIVA with Docker or Docker Compose
44
+
### Running VIVA with Docker or Docker Compose (Under Active Development)
45
+
46
+
Soon, you will be able to run VIVA using Docker images. This is not yet a supported feature. The instructions below will be helpful once this is supported.
39
47
40
48
Alternatively, you can run VIVA using the Docker images we've provided if you don't want to install Julia and the VariantVisualization.jl Julia package. You may only save images to HTML format using the Docker, for now, due to technical limitations of dependency packages. We've actively developing a feature to save to all formats using Docker.
0 commit comments