From 1e1823409de2c3d31fa1df45305277e0551c754d Mon Sep 17 00:00:00 2001
From: Aaron <aaronquinlan@gmail.com>
Date: Tue, 30 Apr 2013 12:38:19 -0400
Subject: [PATCH] report which chrom can't be found in -incl

---
 src/shuffleBed/shuffleBed.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/shuffleBed/shuffleBed.cpp b/src/shuffleBed/shuffleBed.cpp
index 22b7a079..d0a39a3c 100644
--- a/src/shuffleBed/shuffleBed.cpp
+++ b/src/shuffleBed/shuffleBed.cpp
@@ -429,7 +429,9 @@ void BedShuffle::ChooseLocusFromInclusionFile(BED &bedEntry) {
         }
         else {
             cerr << "Error, line " << _bed->_lineNum 
-                 << ": the requested chromosome cannot "
+                 << ": the requested chromosome ("
+                 << chrom
+                 << ") cannot "
                  << "be found in the -incl file " << endl;
         }
     }
-- 
GitLab