Skip to content

Commit

Permalink
Merge pull request #1083 from chrisamiller/master
Browse files Browse the repository at this point in the history
typo fix: chromomsome
  • Loading branch information
arq5x authored Apr 14, 2024
2 parents 6213eeb + 8ae72b3 commit b144100
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/utils/NewChromsweep/NewChromsweep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ void NewChromSweep::testChromOrder(const Record *rec)


if (verifyChromOrderMismatch(chrom, prevChrom, fileIdx)) {
fprintf(stderr, "ERROR: chromomsome sort ordering for file %s is inconsistent with other files. Record was:\n", _context->getInputFileName(fileIdx).c_str());
fprintf(stderr, "ERROR: chromosome sort ordering for file %s is inconsistent with other files. Record was:\n", _context->getInputFileName(fileIdx).c_str());
rec->print(stderr, true);
exit(1);
}
Expand Down
10 changes: 5 additions & 5 deletions test/closest/sortAndNaming/test-sort-and-naming.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ check()
############################################################
echo -e " closest.t01...\c"
echo \
"ERROR: chromomsome sort ordering for file sq1.bed is inconsistent with other files. Record was:
"ERROR: chromosome sort ordering for file sq1.bed is inconsistent with other files. Record was:
chr12 10 20" > exp
$BT closest -a sq1.bed -b sdb1.bed 2>&1 > /dev/null | cat - > obs
check obs exp
Expand Down Expand Up @@ -153,7 +153,7 @@ rm exp obs
############################################################
echo -e " closest.t10...\c"
echo \
"ERROR: chromomsome sort ordering for file num_all.bed is inconsistent with other files. Record was:
"ERROR: chromosome sort ordering for file num_all.bed is inconsistent with other files. Record was:
chr10 10 20" > exp
$BT closest -a alpha_all.bed -b num_all.bed 2>&1 > /dev/null | cat - > obs
check exp obs
Expand Down Expand Up @@ -215,7 +215,7 @@ rm exp obs
############################################################
echo -e " closest.t15...\c"
echo \
"ERROR: chromomsome sort ordering for file num_missing.bed is inconsistent with other files. Record was:
"ERROR: chromosome sort ordering for file num_missing.bed is inconsistent with other files. Record was:
chr11 10 20" > exp
$BT closest -a alpha_missing.bed -b num_missing.bed 2>&1 > /dev/null | cat - > obs
check exp obs
Expand All @@ -227,7 +227,7 @@ rm exp obs
############################################################
echo -e " closest.t16...\c"
echo \
"ERROR: chromomsome sort ordering for file num_all.bed is inconsistent with other files. Record was:
"ERROR: chromosome sort ordering for file num_all.bed is inconsistent with other files. Record was:
chr10 10 20" > exp
$BT closest -a num_all.bed -b alpha_all.bed 2>&1 > /dev/null | cat - > obs
check exp obs
Expand Down Expand Up @@ -290,7 +290,7 @@ rm exp obs
############################################################
echo -e " closest.21...\c"
echo \
"ERROR: chromomsome sort ordering for file num_missing.bed is inconsistent with other files. Record was:
"ERROR: chromosome sort ordering for file num_missing.bed is inconsistent with other files. Record was:
chr11 10 20" > exp
$BT closest -a num_missing.bed -b alpha_missing.bed 2>&1 > /dev/null | cat - > obs
check exp obs
Expand Down
2 changes: 1 addition & 1 deletion test/intersect/sortAndNaming/exp1
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
ERROR: chromomsome sort ordering for file sdb1.bed is inconsistent with other files. Record was:
ERROR: chromosome sort ordering for file sdb1.bed is inconsistent with other files. Record was:
chr2 10 20
10 changes: 5 additions & 5 deletions test/intersect/sortAndNaming/test-sort-and-naming.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ check()
############################################################
echo -e " intersect.t01...\c"
echo \
"ERROR: chromomsome sort ordering for file sq1.bed is inconsistent with other files. Record was:
"ERROR: chromosome sort ordering for file sq1.bed is inconsistent with other files. Record was:
chr12 10 20" > exp
$BT intersect -a sq1.bed -b sdb1.bed -sorted 2>&1 > /dev/null | cat - > obs
check obs exp
Expand Down Expand Up @@ -150,7 +150,7 @@ rm exp obs
############################################################
echo -e " intersect.t10...\c"
echo \
"ERROR: chromomsome sort ordering for file num_all.bed is inconsistent with other files. Record was:
"ERROR: chromosome sort ordering for file num_all.bed is inconsistent with other files. Record was:
chr10 10 20" > exp
$BT intersect -a alpha_all.bed -b num_all.bed -sorted 2>&1 > /dev/null | cat - > obs
check exp obs
Expand Down Expand Up @@ -211,7 +211,7 @@ rm exp obs
############################################################
echo -e " intersect.t15...\c"
echo \
"ERROR: chromomsome sort ordering for file num_missing.bed is inconsistent with other files. Record was:
"ERROR: chromosome sort ordering for file num_missing.bed is inconsistent with other files. Record was:
chr11 10 20" > exp
$BT intersect -a alpha_missing.bed -b num_missing.bed -sorted 2>&1 > /dev/null | cat - > obs
check exp obs
Expand All @@ -223,7 +223,7 @@ rm exp obs
############################################################
echo -e " intersect.t16...\c"
echo \
"ERROR: chromomsome sort ordering for file num_all.bed is inconsistent with other files. Record was:
"ERROR: chromosome sort ordering for file num_all.bed is inconsistent with other files. Record was:
chr10 10 20" > exp
$BT intersect -a num_all.bed -b alpha_all.bed -sorted 2>&1 > /dev/null | cat - > obs
check exp obs
Expand Down Expand Up @@ -286,7 +286,7 @@ rm exp obs
############################################################
echo -e " intersect.21...\c"
echo \
"ERROR: chromomsome sort ordering for file num_missing.bed is inconsistent with other files. Record was:
"ERROR: chromosome sort ordering for file num_missing.bed is inconsistent with other files. Record was:
chr11 10 20" > exp
$BT intersect -a num_missing.bed -b alpha_missing.bed -sorted 2>&1 > /dev/null | cat - > obs
check exp obs
Expand Down

0 comments on commit b144100

Please sign in to comment.