diff --git a/CHANGELOG.md b/CHANGELOG.md index 62bd7a9..1e33af3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +## [0.0.9] - 2021-11-30 +### Fixed +- Wrong variable name causing no chromosomes to be retained in chromosome info table. + ## [0.0.8] - 2021-11-29 ### Added - Added assertion for correct chromosome start position when using --cinfo-path. @@ -78,6 +82,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [0.0.1] - 2020-07-15 [Unreleased]: https://github.com/ggirelli/gpseq-img-py +[0.0.9]: https://github.com/ggirelli/gpseq-radical/releases/tag/v0.0.9 [0.0.8]: https://github.com/ggirelli/gpseq-radical/releases/tag/v0.0.8 [0.0.7]: https://github.com/ggirelli/gpseq-radical/releases/tag/v0.0.7 [0.0.6]: https://github.com/ggirelli/gpseq-radical/releases/tag/v0.0.6 diff --git a/gpseq-radical.R b/gpseq-radical.R index 887e53a..91fbdb9 100755 --- a/gpseq-radical.R +++ b/gpseq-radical.R @@ -8,7 +8,7 @@ # UTILITIES ==================================================================== -version = "v0.0.8" +version = "v0.0.9" if ("--version" %in% commandArgs(trailingOnly=TRUE)) { cat(sprintf("GPSeq-RadiCal %s\n\n", version)) quit() @@ -823,7 +823,7 @@ if ("universal" == args$site_domain) { chromosomes = paste0("chr", c(1:as.numeric(chrom_tag[1]), unlist(strsplit(chrom_tag[2], ",")))) cinfo$chrom_base = unlist(lapply(as.character(cinfo$chrom), - function(x) unlist(strsplit(x, args$chrom_base_delim, fixed=T))[1])) + function(x) unlist(strsplit(x, args$chromosome_base_delim, fixed=T))[1])) if (args$chromosome_strict_match) { cinfo = cinfo[chrom %in% chromosomes] } else {