Skip to content
Snippets Groups Projects
Commit b77e0ebb authored by arq5x's avatar arq5x
Browse files

[ENH] correct Jaccard output header

parent 4bbe86d3
No related branches found
No related tags found
No related merge requests found
......@@ -85,7 +85,7 @@ void Jaccard::CalculateJaccard() {
// header
cout << "intersection\t"
<< "union\t"
<< "union-intersection\t"
<< "jaccard\t"
<< "n_intersections"
<< endl;
......
......@@ -14,7 +14,7 @@ check()
###########################################################
echo " jaccard.t01...\c"
echo \
"intersection union jaccard n_intersections
"intersection union-intersection jaccard n_intersections
110 110 1 2" > exp
$BT jaccard -a a.bed -b a.bed > obs
check obs exp
......@@ -23,7 +23,7 @@ rm obs exp
echo " jaccard.t02...\c"
echo \
"intersection union jaccard n_intersections
"intersection union-intersection jaccard n_intersections
10 140 0.0714286 1" > exp
$BT jaccard -a a.bed -b b.bed > obs
check obs exp
......@@ -31,7 +31,7 @@ rm obs exp
echo " jaccard.t03...\c"
echo \
"intersection union jaccard n_intersections
"intersection union-intersection jaccard n_intersections
10 200 0.05 1" > exp
$BT jaccard -a a.bed -b c.bed > obs
check obs exp
......@@ -40,7 +40,7 @@ rm obs exp
echo " jaccard.t04...\c"
echo \
"intersection union jaccard n_intersections
"intersection union-intersection jaccard n_intersections
0 210 0 0" > exp
$BT jaccard -a a.bed -b d.bed > obs
check obs exp
......@@ -51,7 +51,7 @@ rm obs exp
###########################################################
echo " jaccard.t05...\c"
echo \
"intersection union jaccard n_intersections
"intersection union-intersection jaccard n_intersections
10 140 0.0714286 1" > exp
cat a.bed | $BT jaccard -a - -b b.bed > obs
check obs exp
......
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