bio-workflows-fastq-to-variants
End-to-end DNA sequencing workflow from FASTQ files to variant calls. Covers QC, alignment with BWA, BAM processing, and variant calling with bcftools or GATK HaplotypeCaller. Use when calling variants from raw sequencing reads.
npx skills add BioTender-max/awesome-bio-agent-skills --skill fastq-to-variants --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
## Version Compatibility Reference examples tested with: BWA-MEM2 2.2.1+, Ensembl VEP 111+, GATK 4.5+, bcftools 1.19+, fastp 0.23+, samtools 1.19+ Before using code patterns, verify installed versions match. If versions differ: - CLI: `<tool> --version` then `<tool> --help` to confirm flags If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying. # FASTQ to Variants Workflow **"Call variants from my whole-genome or exome FASTQ files"** → Orchestrate fastp QC, BWA-MEM2 alignment, duplicate marking, BQSR, GATK HaplotypeCaller variant calling, and VQSR/hard filtering to produce filtered VCF output. Complete pipeline from raw DNA sequencing FASTQ files to filtered variant calls. ## Workflow Overview ``` FASTQ files | v [1. QC & Trimming] -----> fastp | v [2. Alignment] ---------> bwa-mem2 | v [3. BAM Processing] ----> sort, markdup, index | v [4. Variant Calling] ---> bcftools (primary) or GATK | v [5. Filtering] ---------> Quality filters | v Filtered VCF ``` ## Primary Path: BWA + bcftools ### Step 1: Quality Control with fastp ```bash # Single sample fastp -i sample_R1.fastq.gz -I s
- Version Compatibility
- Workflow Overview
- Primary Path: BWA + bcftools
- Step 1: Quality Control with fastp
- Step 2: BWA-MEM2 Alignment
- Step 3: BAM Processing
- Step 4: Variant Calling with bcftools
- Step 5: Variant Filtering
- Alternative Path: BWA + GATK HaplotypeCaller
- Step 4 Alternative: GATK Variant Calling (DRAGEN Mode -- Recommended)
- Step 4 Alternative: GATK Standard Mode (with BQSR)
- Step 5 Alternative: GATK Variant Filtering
- Parameter Recommendations
- Choosing a Variant Caller
Single sample
fastp -i sample_R1.fastq.gz -I sample_R2.fastq.gz \
Batch processing
for sample in sample1 sample2 sample3; do
fastp -i ${sample}_R1.fastq.gz -I ${sample}_R2.fastq.gz \
done
Index reference (once)
bwa-mem2 index reference.fa
Align with read group info
bwa-mem2 mem -t 8 \What does the bio-workflows-fastq-to-variants skill do?
End-to-end DNA sequencing workflow from FASTQ files to variant calls. Covers QC, alignment with BWA, BAM processing, and variant calling with bcftools or GATK HaplotypeCaller. Use when calling variants from raw sequencing reads.
How do I install it?
Run `npx skills add BioTender-max/awesome-bio-agent-skills --skill fastq-to-variants --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From BioTender-max/awesome-bio-agent-skills, a repository with 135 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
