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:
kiran 2010-05-10 14:51:18 +00:00
parent 98718d0faa
commit b223b04331
1 changed files with 3 additions and 1 deletions

View File

@ -125,7 +125,9 @@ public class VCFSubsetWalker extends RodWalker<ArrayList<VCFRecord>, VCFWriter>
ArrayList<VCFGenotypeEncoding> genotypeEncodings = new ArrayList<VCFGenotypeEncoding>();
for (VCFGenotypeEncoding allele : genotypeEncodingSet) {
genotypeEncodings.add(allele);
if (!allele.getBases().equalsIgnoreCase(".")) {
genotypeEncodings.add(allele);
}
}
VCFRecord subset = new VCFRecord(record.getReference(),