Vcf pass count

From XuShuwenn/RedAct · View interactive version

Vcf pass count is an AI agent skill from the GitHub repository XuShuwenn/RedAct. Count variants in VCF file that have PASS filter or no filter applied.

How to use this skill

Skill file

VCF PASS Count

When to Use

Input

Variant Classification

A variant PASSES if:

A variant FAILS if:

Important: apply the task definition literally when counting.

Output Format

To /root/output.txt:

Total variants: N
Passed variants: M
Failed variants: K

VCF Structure


## Verification

## Verification

- Inspect `/root/input.vcf` directly before writing final counts; do not rely only on a precomputed summary.
- Skip header lines beginning with `#`, then classify each variant from the 7th column (`FILTER`).
- Verify the final numbers satisfy `Total = Passed + Failed`.
#CHROM  POS     ID      REF     ALT     QUAL    FILTER  INFO
chr1    100     .       A       G       .       PASS    ...
chr2    200     .       C       T       .       .       ...

Dot (.) means no value applied = PASS.

Tips

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.