Resolving merge conflicts
This commit is contained in:
commit
3d56bbf087
|
|
@ -66,8 +66,10 @@ public class FastaAlternateReferenceWalker extends FastaReferenceWalker {
|
||||||
String refBase = String.valueOf((char)ref.getBase());
|
String refBase = String.valueOf((char)ref.getBase());
|
||||||
|
|
||||||
// Check to see if we have a called snp
|
// Check to see if we have a called snp
|
||||||
for ( VariantContext vc : tracker.getValues(VariantContext.class) ) {
|
for ( VariantContext vc : tracker.getValues(variants) ) {
|
||||||
if ( ! vc.getSource().equals(snpmask.getName())) {
|
if ( vc.isFiltered() )
|
||||||
|
continue;
|
||||||
|
|
||||||
if ( vc.isDeletion()) {
|
if ( vc.isDeletion()) {
|
||||||
deletionBasesRemaining = vc.getReference().length();
|
deletionBasesRemaining = vc.getReference().length();
|
||||||
// delete the next n bases, not this one
|
// delete the next n bases, not this one
|
||||||
|
|
@ -78,7 +80,6 @@ public class FastaAlternateReferenceWalker extends FastaReferenceWalker {
|
||||||
return new Pair<GenomeLoc, String>(context.getLocation(), vc.getAlternateAllele(0).toString());
|
return new Pair<GenomeLoc, String>(context.getLocation(), vc.getAlternateAllele(0).toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// if we don't have a called site, and we have a mask at this site, mask it
|
// if we don't have a called site, and we have a mask at this site, mask it
|
||||||
for ( VariantContext vc : tracker.getValues(snpmask) ) {
|
for ( VariantContext vc : tracker.getValues(snpmask) ) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue