Skip to content

Commit

Permalink
Fix HtsCRAMCodec test data provider. (#1632)
Browse files Browse the repository at this point in the history
Merging this patch that was provided by an external contributor.
  • Loading branch information
cmnbroad authored Nov 8, 2022
1 parent 14a8cc0 commit 067c553
Showing 1 changed file with 5 additions and 5 deletions.
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

0 comments on commit 067c553

Please sign in to comment.