Skip to content

Commit

Permalink
Minor adaptions of strand bias parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
seppinho committed Aug 19, 2022
1 parent 2c6c87b commit b25589e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/genepi/mut/pileup/VariantCaller.java
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public static VariantResult determineLowLevelVariant(VariantLine line, double mi

Filter filter = null;
try {

/**
* 10× coverage of qualified bases on both positive and negative strands;
*/
Expand Down Expand Up @@ -112,7 +112,7 @@ public static VariantResult determineLowLevelVariant(VariantLine line, double mi
return addVariantResult(line, type, filter);
}

if (!(calcStrandBias(line, minorBasePercentsFWD, minorBasePercentsREV) <= 1)) {
if (!(calcStrandBias(line, minorBasePercentsFWD, minorBasePercentsREV) <= 1.2)) {
type = LOW_LEVEL_VARIANT;
filter = Filter.STRAND_BIAS;
line.setFilter(filter);
Expand Down Expand Up @@ -228,7 +228,7 @@ private static boolean checkAlleleCoverage(VariantLine line, double minorPercent
int coverage = 2;

if (line.getTopBasePercentsREV() * line.getCovREV() <= coverage
&& (line.getTopBasePercentsFWD() * line.getCovFWD()) <= coverage) {
&& (line.getTopBasePercentsFWD() * line.getCovFWD()) <= coverage) {
return false;
}

Expand Down

1 comment on commit b25589e

@vercel
Copy link

@vercel vercel bot commented on b25589e Aug 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

mutserve – ./

mutserve-git-master-seppinho.vercel.app
mutserve.vercel.app
mutserve-seppinho.vercel.app

Please sign in to comment.