Skip to content

Filtering germline with VAF instead of matched normal #125

@katestan

Description

@katestan

I want to filter germline variants using VAF instead of a matched normal sample (either undiluted nanoseq or standard wgs). For this I think all I have to do is construct a sample file that looks like:

id,d_fastq1,d_fastq2,n_fastq1,n_fastq2
P10,P10_R1.fastq.gz,P10_R2.fastq.gz,P10_R1.fastq.gz,P10_R2.fastq.gz

Where the d_fastq and n_fastq are the exact same file. I think randomreadinbundle will then construct a neat.cram for the n_fastq and use this to filter variants - in this case it would just be the deduplicated cram for the exact same nanoseq sample. I know that var_z sets the minimum coverage in the matched normal, but is there a parameter that allows me to set the minimum VAF in the matched normal? Or minimum number of supporting reads?

From reading other issues I should also set -b to 0 if using a nanoseq normal?

Is there documentation where each of these parameters are clearly defined?
From NanoSeq_main.nf:
params.var_a = 50
params.var_b = 0
params.var_c = 0.02
params.var_d = 2
params.var_f = 0.9
params.var_i = 1.0
params.var_m = 8
params.var_n = 3
params.var_p = 0
params.var_q = 45
params.var_r = 144
params.var_v = 0.01
params.var_x = 8
params.var_z = 15

Any help greatly appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions