Skip to content

Allow custom VCF filters to be specified via arguments #9

@selkamand

Description

@selkamand

We already have pass_only and exclude_sex_chromosomes arguments for identifying which parts of a VCF to include / exclude.

We should also include an argument additional_filters which expects a list of functions - each function should expect a VCF-class object and return a logical vector with 1 element per variant in the VCF. If the function evaluates to TRUE, the variant entry will be kept, and if not it will be excluded

For info on the VCF class object, run

?VariantAnnotation::`VCF-class`

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