No longer adds a binding of ID -> . when the ID field is dot in the VCF
-- Really we should make ID a primary key in VariantContext. Putting it into the attributes is just annoying now
This commit is contained in:
parent
e5b793f4ce
commit
1a92ee3593
|
|
@ -381,6 +381,7 @@ public abstract class AbstractVCFCodec implements FeatureCodec, NameAwareCodec,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( ! id.equals(VCFConstants.EMPTY_ID_FIELD) )
|
||||||
attributes.put(VariantContext.ID_KEY, id);
|
attributes.put(VariantContext.ID_KEY, id);
|
||||||
return attributes;
|
return attributes;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue