Don't list '.' as an alternate allele, dummy!
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@3337 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
98718d0faa
commit
b223b04331
|
|
@ -125,8 +125,10 @@ public class VCFSubsetWalker extends RodWalker<ArrayList<VCFRecord>, VCFWriter>
|
||||||
|
|
||||||
ArrayList<VCFGenotypeEncoding> genotypeEncodings = new ArrayList<VCFGenotypeEncoding>();
|
ArrayList<VCFGenotypeEncoding> genotypeEncodings = new ArrayList<VCFGenotypeEncoding>();
|
||||||
for (VCFGenotypeEncoding allele : genotypeEncodingSet) {
|
for (VCFGenotypeEncoding allele : genotypeEncodingSet) {
|
||||||
|
if (!allele.getBases().equalsIgnoreCase(".")) {
|
||||||
genotypeEncodings.add(allele);
|
genotypeEncodings.add(allele);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
VCFRecord subset = new VCFRecord(record.getReference(),
|
VCFRecord subset = new VCFRecord(record.getReference(),
|
||||||
record.getChr(),
|
record.getChr(),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue