arrow-left

All pages
gitbookPowered by GitBook
1 of 1

Loading...

Filter Calls

Step 2 -- filtering

The second step takes all the genotypes generated from the first step and organized into a patient level variants table with VAFs and call status for each variant of each sample.

Each call is subjected to:

  1. Read depth filter (hotspot vs non-hotspot)

  2. Systematic artifact filter

  3. Germline filters

    1. If any normal exist -- (buffy coat and DMP normal) 2:1 rule

    2. If not -- exac freq < 0.01% and VAF < 30%

  4. CH tag

hashtag
Usage

hashtag
Default

Default options can be found

hashtag
What filter_calls.R does

-- any call with occurrence in more than or equal to 2 donor samples (occurrence defined as more than or equal to 2 duplex reads)

circle-info

We suggest that you filter out anything with duplex_support_num >= 2

hashtag

  1. -- reference for downstream analysis

  2. Generate a

  3. Read in and merging in

hashtag
Example of the patient level table:

Call status annotation

  1. All call passing read depth/genotype filter annotated as 'Called' or 'Genotyped'arrow-up-right

  2. Any call not satisfying germline filters are overwrittenarrow-up-right with 'Not Called'

    1. Calls with zero coverage in plasma sample also annotated as 'Not Covered'

  • Final processing

    1. Combiningarrow-up-right duplex and simplex read counts

    2. CH tagsarrow-up-right

  • Write out table

  • ...

    ...

    Called

    15/1500(0.01)

    Not Called

    0/1800(0)

    0/200(0)

    200/800(0.25)

    1/700(0.001)

    Hugo_Symbol

    Start_position

    Variant_Classification

    Other variant descriptions

    ...

    C-xxxxxx-L001-d___duplex.called

    C-xxxxxx-L001-d___duplex.total

    C-xxxxxx-L002-d___duplex.called

    C-xxxxxx-L001-d___duplex.total

    C-xxxxxx-N001-d___unfilterednormal

    P-xxxxxxx-T01-IM6___DMP_Tumor

    P-xxxxxxx-T01-IM6___DMP_Normal

    KRAS

    xxxxxx

    here
    Generate a reference of systematic artifactsarrow-up-right
    For each patientarrow-up-right
    Read in sample sheetsarrow-up-right
    preliminary patient level variants tablearrow-up-right
    hotspots, DMP signed out calls and occurrence in donor samplesarrow-up-right

    Missense Mutation

    Rscript R/filter_calls.R -h                                         
    usage: R/filter_calls.R [-h] [-m MASTERREF] [-o RESULTSDIR] [-dmpk DMPKEYPATH]
                            [-ch CHLIST] [-c CRITERIA]
    
    optional arguments:
      -h, --help            show this help message and exit
      -m MASTERREF, --masterref MASTERREF
                            File path to master reference file
      -o RESULTSDIR, --resultsdir RESULTSDIR
                            Output directory
      -ch CHLIST, --chlist CHLIST
                            List of signed out CH calls [default]
      -c CRITERIA, --criteria CRITERIA
                            Calling criteria [default]