From 4d5539c402dc475d26532775a23f041c05709782 Mon Sep 17 00:00:00 2001 From: Waldir Leoncio Date: Fri, 3 Sep 2021 12:58:04 +0200 Subject: [PATCH] Improved user feedback --- R/greedyMix.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/R/greedyMix.R b/R/greedyMix.R index a0d7194..fa3a37f 100644 --- a/R/greedyMix.R +++ b/R/greedyMix.R @@ -17,8 +17,8 @@ greedyMix <- function(data, format, verbose = TRUE) { } else if (format == "sam") { stop( "SAM files not directly supported. ", - "Install the samtools software and execute ", - "'samtools view -b in_file.sam > out_file.bam' to convert to BAM ", + "Install the samtools software and execute\n\n", + "samtools view -b ", data, " > out_file.bam\n\nto convert to BAM ", "and try running this function again with 'format=BAM'" ) } else if (format == "bam") {