Getting Started
Get running with Krewlyzer in 5 minutes.
Quick Install
pip Users
See Installation Guide for KREWLYZER_DATA_DIR setup.
Your First Analysis
Run all fragmentomics features on a BAM file:
Check Results
ls results/
# sample.bed.gz # Extracted fragments
# sample.EndMotif.tsv # End motif frequencies
# sample.FSC.tsv # Fragment size coverage
# sample.FSR.tsv # Fragment size ratios
# sample.FSD.tsv # Size distribution by arm
# sample.WPS.tsv.gz # Windowed protection scores
# sample.OCF.tsv # Orientation-aware fragmentation
Common Workflows
Targeted Panel (MSK-ACCESS)
For MSK-ACCESS v1 or v2 panels, use the --assay flag for panel-optimized analysis:
krewlyzer run-all sample.bam \
--reference hg19.fa \
--output results/ \
--assay xs2 \
--target-regions MSK-ACCESS-v2_targets.bed
This enables: - Gene-level FSC aggregation (146 genes) - Dual WPS output (genome-wide + panel-specific) - On/off-target splitting for all features
For PON normalization:
krewlyzer run-all sample.bam \
--reference hg19.fa \
--output results/ \
--assay xs2 \
--target-regions targets.bed \
--pon-model xs2.pon.parquet \
--generate-json
→ Full MSK-ACCESS Quickstart for detailed workflows.
With Variant Analysis
Add mutant fragment size analysis using a VCF/MAF:
Individual Tools
Run specific features separately:
# Extract fragments first
krewlyzer extract -i sample.bam -r hg19.fa -o output/
# Then run feature tools on the BED
krewlyzer fsc -i output/sample.bed.gz -o output/
krewlyzer wps -i output/sample.bed.gz -o output/
Next Steps
- Installation Guide - Detailed setup instructions
- Usage Guide - Full CLI reference
- Feature Documentation - Per-feature details
- Nextflow Pipeline - Batch processing