Skip to content
Snippets Groups Projects
Commit 917ed16d authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Fix on bamADfilter

parent 4355447e
Branches
Tags
No related merge requests found
...@@ -111,7 +111,7 @@ object VcfFilter extends ToolCommand { ...@@ -111,7 +111,7 @@ object VcfFilter extends ToolCommand {
if (record.getAttributeAsInt("DP", -1) >= commandArgs.minTotalDepth && if (record.getAttributeAsInt("DP", -1) >= commandArgs.minTotalDepth &&
genotypes.count(_ == true) >= commandArgs.minSamplesPass && genotypes.count(_ == true) >= commandArgs.minSamplesPass &&
bamADvalues.count(_ == true) >= commandArgs.minSamplesPass) (commandArgs.minBamAlternateDepth <= 0 || bamADvalues.count(_ == true) >= commandArgs.minSamplesPass))
writer.add(record) writer.add(record)
} }
reader.close reader.close
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment