-
Notifications
You must be signed in to change notification settings - Fork 1
/
README.Rmd
executable file
·80 lines (54 loc) · 3.47 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
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# BSA
<!-- badges: start -->
[![GitHub issues](https://img.shields.io/github/issues/cmatKhan/BSA)](https://github.com/cmatKhan/BSA/issues)
[![GitHub pulls](https://img.shields.io/github/issues-pr/cmatKhan/BSA)](https://github.com/cmatKhan/BSA/pulls)
[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)
[![R-CMD-check](https://github.com/cmatKhan/BSA/actions/workflows/check-bioc.yml/badge.svg)](https://github.com/cmatKhan/BSA/actions/workflows/check-bioc.yml)
[![Codecov test coverage](https://codecov.io/gh/cmatKhan/BSA/branch/master/graph/badge.svg)](https://app.codecov.io/gh/cmatKhan/BSA?branch=master)
[![Software DOI](https://zenodo.org/badge/520266986.svg)](https://zenodo.org/badge/latestdoi/520266986)
<!-- badges: end -->
The goal of `BSA` is to reimplement Daniel's BSA2 code in a package structure
such that it may be installed using R `install`. This may also form the seed
of either a software or
[workflow](https://contributions.bioconductor.org/non-software.html) package on bioconductor.
## Installation
```{r 'install -- real', eval = FALSE}
install.packages("remotes")
remotes::install_github("cmatKhan/BSA")
```
## Usage
The first thing that you will need to do iscreate a samplesheet and process
the data through the [BSA processing pipeline](https://github.com/cmatKhan/variant_calling_and_bsa).
Instructions for creating this samplesheet are in the Article (above) called
`CreatePipelineSampleSheet`.
Next, you will be using the functions in this package to analyze the data. An
example of the process are in `BSA3` and `BSA6`.
## Citation
Below is the citation output from using `citation('BSA')` in R. Please
run this yourself to check for any updates on how to cite __BSA__.
```{r 'citation', eval = requireNamespace('BSA')}
print(citation('BSA'), bibtex = TRUE)
```
Please note that the `BSA` was only made possible thanks to many other R and bioinformatics software authors, which are cited either in the vignettes and/or the paper(s) describing this package.
## Code of Conduct
Please note that the `BSA` project is released with a [Contributor Code of Conduct](http://bioconductor.org/about/code-of-conduct/). By contributing to this project, you agree to abide by its terms.
## Development tools
* Continuous code testing is possible thanks to [GitHub actions](https://www.tidyverse.org/blog/2020/04/usethis-1-6-0/) through `r BiocStyle::CRANpkg('usethis')`, `r BiocStyle::CRANpkg('remotes')`, and `r BiocStyle::CRANpkg('rcmdcheck')` customized to use [Bioconductor's docker containers](https://www.bioconductor.org/help/docker/) and `r BiocStyle::Biocpkg('BiocCheck')`.
* Code coverage assessment is possible thanks to [codecov](https://codecov.io/gh) and `r BiocStyle::CRANpkg('covr')`.
* The [documentation website](http://cmatKhan.github.io/BSA) is automatically updated thanks to `r BiocStyle::CRANpkg('pkgdown')`.
* The code is styled automatically thanks to `r BiocStyle::CRANpkg('styler')`.
* The documentation is formatted thanks to `r BiocStyle::CRANpkg('devtools')` and `r BiocStyle::CRANpkg('roxygen2')`.
For more details, check the `dev` directory.
This package was developed using `r BiocStyle::Biocpkg('biocthis')`.