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
+17-9Lines changed: 17 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# VariantVisualization.jl
1
+
# VIVA: A VCF File Visualization Tool and VariantVisualization.jl
2
2
## Visualization of Variants
3
3
4
4
@@ -11,7 +11,7 @@
11
11
12
12
VariantVisualization.jl is a package we built specifically to power the genetics visualization tool, *VIVA*.
13
13
14
-
*VIVA* is a user-friendly command line tool for creating publication quality graphics from Variant Call Format (VCF) files. It has been designed for clinicians and bioinformaticians to explore their VCF files visually. In a single command, users can extract genotype or read depth information and plot trends in interactive categorical heatmaps and scatter plots of average read depth values. VIVA offers a robust set of filters to select variants and samples of interest for analysis. VIVA is especially useful in early data exploration for identifying batch effect and sources of poor read depth, as well as identifying distribution of disease causing variants in a set of clinical samples.
14
+
*VIVA* is a user-friendly command line tool for creating publication quality graphics from Variant Call Format (VCF) files. It has been designed for clinicians and bioinformaticians to explore their VCF files visually. In a single command, users can extract genotype or read depth information and plot trends in interactive categorical heatmaps and scatter plots of average read depth values. VIVA offers a robust set of filters to select variants and samples of interest for analysis. VIVA is especially useful in early data exploration for identifying batch effect and sources of poor read depth in sequencing experiments, as well as identifying distribution of disease causing variants in a set of clinical samples.
15
15
16
16
17
17
## Getting Started:
@@ -20,6 +20,8 @@ Note: Once you have set up VIVA, you can quickly run the command line tool [EXAM
20
20
21
21
## Installation
22
22
23
+
Read the [installation documentation](https://compbiocore.github.io/VariantVisualization.jl/latest/installation/) for complete installation details.
24
+
23
25
### Supported Operating Systems:
24
26
25
27
macOS ( Sierra, High Sierra, and Mojave ), Windows, and Linux.
@@ -60,7 +62,7 @@ Then double-click the Docker.app in the Applications folder to start Docker. You
60
62
61
63
#### Using Docker
62
64
63
-
*Note* You must use the flag `--save_remotely` when running VIVA by using Docker.
65
+
*Note*: You must use the flag `--save_remotely` when running VIVA by using Docker.
64
66
65
67
Once Docker is running, you can run VIVA by running the Docker commands below in the Mac/Linux terminal or Windows PowerShell.
66
68
@@ -78,7 +80,7 @@ Make sure to add your project VCF files to that folder. That directory will be m
78
80
79
81
##### Run the VIVA Command Line Tool from a Docker image:
80
82
81
-
*Note* Remember, you must use the flag `--save_remotely` when running VIVA by using Docker.
83
+
*Note*: Remember, you must use the flag `--save_remotely` when running VIVA by using Docker.
82
84
83
85
- On Mac or Linux:
84
86
```shell
@@ -87,7 +89,7 @@ docker run -it --rm -v "$PWD":/data compbiocore/viva-cli --save_remotely arg1 ar
87
89
88
90
- Example run:
89
91
```shell
90
-
docker run -it --rm -v "$PWD":/data compbiocore/viva-cli --save_remotely -f file.vcf -p -s pdf
Copy file name to clipboardExpand all lines: docs/src/examples.md
+4-15Lines changed: 4 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,9 +3,9 @@
3
3
To run examples:
4
4
5
5
1. Install Julia and the VariantVisualization.jl package
6
-
2. Download the five test files found [here](https://github.com/compbiocore/VariantVisualization.jl/tree/master/test/test_files) and put them into a working directory with the viva script.
7
-
3. Open the command line (Terminal or Powershell), copy the provided commands into the command line prompt, and press enter.
8
-
4. Your first viva run will take longer than usual (several minutes) because of the way Julia compiles packages. All subsequent runs will be much faster. Each example should take 30-50 seconds to run and you should see the same outputs as those below each demo.
6
+
2. Download the five test files found [here](https://github.com/compbiocore/VariantVisualization.jl/tree/master/test/test_files) and put them into a working directory with the viva script.
7
+
3. Open the command line (Terminal or Powershell), copy the provided commands into the command line prompt, and press enter.
8
+
4. Your first viva run will take longer than usual (several minutes) because of the way Julia compiles packages. All subsequent runs will be much faster. Each example should take 30-50 seconds to run and you should see the same outputs as those below each demo.
9
9
10
10
We encourage you to also run these examples without the flag `-s png` to save and view interactive HTML graphics with cursor hovertext, zooming, panning, and screen capture features. View HTML graphics in your browser by opening the HTML file.
## Grouping Samples by Metadata Traits and Generating all Four Plots
24
24
25
-
Group samples by sequencing facility and generate heatmaps of genotype and read depth values as well as scatter plots of average read depth for both all selected samples and all selected variant positions.
25
+
Group samples by sequencing facility and generate heatmaps of genotype and read depth values as well as scatter plots of average read depth for both all selected samples and all selected variant positions.
26
26
27
27
You can find grouping options [here](https://compbiocore.github.io/VariantVisualization.jl/stable/filtering_vcf/#selecting-and-grouping-samples).

38
38
39
39

40
-
41
-
## Genomic Range and Samples Selection - Genotype and Read Depth Heatmaps with Variant Position Labels
42
-
43
-
Generate heatmaps of genotype and read depth values of variants selected within a genomic range, in this case, chromosome 4, nucleotides 200000-500000, with y-axis variant position labels.
Copy file name to clipboardExpand all lines: docs/src/plotting.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,6 @@ julia viva -f example.vcf -m genotype
30
30
31
31
Generate scatter plots of average read depths across either samples or variants. Caps outlier read depth values at 100 to optimize resolution of visualization of values under 50.
32
32
33
-
34
33
*flags*: `--avg_dp`
35
34
36
35
*arguments*: `samples`, `variants`, or `samples,variants`
@@ -99,7 +98,7 @@ Choose an option for displaying y-axis ticklabels showing the genomic position o
99
98
100
99
default: `chromosomes`
101
100
102
-
*Note*: We don't recommend using the `positions` option when visualizing samples grouped with a metadata matrix. This will show labels that are meant to be hidden that exist as an artifact of constructing the metadata trait colorbars which are sized dynamically to make up 1/20th of the plot height. If you must use the `positions` option in this scenario, we recommend editing the final plot in a program like Powerpoint to "cover up" the multitude of tick labels that will appear beside metadata trait rows.
101
+
*Note*: We don't recommend using the `positions` option when visualizing samples grouped with a metadata matrix. This will show labels that are meant to be hidden that exist as an artifact of constructing the metadata trait colorbars which are sized dynamically to make up 1/20th of the plot height. If you must use the `positions` option in this scenario, we recommend editing the final plot in a program like Powerpoint to "cover up" the multitude of tick labels that will appear beside metadata trait rows.
0 commit comments