Skip to content

Commit

Permalink
fixing duplicate rname bug for Ensembl GTF parse
Browse files Browse the repository at this point in the history
  • Loading branch information
mikelove committed Dec 16, 2020
1 parent 14856f0 commit d48c8d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
@@ -1,5 +1,5 @@
Package: tximeta
Version: 1.9.2
Version: 1.9.3
Title: Transcript Quantification Import with Automatic Metadata
Description: Transcript quantification import from Salmon and
alevin with automatic attachment of transcript ranges and
Expand Down
6 changes: 3 additions & 3 deletions R/tximeta.R
Expand Up @@ -681,9 +681,9 @@ getTxDb <- function(txomeInfo, useHub=TRUE) {
}

# two cases left:
# 1) GENCODE source but AHub didn't work
# 2) Neither Ensembl or GENCODE source
if (!srcName %in% hubSources || !hubWorked) {
# 1) Neither Ensembl or GENCODE source
# 2) GENCODE source but AHub didn't work
if ((!srcName %in% hubSources) | (srcName == "GENCODE" & !hubWorked)) {
message("building TxDb with 'GenomicFeatures' package")
txdb <- makeTxDbFromGFF(txomeInfo$gtf)
saveDb(
Expand Down

0 comments on commit d48c8d8

Please sign in to comment.