This function takes a path of a directory of unfiltered VCFs files generated using Platypus and the a path of the directory of BAMs from which those VCFs were generated.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | format_SNP_data(
bin_path = "tools/bcftools/bcftools",
bin_path2 = "tools/htslib/bgzip",
bin_path3 = "tools/htslib/tabix",
bin_path4 = "tools/ASEQ/binaries/linux64/ASEQ",
unfil_vcf = "",
unfil_vcf_dir = "",
bam_dir = "",
germ_pattern = "GL",
qual = 30,
mq = 40,
min_cov = 20,
patient_id = "",
verbose = FALSE,
output_dir = "",
jobs = 1,
threads = 3,
remove_tmp = TRUE
)
|
bin_path |
Path to bcftools binary. Default tools/bcftools/bcftools. |
bin_path2 |
Path to bgzip binary. Default tools/htslib/bgzip. |
bin_path3 |
Path to tabix binary. Default tools/htslib/tabix. |
bin_path4 |
Path to ASEQ binary. Default tools/ASEQ/binaries/linux64/ASEQ |
unfil_vcf |
Path to unfiltered VCF file. |
unfil_vcf_dir |
Path to unfiltered VCF file directory. |
bam_dir |
Path to BAM file directory. |
germ_pattern |
Germline identifier. |
qual |
Quality filter. Default 30. |
mq |
Mapping quality filter. Default 40. |
min_cov |
Minimum coverage to filter. Default 20. |
patient_id |
Patient identifier. |
verbose |
Enables progress messages. Default FALSE. |
output_dir |
Path to the output directory. |
jobs |
Number of jobs to do in parallel. Default 1 |
threads |
Number of threads to use per job. Default 3 |
remove_tmp |
Remove temporary files. Default TRUE |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.