bcftools-variant-manipulation

Filter, merge, annotate, and extract genetic variants in VCF and BCF files.

298|27|Updated Feb 18, 2026
One-click install
npx skills add https://github.com/jaechang-hits/SciAgent-Skills --skill bcftools-variant-manipulation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bcftools-variant-manipulation
Source: https://github.com/jaechang-hits/SciAgent-Skills/tree/main/skills/genomics-bioinformatics/bcftools-variant-manipulation
Command: npx skills add https://github.com/jaechang-hits/SciAgent-Skills --skill bcftools-variant-manipulation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the complex process of manipulating variant call files (VCF/BCF), enabling efficient filtering, merging, annotation, and querying of genetic variation data.

Core Features & Use Cases

  • Variant Filtering: Apply quality thresholds and flags to retain high-confidence calls.
  • Data Extraction: Transform VCF content into tabular text for downstream analysis.
  • Annotation: Add identifiers and gene information to variant records.
  • Use Case: You have a raw VCF file from a variant caller and need to filter out low-quality variants, annotate them with dbSNP rsIDs, and extract a list of variants with allele frequencies above 1%.

Quick Start

Use the bcftools skill to filter the file 'variants.vcf.gz' to keep only variants with QUAL greater than 20 and DP greater than 10.

Frequently Asked Questions about bcftools-variant-manipulation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I filter a VCF file by quality and depth thresholds?

To filter a VCF file, you can apply quality and depth thresholds to retain high-confidence calls, keeping only variants that meet specific criteria such as QUAL greater than 20 and DP greater than 10.

What is the best way to add identifiers and gene information to variant records?

The best way to annotate variant records is by adding identifiers like dbSNP rsIDs and gene information to your VCF or BCF files, enabling efficient querying of genetic variation data for downstream analysis.

Can I extract variants with allele frequencies above a certain percentage from a BCF file?

Yes, you can extract variants with allele frequencies above a specific percentage from a BCF file by applying the appropriate filtering expressions to isolate and transform the variant content into a list.

Does this approach work with both VCF and BCF formats for large genomic datasets?

Yes, this approach works with both VCF and BCF formats, utilizing the bcftools command-line utility to efficiently process and manipulate large variant datasets from post-variant-calling pipelines.

How do I merge multiple VCF files from a variant calling pipeline?

You can merge multiple VCF files from a variant calling pipeline by using specialized commands to combine them, facilitating efficient merging, annotation, and querying of genetic variation data across samples.

Why convert VCF content into tabular text for downstream analysis?

Converting VCF content into tabular text transforms the complex variant data structure into a simplified format, making it accessible for downstream analysis and extraction of specific genetic variants.