This function filters VCF calls using bcftools
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | vcf_filter_variants(
unfil_vcf = "",
bin_path = "tools/bcftools/bcftools",
bin_path2 = "tools/htslib/bgzip",
bin_path3 = "tools/htslib/tabix",
qual = 30,
mq = 40,
state = "",
ref = "",
type = "",
filter = "",
verbose = FALSE,
output_dir = ""
)
|
unfil_vcf |
Path to unfiltered vcf file. |
bin_path |
Path to gatk binary. Default tools/gatk/gatk. |
bin_path2 |
Path to bgzip binary. Default tools/htslib/bgzip. |
bin_path3 |
Path to tabix binary. Default tools/htslib/tabix. |
qual |
Quality filter. Default 30. |
mq |
Mapping quality filter. Default 40. |
state |
Optional Variant state to select. Options: het/homo |
ref |
Optional Filter variants with ID. |
type |
Optional Variant type to include. Options: snp/indel. Default includes both |
filter |
Optional Filter to include Options: PASS/. |
verbose |
Enables progress messages. Default False. |
output_dir |
Path to the output directory. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.