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());
|
||||
|
||||
// Check to see if we have a called snp
|
||||
for ( VariantContext vc : tracker.getValues(VariantContext.class) ) {
|
||||
if ( ! vc.getSource().equals(snpmask.getName())) {
|
||||
for ( VariantContext vc : tracker.getValues(variants) ) {
|
||||
if ( vc.isFiltered() )
|
||||
continue;
|
||||
|
||||
if ( vc.isDeletion()) {
|
||||
deletionBasesRemaining = vc.getReference().length();
|
||||
// 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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// if we don't have a called site, and we have a mask at this site, mask it
|
||||
for ( VariantContext vc : tracker.getValues(snpmask) ) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue