readVcfSubset: Read VCF

readVcfSubsetR Documentation

Read VCF

Description

Read a subset of a VCF file

Usage

readVcfSubset(vcf.file, genome = "", seq.id, seq.start, seq.end)

Arguments

vcf.file

path to the VCF file (bgzip index should exist in same directory)

genome

genome identifier (e.g. "VITVI_12x2")

seq.id

sequence identifier to work on (e.g. "chr2")

seq.start

start of the sequence to work on (1-based coordinate)

seq.end

end of the sequence to work on (1-based coordinate)

Value

CollapsedVCF (see pkg VariantAnnotation)

Author(s)

Timothee Flutre


timflutre/rutilstimflutre documentation built on Feb. 12, 2025, 11:35 p.m.