Check filtered status before applying to alt reference
This commit is contained in:
parent
8325cb8c26
commit
9ddbfdcb9f
|
|
@ -61,6 +61,8 @@ public class FastaAlternateReferenceWalker extends FastaReferenceWalker {
|
||||||
|
|
||||||
// Check to see if we have a called snp
|
// Check to see if we have a called snp
|
||||||
for ( VariantContext vc : vcs ) {
|
for ( VariantContext vc : vcs ) {
|
||||||
|
if ( vc.isFiltered() )
|
||||||
|
continue;
|
||||||
if ( !vc.getSource().startsWith("snpmask") ) {
|
if ( !vc.getSource().startsWith("snpmask") ) {
|
||||||
if ( vc.isDeletion()) {
|
if ( vc.isDeletion()) {
|
||||||
deletionBasesRemaining = vc.getReference().length();
|
deletionBasesRemaining = vc.getReference().length();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue