Skip to content

Commit

Permalink
#29: update minimap2 and samtools versions; #27
Browse files Browse the repository at this point in the history
  • Loading branch information
ChangqingW committed Apr 8, 2024
1 parent 2b84464 commit 842443d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ Suggests:
testthat (>= 3.0.0),
xml2
LinkingTo: Rcpp, Rhtslib, zlibbioc, testthat
SystemRequirements: GNU make, C++17, samtools (>= 1.14), minimap2 (>= 2.28)
SystemRequirements: GNU make, C++17, samtools (>= 1.19), minimap2 (>= 2.17)
RoxygenNote: 7.3.1
VignetteBuilder: knitr
URL: https://github.com/OliverVoogd/FLAMES
Expand Down
4 changes: 3 additions & 1 deletion R/minimap2_align.R
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,9 @@ minimap2_align <- function(config, fa_file, fq_in, annot, outdir, minimap2 = NA,
">", file.path(outdir, "tmp_splice_anno.bed12")))
if (!is.null(base::attr(paftoolsjs_status, "status")) && base::attr(paftoolsjs_status,
"status") != 0) {
stop(paste0("error running k8 paftools.js gff2bed:\n", paftoolsjs_status))
stop(paste0("error running k8 paftools.js gff2bed:\n", paftoolsjs_status, "\n",
"Are you using NCBI GFF3? It is not well supported by minimap2's paftools.js"))
))
}
minimap2_args <- base::append(minimap2_args, c("--junc-bed", file.path(outdir,
"tmp_splice_anno.bed12"), "--junc-bonus", "1"))
Expand Down

0 comments on commit 842443d

Please sign in to comment.