Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6b6c25c

Browse files
committed
Version bump, swap GenomicFeatures for txdbmaker
1 parent ae6ac03 commit 6b6c25c

File tree

6 files changed

+12
-13
lines changed

6 files changed

+12
-13
lines changed

DESCRIPTION

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: Rhisat2
22
Type: Package
33
Title: R Wrapper for HISAT2 Aligner
4-
Version: 1.19.1
4+
Version: 1.19.2
55
Authors@R: c(person("Charlotte", "Soneson", role = c("aut", "cre"),
66
email = "[email protected]", comment = c(ORCID = "0000-0003-3833-2169")))
77
SystemRequirements: GNU make
@@ -10,15 +10,15 @@ Description: An R interface to the HISAT2 spliced short-read aligner by
1010
genome index and to perform the read alignment to the generated index.
1111
License: GPL-3
1212
Encoding: UTF-8
13-
RoxygenNote: 7.2.3
14-
Depends: R (>= 4.2)
13+
RoxygenNote: 7.3.1
14+
Depends: R (>= 4.4.0)
1515
Suggests: testthat,
1616
knitr,
1717
rmarkdown,
1818
BiocStyle
1919
VignetteBuilder: knitr
2020
biocViews: Alignment, Sequencing, SplicedAlignment
21-
Imports: GenomicFeatures,
21+
Imports: txdbmaker,
2222
SGSeq,
2323
GenomicRanges,
2424
methods,

NAMESPACE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ export(hisat2_build)
66
export(hisat2_build_usage)
77
export(hisat2_usage)
88
export(hisat2_version)
9-
importFrom(GenomicFeatures,makeTxDbFromGFF)
109
importFrom(GenomicRanges,end)
1110
importFrom(GenomicRanges,seqnames)
1211
importFrom(GenomicRanges,start)
@@ -15,4 +14,5 @@ importFrom(GenomicRanges,width)
1514
importFrom(SGSeq,convertToTxFeatures)
1615
importFrom(SGSeq,type)
1716
importFrom(methods,is)
17+
importFrom(txdbmaker,makeTxDbFromGFF)
1818
importFrom(utils,write.table)

R/Rhisat2-package.R

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,10 @@
77
#'
88
#' @author Charlotte Soneson, based partly on code from Florian Hahne
99
#'
10-
#' @name Rhisat2-package
11-
#'
1210
#' @seealso hisat2, hisat2_build, hisat2_build_usage, hisat2_usage
13-
#'
11+
#' @keywords internal
1412
#' @references
1513
#' Kim D, Langmead B and Salzberg SL. HISAT: a fast spliced aligner with low
1614
#' memory requirements. Nature Methods 12:357-360 (2015).
1715
#'
18-
#' @docType package
19-
NULL
16+
"_PACKAGE"

R/extract_splice_sites.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
#' package="Rhisat2"),
3030
#' outfile=tmp, min_length=5)
3131
#'
32-
#' @importFrom GenomicFeatures makeTxDbFromGFF
32+
#' @importFrom txdbmaker makeTxDbFromGFF
3333
#' @importFrom SGSeq convertToTxFeatures type
3434
#' @importFrom GenomicRanges start end width seqnames strand
3535
#' @importFrom methods is
@@ -43,7 +43,7 @@ extract_splice_sites <- function(features, outfile, min_length=5) {
4343
"file does not exist.")
4444
}
4545
tryCatch({
46-
txdb <- GenomicFeatures::makeTxDbFromGFF(features, format = "auto")
46+
txdb <- txdbmaker::makeTxDbFromGFF(features, format = "auto")
4747
}, error = function(e) {
4848
stop("'features' is a character string corresponding to an ",
4949
"existing file, but the file is not compatible with ",

man/Rhisat2-package.Rd

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/testthat/test-splice-site-extraction.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ test_that("splice site extraction works and is consistent with HISAT2 output", {
2626

2727
## input in TxDb format
2828
tmp <- tempfile()
29-
txdb <- GenomicFeatures::makeTxDbFromGFF(
29+
txdb <- txdbmaker::makeTxDbFromGFF(
3030
system.file("extdata/refs/genes.gtf",
3131
package="Rhisat2"))
3232
extract_splice_sites(features=txdb,

0 commit comments

Comments
 (0)