Package-level declarations
Types
Simple class to place newline characters at fixed intervals while writing to output
Get the variant lines for the given positions from the VCF files. Input files, VCF Readers, Sample lists, and variants are kept in the same order. Sorted by the first sample name in each VCF file.
Merges GVCF files into a single VCF file. The GVCF files should have only one sample each. If a bedfile is provided, then the output VCF file is split into multiple files based on the ranges in the bedfile.
Data class to represent a simple VCF variant
Functions
Function to convert a genotype in a GVCF file to a fasta sequence. All records must use non-symbloic alleles (except
Function creates generic headers for a g/VCF file
Function to get all VCF files in a directory. Includes extensions .g.vcf, .g.vcf.gz, .gvcf, .gvcf.gz, .h.vcf, .h.vcf.gz, .hvcf, .hvcf.gz, .vcf, .vcf.gz
Function to get all GVCF files in a directory. Includes extensions .g.vcf, .g.vcf.gz, .gvcf, .gvcf.gz
This is an example use of GetVCFVariants. See MergeGVCFs.kt for a similar example.
Helper function to parse out the ALT headers from the VCF file.
Sends all logging messages (including log4j) to standard out. The logging level will be DEBUG.