Skip to content

CountFalsePositives now requires an intervals file #6120

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 9, 2019
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
* gatk --java-options "-Xmx4g" CountFalsePositives \
* -V filtered.vcf.gz \
* -R ref_fasta.fa \
* -L target_panel.interval_list \
* -O false-positives.txt
* </pre>
*
Expand All @@ -49,16 +50,18 @@ public class CountFalsePositives extends VariantWalker {
static final String USAGE_ONE_LINE_SUMMARY = "Count PASS variants";
static final String USAGE_SUMMARY = "Count PASS (false positive) variants in a vcf file for Mutect2 NA12878 normal-normal evaluation";

@Argument(
fullName = StandardArgumentDefinitions.OUTPUT_LONG_NAME,
shortName = StandardArgumentDefinitions.OUTPUT_SHORT_NAME,
doc = "Output file"
)
@Argument(fullName = StandardArgumentDefinitions.OUTPUT_LONG_NAME, shortName = StandardArgumentDefinitions.OUTPUT_SHORT_NAME, doc = "Output file")
private File outputFile = null;

long indelFalsePositiveCount = 0;
long snpFalsePositiveCount = 0;
String id;

@Override
public boolean requiresIntervals() {
return true;
}

// TODO: eventually use tumor and normal sample names instead of the file name. To do so we must extract them from the vcf, which I don't know how.
@Override
public void onTraversalStart() {
Expand Down