Skip to content
This repository has been archived by the owner on Dec 9, 2023. It is now read-only.

Commit

Permalink
add lowsupport filter to header
Browse files Browse the repository at this point in the history
  • Loading branch information
ljdursi committed Dec 13, 2016
1 parent 049ec33 commit 0ac3e63
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mergevcf/mergedfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,9 @@ def infoString(callers, infodict):
outfile.write('##INFO=<ID=Callers,Number=.,Type=String,Description="Callers that made this call">\n')
if output_ncallers:
outfile.write('##INFO=<ID=NumCallers,Number=1,Type=Integer,Description="Number of callers that made this call">\n')
outfile.write("#CHROM POS ID REF ALT QUAL FILTER INFO\n")
if min_num_callers > 0:
outfile.write('##FILTER=<ID=LOWSUPPORT,Description="Not called by enough callers in ensemble">\n')
outfile.write("#CHROM\tPOS\tID\tREF\tALT\tQUAL\tFILTER\tINFO\n")

for variant in calldict:
callers = variant[2]
Expand Down

0 comments on commit 0ac3e63

Please sign in to comment.