Summary Report

Report Date: {{ report_date }}

VNtyper Version: {{ pipeline_version }}

{% if input_files %}

Input Files: {% if input_files.fastq1 and input_files.fastq2 %} {{ input_files.fastq1 }}, {{ input_files.fastq2 }} {% elif input_files.bam %} {{ input_files.bam }} {% endif %}

{% endif %} {% if alignment_pipeline or assembly_text or assembly_contig or header_warning %}
{% if alignment_pipeline %}

Alignment pipeline: {{ alignment_pipeline }}

{% endif %} {% if assembly_text %}

Assembly detected from BAM header: {{ assembly_text }} {% if assembly_contig %} (Contig: {{ assembly_contig }}) {% endif %}

{% endif %} {% if header_warning %}

Warning: {{ header_warning }}

{% endif %}
{% endif %}

VNTR Region Coverage

Mean Coverage: {{ mean_vntr_coverage }} {{ mean_vntr_coverage_icon }}

{% if fastp_available %}

fastp Quality Metrics

Sequencing Setup: {{ sequencing_str }}

Metric Value Status
Duplication Rate (Cutoff: 10%) {% if duplication_rate is not none %} {{ (duplication_rate * 100)|round(2) }}% {% else %} N/A {% endif %} {{ duplication_rate_icon }}
Q20 Rate (Cutoff: 80%) {{ (q20_rate * 100)|round(2) if q20_rate is not none else 'N/A' }}% {{ q20_icon }}
Q30 Rate (Cutoff: 70%) {{ (q30_rate * 100)|round(2) if q30_rate is not none else 'N/A' }}% {{ q30_icon }}
Passed Filter Rate (Cutoff: 80%) {{ (passed_filter_rate * 100)|round(2) if passed_filter_rate is not none else 'N/A' }}% {{ passed_filter_icon }}
{% endif %}

Screening Summary

{{ summary_text|safe }}

{% if cross_match_message and advntr_available %}

Cross-Match Summary

{{ cross_match_message|safe }}

{% endif %}

Kestrel Identified Variants

{{ kestrel_highlight | safe }}
{% if advntr_available and advntr_highlight %}

adVNTR Identified Variants

{{ advntr_highlight | safe }}
{% else %}

adVNTR genotyping was not performed or no adVNTR results are available.

{% endif %}

IGV Alignment Visualization

Pipeline Log

{{ log_content }}