clean_vcf_INFO: Parse and clean-up INFO Fields in a VCF File

View source: R/clean_vcf_INFO.R

clean_vcf_INFOR Documentation

Parse and clean-up INFO Fields in a VCF File

Description

This function reads a VCF file, processes the INFO fields to remove any fields that are not consistently present across all records, and outputs a cleaned VCF file with "_clean" appended to the input file name before the suffix.

Usage

clean_vcf_INFO(vcffile)

Arguments

vcffile

A character string specifying the path to the input VCF file.

Value

Writes a cleaned VCF file to the specified or default path.

Examples

# Assume you have a VCF file "my_input.vcf" in your working directory
clean_vcf_INFO("my_input.vcf")


pygmyperch/melfuR documentation built on Aug. 26, 2024, 12:48 a.m.