-
Notifications
You must be signed in to change notification settings - Fork 1
/
README.Rmd
87 lines (64 loc) · 2.44 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
---
output:
github_document:
toc: true
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = FALSE,
comment = "",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# 📚 gpgr - Genomics Platform Group Reporting
Contains reports and functions used in the Genomics Platform Group
at the University of Melbourne Centre for Cancer Research.
- Docs: <https://umccr.github.io/gpgr/>
[![Conda install](https://anaconda.org/umccr/r-gpgr/badges/version.svg)](https://anaconda.org/umccr/r-gpgr)
[![Conda install](https://anaconda.org/umccr/r-gpgr/badges/latest_release_date.svg)](https://anaconda.org/umccr/r-gpgr)
## Installation
```r
remotes::install_github("umccr/gpgr")
```
- Or if used inside a conda environment:
```bash
conda install r-gpgr -c umccr -c conda-forge -c bioconda
```
## Main modules
### 🔮 PURPLE {#id_-purple}
- Read and process output files from the `PURPLE` purity/copy number estimator
tool from the Hartwig Medical Foundation
(<https://github.com/hartwigmedical/hmftools/tree/master/purple>).
See vignette at <https://umccr.github.io/gpgr/articles/purple.html>.
### sash {#id_-sash}
- Generate a HTML report with results from the `sash` WGS post-processing workflow
- <https://github.com/scwatts/sash>.
See the [CLI](#cli) section below for options.
## 🥳 Developers {#id_-developers}
See <https://umccr.github.io/gpgr/articles/devnotes.html> for developer notes.
## 💻 CLI {#id_-cli}
A `gpgr` command line interface is available for convenience.
- If you're using the conda package, the `gpgr.R` command will already be set up
inside an activated conda environment.
- If you're _not_ using the conda package, you need to export the
`gpgr/inst/cli/` directory to your `PATH` in order to use `gpgr.R`.
```{bash eval=FALSE}
gpgr_cli=$(Rscript -e 'x = system.file("cli", package = "gpgr"); cat(x, "\n")' | xargs)
export PATH="${gpgr_cli}:${PATH}"
```
```{bash prompt=TRUE, echo=FALSE}
gpgr_cli=$(Rscript -e 'x = system.file("cli", package = "gpgr"); cat(x, "\n")' | xargs)
export PATH="${gpgr_cli}:${PATH}"
echo "gpgr.R --version" & gpgr.R --version
echo ""
echo "#-----------------------------------#"
echo "gpgr.R --help" & gpgr.R --help
echo ""
echo "#-----------------------------------#"
echo "#------- Cancer Report -------#"
echo "gpgr.R canrep --help" & gpgr.R canrep --help
echo ""
echo "#-----------------------------------#"
```