Mercurial > repos > artbio > mapping_quality_stats
diff mapping_quality_stats.r @ 2:ce2d8f611a51 draft default tip
planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/main/tools/mapping_quality_stats commit 2661225fdd0f533d4dc8e2561ea559fcc00b9128
author | artbio |
---|---|
date | Sat, 10 Feb 2024 01:32:48 +0000 |
parents | f00479673d47 |
children |
line wrap: on
line diff
--- a/mapping_quality_stats.r Wed Jun 15 15:37:11 2022 +0000 +++ b/mapping_quality_stats.r Sat Feb 10 01:32:48 2024 +0000 @@ -1,9 +1,9 @@ ## Setup R error handling to go to stderr options(show.error.messages = FALSE, - error = function() { - cat(geterrmessage(), file = stderr()) - q("no", 1, FALSE) - } + error = function() { + cat(geterrmessage(), file = stderr()) + q("no", 1, FALSE) + } ) @@ -14,7 +14,7 @@ option_list <- list( make_option(c("-i", "--input"), type = "character", help = "Path to tabular file"), make_option(c("-o", "--output"), type = "character", help = "path to the pdf plot") - ) +) parser <- OptionParser(usage = "%prog [options] file", option_list = option_list) args <- parse_args(parser)