Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix HtsCRAMCodec test data provider. #1632

Merged
merged 1 commit into from
Nov 8, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -586,18 +586,18 @@ public void testQueryUnmapped(
public Object[][] alignmentStartQueries() {
return new Object[][] {
// cram file, reference, query contig, alignment start query, number of reads with matching alignment start
{cramQueryWithCRAI, cramQueryReference, "20", 100013, 2},
{cramQueryWithLocalCRAI, cramQueryReference, "20", 100013, 2},
{cramQueryWithBAI, cramQueryReference, "20", 100013, 2},
{cramQueryWithCRAI, cramQueryReference, "20", 100013L, 2},
{cramQueryWithLocalCRAI, cramQueryReference, "20", 100013L, 2},
{cramQueryWithBAI, cramQueryReference, "20", 100013L, 2},
// tests to ensure that query results on inputs that have matching reads that are followed by reads
// in the same container that don't match the alignment start are properly constrained to only the
// matching reads
{new HtsPath(TEST_DATA_DIR + "mitoAlignmentStartTest.cram"),
new HtsPath(TEST_DATA_DIR + "mitoAlignmentStartTest.fa"),
"Mito", 631, 24},
"Mito", 631L, 24},
{new HtsPath(TEST_DATA_DIR + "mitoAlignmentStartTestGATKGen.cram"),
new HtsPath(TEST_DATA_DIR + "mitoAlignmentStartTest.fa"),
"Mito", 631, 24},
"Mito", 631L, 24},
};
}

Expand Down