Skip to content
Snippets Groups Projects
Commit a2cacdf7 authored by Neil Kindlon's avatar Neil Kindlon
Browse files

Cleaned up error message for sort order detection of missing chrom

parent b561a2f4
No related branches found
No related tags found
No related merge requests found
......@@ -396,7 +396,7 @@ void NewChromSweep::testThatAllDbChromsExistInQuery()
if (qTrack->find(chrom) == qTrack->end()) {
fprintf(stderr, "ERROR: Database file %s contains chromosome %s, but the query file does not.\n",
_context->getInputFileName(i).c_str(), chrom.c_str());
fprintf(stderr, "\t Please re-reun with the -g option for a genome file.\n\t See documentation for details.\n");
fprintf(stderr, " Please re-reun with the -g option for a genome file.\n See documentation for details.\n");
exit(1);
}
}
......
......@@ -60,8 +60,8 @@ rm obs
echo " intersect.t04...\c"
echo \
"ERROR: Database file db1_num.bed contains chromosome chr3, but the query file does not.
Please re-reun with the -g option for a genome file.
See documentation for details." >exp
Please re-reun with the -g option for a genome file.
See documentation for details." >exp
$BT intersect -a q1_num.bed -b db1_num.bed db2_num.bed -sorted 2>&1 > /dev/null | cat - > obs
check obs exp
rm obs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment