]> git.donarmstrong.com Git - rsem.git/commitdiff
another change
authorBo Li <bli@cs.wisc.edu>
Wed, 14 Dec 2011 22:04:59 +0000 (16:04 -0600)
committerBo Li <bli@cs.wisc.edu>
Wed, 14 Dec 2011 22:04:59 +0000 (16:04 -0600)
extractRef.cpp

index 693af6635ae9df85006dcc7b991ee5d2e497bed8..3173d6517c1fccd6edcf03fa15502b64faadb28d 100644 (file)
@@ -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);
                }
        }