diff --git a/mergevcf/mergedfile.py b/mergevcf/mergedfile.py index 4bda646..ff4b03f 100644 --- a/mergevcf/mergedfile.py +++ b/mergevcf/mergedfile.py @@ -123,7 +123,9 @@ def infoString(callers, infodict): outfile.write('##INFO=\n') if output_ncallers: outfile.write('##INFO=\n') - outfile.write("#CHROM POS ID REF ALT QUAL FILTER INFO\n") + if min_num_callers > 0: + outfile.write('##FILTER=\n') + outfile.write("#CHROM\tPOS\tID\tREF\tALT\tQUAL\tFILTER\tINFO\n") for variant in calldict: callers = variant[2]