Skip to content
Snippets Groups Projects
Commit 187bae8b authored by bow's avatar bow
Browse files

Merge branch 'hotfix-0.1.4' into 'master'

Hotfix 0.1.4

Fix breaking bug on vcffilter tool

See merge request !14
parents 4355447e 808646d4
No related branches found
Tags v0.1.4
No related merge requests found
......@@ -4,7 +4,7 @@
<groupId>nl.lumc.sasc</groupId>
<artifactId>BiopetFramework</artifactId>
<version>0.1.3</version>
<version>0.1.4</version>
<packaging>jar</packaging>
<name>BiopetFramework</name>
......
......@@ -111,7 +111,7 @@ object VcfFilter extends ToolCommand {
if (record.getAttributeAsInt("DP", -1) >= commandArgs.minTotalDepth &&
genotypes.count(_ == true) >= commandArgs.minSamplesPass &&
bamADvalues.count(_ == true) >= commandArgs.minSamplesPass)
(commandArgs.minBamAlternateDepth <= 0 || bamADvalues.count(_ == true) >= commandArgs.minSamplesPass))
writer.add(record)
}
reader.close
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment