In retrospect, it wasn't a good idea to have FisherStrand handle reduced reads since they are always on the forward strand. For now, FS ignores reduced reads but I've added a note (and JIRA) to make this work once the RR het compression is enabled (since we will have directionality in reads then).
This commit is contained in:
parent
726332db79
commit
ef87b18e09
|
|
@ -457,7 +457,7 @@ public class UnifiedGenotyperIntegrationTest extends WalkerTest {
|
|||
|
||||
@Test
|
||||
public void testReducedBamSNPs() {
|
||||
testReducedCalling("SNP", "f5ccbc96d0d66832dd9b3c5cb6507db4");
|
||||
testReducedCalling("SNP", "dee6590e3b7079890bc3a9cb372c297e");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
|
|||
|
|
@ -276,6 +276,12 @@ public class FisherStrand extends InfoFieldAnnotation implements StandardAnnotat
|
|||
|
||||
for ( Map.Entry<String, AlignmentContext> sample : stratifiedContexts.entrySet() ) {
|
||||
for (PileupElement p : sample.getValue().getBasePileup()) {
|
||||
|
||||
// ignore reduced reads because they are always on the forward strand!
|
||||
// TODO -- when het compression is enabled in RR, we somehow need to allow those reads through into the Fisher test
|
||||
if ( p.getRead().isReducedRead() )
|
||||
continue;
|
||||
|
||||
if ( ! RankSumTest.isUsableBase(p, false) ) // ignore deletions
|
||||
continue;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue