Description Usage Arguments Details Value Examples
Read main columns of interest from Manta VCF using bcftools or bedr
1 | read_manta_vcf(vcf)
|
vcf |
Path to Manta VCF file ( |
Uses bcftools (https://samtools.github.io/bcftools/bcftools.html) or bedr (https://cran.r-project.org/web/packages/bedr/index.html) to read in the VCF file.
A dataframe (tibble
) with the following fields from the VCF:
chrom1: CHROM
(remove chr
prefix (if any) for hg38 compatibility)
pos1: POS
| INFO/BPI_START
pos2: INFO/END
| INFO/BPI_END
id: ID
mateid: INFO/MATEID
svtype: INFO/SVTYPE
filter: FILTER
1 2 3 4 | vcf <- system.file("extdata", "HCC2218_manta.vcf", package = "pebbles")
vcf2 <- system.file("extdata", "manta_no_bpi.vcf", package = "pebbles")
rock:::read_manta_vcf(vcf)
rock:::read_manta_vcf(vcf2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.