prep_manta_vcf: Prepare Manta VCF for Circos

prep_manta_vcfR Documentation

Prepare Manta VCF for Circos

Description

Prepares a Manta VCF for display in a Circos plot.

Usage

prep_manta_vcf(vcf, filter_pass = FALSE)

Arguments

vcf

Path to Manta VCF file. Can be compressed or not.

filter_pass

Keep only variants annotated with a PASS FILTER? (default: FALSE).

Value

A dataframe (tibble) with the following fields from the VCF:

  • chrom1: CHROM

  • pos1: POS | INFO/BPI_START

  • chrom2: CHROM (for mate2 if BND)

  • pos2: INFO/END | INFO/BPI_END (for mate1 if BND)

  • svtype: INFO/SVTYPE. Used for plotting.


pdiakumis/woofr documentation built on Jan. 4, 2024, 11:22 a.m.