Always print out VCF header - not just when there is genotype data present.
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@2114 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
bf935a6ab1
commit
04d6ac940c
|
|
@ -60,8 +60,8 @@ public class VCFWriter {
|
|||
if (header.hasGenotypingData()) {
|
||||
b.append("FORMAT" + FIELD_SEPERATOR);
|
||||
for (String field : header.getGenotypeSamples()) b.append(field + FIELD_SEPERATOR);
|
||||
mWriter.write(b.toString() + "\n");
|
||||
}
|
||||
mWriter.write(b.toString() + "\n");
|
||||
}
|
||||
catch (IOException e) {
|
||||
throw new RuntimeException("IOException writing the VCF header", e);
|
||||
|
|
|
|||
Loading…
Reference in New Issue