We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b489c2a commit af4ce16Copy full SHA for af4ce16
modules/nf-core/sparsesignatures/templates/main_script.R
@@ -75,7 +75,7 @@ load_genome = function(genome, input_data) {
75
if (genome == "GRCh37") {
76
library(BSgenome.Hsapiens.1000genomes.hs37d5)
77
bsg = BSgenome.Hsapiens.1000genomes.hs37d5::hs37d5
78
- input_data[["chrom"]] = substring(input_data[["chrom"]], 4, 5)
+ input_data <- input_data %>% mutate(chrom = str_remove(chrom,"^chr"))
79
80
} else if (genome == "GRCh38") {
81
library(BSgenome.Hsapiens.UCSC.hg38)
0 commit comments