Skip to content

Commit 52f6a5f

Browse files
committed
Add information in README.md on how to cite the package
1 parent 734951b commit 52f6a5f

4 files changed

Lines changed: 23 additions & 3 deletions

File tree

‎R/cache-utils.R‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ igblastr_cache <- function(which=NULL)
4242
GERMLINE_DBS =file.path(path, "germline_dbs"),
4343
C_REGION_DBS =file.path(path, "c_region_dbs"),
4444
IMGT_LOCAL_STORE=file.path(path, "store", "IMGT-releases"),
45-
stop(wmsg("'which' must be one of ",
45+
stop(wmsg("'which' must be one of ",
4646
paste0("\"", .IGBLASTR_CACHES, "\"", collapse=", ")))
4747
)
4848
}

‎R/igblast_info.R‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ normalize_igblast_organism <- function(organism)
7575
silent=TRUE)
7676
if (!system_command_worked(raw_version))
7777
stop(wmsg("command '", cmdpath, " -version' failed"))
78-
.IGBLAST_VERSION_cache[[cmdpath]] <- raw_version
78+
.IGBLAST_VERSION_cache[[cmdpath]] <- raw_version
7979
}
8080
if (raw.version)
8181
return(raw_version)

‎README.md‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,26 @@
55

66
**igblastr** is an R/Bioconductor package that provides functions to conveniently install and use a local IgBLAST installation from within R.
77

8+
To cite the **igblastr** package in publications, please use:
9+
10+
Pagès H, Hyrien O, MacPhee K, Duff M, Taylor J (2025).
11+
_igblastr: User-friendly R Wrapper to IgBLAST_.
12+
doi:10.18129/B9.bioc.igblastr
13+
<https://doi.org/10.18129/B9.bioc.igblastr>.
14+
<https://bioconductor.org/packages/igblastr>.
15+
16+
A BibTeX entry for LaTeX users is
17+
```
18+
@Manual{,
19+
title = {igblastr: User-friendly R Wrapper to IgBLAST},
20+
author = {Hervé Pagès and Ollivier Hyrien and Kellie MacPhee and Michael Duff and Jason Taylor},
21+
year = {2025},
22+
doi = {10.18129/B9.bioc.igblastr},
23+
url = {https://bioconductor.org/packages/igblastr},
24+
}
25+
```
26+
Please also cite the original IgBLAST tool if you use it in your analysis.
27+
828
See <https://bioconductor.org/packages/igblastr> for more information,
929
including for how to install the release version of the package (please refrain
1030
from installing directly from GitHub).

‎tests/testthat/test-precompiled-igblast-utils.R‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ test_that("inst/extdata/ncbi_igblast_data_files/ is not out-of-sync", {
22
## igblastr:::check_ncbi_igblast_data_files() is not guaranteed to work
33
## on Windows.
44
if (.Platform$OS.type != "windows") {
5-
prev_warn <- getOption("warn")
5+
prev_warn <- getOption("warn")
66
options(warn=2)
77
on.exit(options(warn=prev_warn))
88
igblastr:::check_ncbi_igblast_data_files(get_igblast_root())

0 commit comments

Comments
 (0)