Skip to content

Commit 0173f87

Browse files
authored
Merge pull request #23 from uclahs-cds/danknight-release
v1.1.3 Release
2 parents 992c4b9 + 7f2e267 commit 0173f87

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

DESCRIPTION

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Package: bedr
22
Type: Package
33
Title: Genomic Region Processing using Tools Such as 'BEDTools', 'BEDOPS' and 'Tabix'
44
Version: 1.1.3
5-
Date: 2025-04-01
5+
Date: 2025-04-04
66
Authors@R: c(
77
person("Syed", "Haider", role = "aut"),
88
person("Daryl", "Waggott", role = "aut"),
@@ -14,8 +14,6 @@ Authors@R: c(
1414
person("Melinda", "Luo", role = "ctb"),
1515
person("Paul", "C. Boutros", role = c("aut", "cre", "cph"), email = "[email protected]")
1616
)
17-
Author: Syed Haider [aut], Daryl Waggott [aut], Emilie Lalonde [ctb], Clement Fung [ctb], Helena Winata [ctb], Paul C. Boutros [aut, cre, cph]
18-
Maintainer: Paul C. Boutros <[email protected]>
1917
Description: Genomic regions processing using open-source command line tools such as 'BEDTools', 'BEDOPS' and 'Tabix'.
2018
These tools offer scalable and efficient utilities to perform genome arithmetic e.g indexing, formatting and merging.
2119
bedr API enhances access to these tools as well as offers additional utilities for genomic regions processing.
@@ -26,7 +24,7 @@ Suggests:
2624
rmarkdown (>= 0.9.5)
2725
VignetteBuilder: knitr
2826
License: GPL-2
29-
URL: https://github.com/uclahs-cds/pacakage-bedr
27+
URL: https://github.com/uclahs-cds/package-bedr
3028
BugReports: https://github.com/uclahs-cds/package-bedr/issues
3129
Imports: testthat (>= 3.0.0), VennDiagram (>= 1.6.4), data.table (>= 1.8.11), R.utils (>= 2.0.2), yaml (>= 2.1.10), parallel, grid
3230
Config/testthat/edition: 3

NEWS.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# bedr 1.1.3 (2025-04-01)
1+
# bedr 1.1.3 (2025-04-04)
22

33

44
## Added
@@ -9,6 +9,7 @@
99

1010
- Update changelog to Markdown `NEWS.md` format
1111
- Use updated `renv` GitHub action for `R CMD check`
12+
- Rename internal helper function `parse.vcf.header()` to `prep.vcf.header()` to avoid naming conflict with base R `parse()` S3 method.
1213

1314
## Fixed
1415

R/read.vcf.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ read.vcf <- function(x, split.info = FALSE, split.samples = FALSE, nrows = -1, v
132132
attr(x.df, "header") <- x.header;
133133

134134
# add parsed header as list in item
135-
x.header.parsed <- parse.vcf.header(x.header);
135+
x.header.parsed <- prep.vcf.header(x.header);
136136
x.df <- list(header = x.header.parsed, vcf = x.df);
137137
catv(" Done\n");
138138

@@ -233,7 +233,7 @@ read.vcf <- function(x, split.info = FALSE, split.samples = FALSE, nrows = -1, v
233233

234234
###################################################################################################
235235

236-
parse.vcf.header <- function(x) {
236+
prep.vcf.header <- function(x) {
237237
### return the header as a list of key values
238238

239239
if (is.null(x)) {return(NULL)}

vignettes/Using-bedr.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ if (check.binary("bedtools")) {
237237

238238
### <a id = "jaccard-and-reldist"></a> Statistically Quantify Regions' Similarity (jaccard and reldist)
239239

240-
When comparing (pairwise) the extent of overlap between a large collection of genomic regions, it becomes necessary to report the similarity (intersect) using a single quantitative measure. Bedtools implements two such statitics; [`jaccard`](http://bedtools.readthedocs.io/en/latest/content/tools/jaccard.html) and [`reldist`](http://bedtools.readthedocs.io/en/latest/content/tools/reldist.html) ([Favorov A et al.](https://www.ncbi.nlm.nih.gov/pubmed/22693437)) which can be called through `bedr` as shown below:
240+
When comparing (pairwise) the extent of overlap between a large collection of genomic regions, it becomes necessary to report the similarity (intersect) using a single quantitative measure. Bedtools implements two such statitics; [`jaccard`](http://bedtools.readthedocs.io/en/latest/content/tools/jaccard.html) and [`reldist`](http://bedtools.readthedocs.io/en/latest/content/tools/reldist.html) ([Favorov A et al.](https://pubmed.ncbi.nlm.nih.gov/22693437/)) which can be called through `bedr` as shown below:
241241
```{r, results = "hold", message = TRUE, eval = TRUE, errors = TRUE}
242242
if (check.binary("bedtools")) {
243243

0 commit comments

Comments
 (0)