Skip to content

Commit

Permalink
Fix #84, bumped version
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanek committed Sep 28, 2023
1 parent 3f14aa2 commit c566d51
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.45.1
Version: 1.45.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 c566d51

Please sign in to comment.