Use tsv filename when using tab separator.
[lightning.git] / export.go
index 38fbeacb5283a96131ea5b4da3fa3216d9f780de..5e0ecf43e1889316e5ab3766667850bdaa34ce9e 100644 (file)
--- a/export.go
+++ b/export.go
@@ -44,8 +44,8 @@ var (
                "pvcf":        outputFormatPVCF,
                "vcf":         outputFormatVCF,
        }
-       outputFormatHGVS       = outputFormat{Filename: "out.csv", Head: headNone, Print: printHGVS}
-       outputFormatHGVSOneHot = outputFormat{Filename: "out.csv", Head: headNone, Print: printHGVSOneHot}
+       outputFormatHGVS       = outputFormat{Filename: "out.tsv", Head: headNone, Print: printHGVS}
+       outputFormatHGVSOneHot = outputFormat{Filename: "out.tsv", Head: headNone, Print: printHGVSOneHot}
        outputFormatPVCF       = outputFormat{Filename: "out.vcf", Head: headPVCF, Print: printPVCF, PadLeft: true}
        outputFormatVCF        = outputFormat{Filename: "out.vcf", Head: headVCF, Print: printVCF, PadLeft: true}
        headNone               = func(io.Writer, []CompactGenome) {}