diff mutational_patterns.R @ 5:fe31d059a482 draft

"planemo upload for repository https://github.com/ARTbio/tools-artbio/tree/master/tools/mutational_patterns commit 8726066cfb70109de05cbdb7aa7c08ee11b957e9"
author artbio
date Tue, 06 Oct 2020 13:33:44 +0000
parents 7ba08c826888
children 2c1d58f5c296
line wrap: on
line diff
--- a/mutational_patterns.R	Mon Oct 05 19:29:42 2020 +0000
+++ b/mutational_patterns.R	Tue Oct 06 13:33:44 2020 +0000
@@ -102,7 +102,7 @@
 vcf_paths <- attr(fileslist, "names")
 element_identifiers <- unname(unlist(fileslist))
 ref_genome <- opt$genome
-vcf_table <- data.frame(element_identifier=element_identifiers, path=vcf_paths)
+vcf_table <- data.frame(element_identifier=as.character(element_identifiers), path=vcf_paths)
 
 library(MutationalPatterns)
 library(ref_genome, character.only = TRUE)