From f7d64c1502c10b0de87415343e9d6bdac726f155 Mon Sep 17 00:00:00 2001 From: Bo Li Date: Wed, 14 Dec 2011 16:04:59 -0600 Subject: [PATCH] another change --- extractRef.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/extractRef.cpp b/extractRef.cpp index 693af66..3173d65 100644 --- a/extractRef.cpp +++ b/extractRef.cpp @@ -303,7 +303,10 @@ int main(int argc, char* argv[]) { for (int i = 1; i <= M; i++) { if (seqs[i] == "") { - fprintf(stderr, "%s's sequence is empty! You must provide all chromosome files of transcripts which are presented in the .gtf file!\n", transcripts.getTranscriptAt(i).getTranscriptID().c_str()); + const Transcript& transcript = transcripts.getTranscriptAt(i); + fprintf(stderr, "Cannot extract transcript %s's sequence from chromosome %s, whose information might not be provided! \" + "Please check if the chromosome directory is set correctly or the list of chromosome files is complete.\n", \ + transcript.getTranscriptID().c_str(), transcript.getGeneID().c_str()); exit(-1); } } -- 2.39.2