update index with wfa update
This commit is contained in:
@@ -272,8 +272,8 @@ function sortInstances () {
|
|||||||
};
|
};
|
||||||
criteria = (item, query) => {
|
criteria = (item, query) => {
|
||||||
// lower is better
|
// lower is better
|
||||||
const { score, CIGAR } = global.wfAlign(query, item, penalties, true);
|
const { score, CIGAR } = global.wfa.wfAlign(query, item, penalties, true);
|
||||||
const alignment = global.DecodeCIGAR(CIGAR);
|
const alignment = global.wfa.DecodeCIGAR(CIGAR);
|
||||||
return { score: score / item.length, alignment };
|
return { score: score / item.length, alignment };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user