Skip to content
Back to skills

266 Usage Guide Fe19c1da

ASecurity

This workflow takes you from raw DNA sequencing FASTQ files to a filtered set of variant calls (SNPs and indels). It covers the entire process from quality control through alignment and variant calling.

  • 9 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 31, 2026
toolsbash

Works with

  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned May 31, 2026

npx -y skills add tools-only/X-Skills --skill 266-usage-guide_fe19c1da --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 266 Usage Guide Fe19c1da?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 266 Usage Guide Fe19c1da
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-266-usage-guide-fe19c1da/badge)](https://www.skillsdirectory.com/skills/tools-only-266-usage-guide-fe19c1da)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# FASTQ to Variants - Usage Guide

## Overview

This workflow takes you from raw DNA sequencing FASTQ files to a filtered set of variant calls (SNPs and indels). It covers the entire process from quality control through alignment and variant calling.

## Prerequisites

```bash
# CLI tools
conda install -c bioconda fastp bwa-mem2 samtools bcftools

# For GATK path
conda install -c bioconda gatk4
```

## Quick Start

Tell your AI agent what you want to do:
- "Call variants from my whole genome sequencing FASTQ files"
- "Run the FASTQ to variants pipeline on my exome data"
- "I have paired-end DNA reads, help me find variants"

## Example Prompts

### Starting from FASTQ
> "I have FASTQ files for 5 samples, call variants jointly"

> "Process my WGS data from raw reads to VCF"

> "Use GATK HaplotypeCaller instead of bcftools"

### Customizing the workflow
> "Add BQSR to my variant calling pipeline"

> "Call variants only in the exome target regions"

> "Run the pipeline on a specific chromosome"

### From alignment to variants
> "I already have BAM files, just call variants"

> "My BAMs are not duplicate-marked, process and call variants"

## Input Requirements

| Input | Format | Description |
|-------|--------|-------------|
| FASTQ files | .fastq.gz | Paired-end reads (R1 and R2 per sample) |
| Reference | FASTA | Reference genome (indexed for bwa-mem2) |
| Targets (optional) | BED | For exome/targeted sequencing |
| Known sites (GATK) | VCF | dbSNP for BQSR |

## What the Workflow Does

1. **Quality Control** - Trim adapters and low-quality bases
2. **Alignment** - Map reads to reference genome
3. **BAM Processing** - Sort, mark duplicates, index
4. **Variant Calling** - Identify SNPs and indels
5. **Filtering** - Remove low-quality calls

## Choosing Between bcftools and GATK

| Use bcftools when | Use GATK when |
|-------------------|---------------|
| Speed is important | Quality is paramount |
| Germline variants | Somatic variants |
| Small cohort | Large cohort with VQSR |
| Resource-limited | Resources available |

## Tips

- **Read groups**: Always add read group information during alignment
- **Duplicates**: Mark duplicates for PCR-based libraries
- **Depth**: Check coverage before variant calling (aim for 30x WGS, 100x exome)
- **Joint calling**: Improves sensitivity, especially for rare variants
- **Filtering**: Start with default filters, adjust based on Ti/Tv ratio and known site overlap

Files in this skill

  • README.md960 B
  • skill.md2.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.