Skip to content

Very high FREEMIX value with WES experiments #54

@rulixxx

Description

@rulixxx

We have a series of high depth WES experiments that are showing very high contamination. Pileup file looks reasonable with values between 1 - 600. I suspect the PC calculation is failing:

[SimplePileup] Total Number Bases: 603116
[SimplePileup] Total Number Markers: 8791
NOTICE - Number of marker in Reference Matrix:9892
NOTICE - Number of marker shared with input file:8791
NOTICE - Mean Depth:68.606074
NOTICE - SD Depth:41.640111
NOTICE - 8753 SNP markers remained after sanity check.
NOTICE - Passing Marker Sanity Check...
Estimation from OptimizeHeter:
Contaminating Sample PC1:0	PC2:0
Intended Sample PC1:0	PC2:0
FREEMIX(Alpha):0.5
NOTICE - Success!

When I downsample that BAM file keeping 90% of the reads I get a sensible answer:

[SimplePileup] Total Number Bases: 542302
[SimplePileup] Total Number Markers: 8759
NOTICE - Number of marker in Reference Matrix:9892
NOTICE - Number of marker shared with input file:8759
NOTICE - Mean Depth:61.913689
NOTICE - SD Depth:37.354130
NOTICE - 8718 SNP markers remained after sanity check.
NOTICE - Passing Marker Sanity Check...
Estimation from OptimizeHeter:
Contaminating Sample PC1:-0.00338479	PC2:-0.0472513
Intended Sample PC1:-0.00776845	PC2:-0.0262016
FREEMIX(Alpha):0.000633472
NOTICE - Success!

Any idea whats happening here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions