Skip to content

Commit

Permalink
Merge pull request #24 from hpages/devel
Browse files Browse the repository at this point in the history
The makeTxDb*() functions have moved from GenomicFeatures to txdbmaker
  • Loading branch information
lcolladotor committed Mar 26, 2024
2 parents 742c5ea + e95d6fb commit 4d91870
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ Suggests:
sessioninfo,
EnsDb.Hsapiens.v79,
GenomicFeatures,
txdbmaker,
knitr (>= 1.6),
org.Hs.eg.db,
RefManageR,
Expand Down
3 changes: 2 additions & 1 deletion R/reproduce_ranges.R
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ reproduce_ranges <- function(level = "gene", db = "Gencode.v25") {
## Load required packages
.load_check(c("GenomicFeatures", "org.Hs.eg.db"))
if (db == "Gencode.v25") {
.load_check("txdbmaker")
temp_gencode <- file.path(
tempdir(),
"gencode.v25.annotation.gff3.gz"
Expand All @@ -75,7 +76,7 @@ reproduce_ranges <- function(level = "gene", db = "Gencode.v25") {
),
destfile = temp_gencode
)
txdb <- GenomicFeatures::makeTxDbFromGFF(temp_gencode,
txdb <- txdbmaker::makeTxDbFromGFF(temp_gencode,
format = "gff3", organism = "Homo sapiens"
)
} else if (db == "EnsDb.Hsapiens.v79") {
Expand Down

0 comments on commit 4d91870

Please sign in to comment.