X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=extractRef.cpp;h=da0effc70e3c3fe25925c615d30e40f2c15b55eb;hb=5a2752145fda053ac654baaf1102ac40961c65b6;hp=693af6635ae9df85006dcc7b991ee5d2e497bed8;hpb=37513308b7557ae65899e59df8e43b5dec90da5c;p=rsem.git diff --git a/extractRef.cpp b/extractRef.cpp index 693af66..da0effc 100644 --- a/extractRef.cpp +++ b/extractRef.cpp @@ -303,7 +303,9 @@ 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); } }