Skip to content

Commit

Permalink
Fixing #84 in release, bumping version.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanek committed Sep 29, 2023
1 parent 60377b5 commit 846307d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: Gviz
Title: Plotting data and annotation information along genomic coordinates
Version: 1.44.1
Version: 1.44.2
Authors@R: c(person("Florian", "Hahne", role="aut"),
person("Steffen", "Durinck", role="aut"),
person("Robert", "Ivanek", role=c("aut", "cre"),
Expand Down
1 change: 1 addition & 0 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -2186,6 +2186,7 @@ availableDefaultMapping <- function(file, trackType) {
if (length(range)) {
alg <- extractAlignmentRangesOnReference(range$cigar, drop.D.ranges = drop.D.ranges)
rp <- elementNROWS(alg)
if (is.null(range$flag)) range$flag <- as.character(NA)
range <- sort(GRanges(
seqnames = rep(seqnames(range), rp), strand = rep("*", sum(rp)), ranges = shift(unlist(alg), rep(start(range), rp) - 1),
id = rep(range$id, rp), entityId = rep(seq_along(rp), rp), cigar = rep(range$cigar, rp), md = rep(range$md, rp),
Expand Down

0 comments on commit 846307d

Please sign in to comment.