Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion depth_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def getFormatField(sample_name, field_name):
filter=False
for samp in args.sample_names.split(","):
depth = getFormatField(samp,args.site_depth_field)
if(depth=="NA"):
if(depth in ("NA", ".")):
if na_err:
print("WARNING: One or more sites lack the {} field. Those are being treated as zero and filtered".format(args.site_depth_field))
na_err=False
Expand Down