Minor update
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@5778 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
15c7bd82a5
commit
bf40351094
|
|
@ -95,15 +95,11 @@ public class VariantValidationAssessor extends RodWalker<Pair<VariantContext, By
|
|||
if ( tracker == null )
|
||||
return null;
|
||||
|
||||
List<Object> rods = tracker.getReferenceMetaData(INPUT_VARIANT_ROD_BINDING_NAME);
|
||||
VariantContext vc = tracker.getVariantContext(ref, INPUT_VARIANT_ROD_BINDING_NAME, ref.getLocus());
|
||||
// ignore places where we don't have a variant
|
||||
if ( rods.size() == 0 )
|
||||
if ( vc == null )
|
||||
return null;
|
||||
|
||||
Object rod = rods.get(0);
|
||||
|
||||
VariantContext vc = VariantContextAdaptors.toVariantContext(INPUT_VARIANT_ROD_BINDING_NAME, rod, ref);
|
||||
|
||||
if ( sampleNames == null )
|
||||
sampleNames = new TreeSet<String>(vc.getSampleNames());
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue