OctopuSV Analysis Report

Generated on: {{ generation_date }}

Sample ID: {{ sample_id }}

Input Information

Input File {{ input_file }}
Output File {{ output_file }}

SV Type Distribution

{% for type, (count, percentage) in sv_types.items() %}
{{ type }}
{{ count }}
{{ "%.2f"|format(percentage) }}%
{% endfor %}

Size Statistics

Total SVs
{{ total_svs }}
Size Range
{{ min_size }} - {{ max_size }} bp
Mean Size
{{ "%.2f"|format(mean_size) }} bp

Size Distribution

{% for range, count in size_distribution.items() %}
{{ range }}
{{ count }}
{% endfor %}

Quality Metrics

Average QUAL
{{ "%.2f"|format(avg_qual) }}
Average Read Support
{{ "%.2f"|format(avg_read_support) }}

Filter Status

{% for status, (count, percentage) in filter_status.items() %}
{{ status }}
{{ count }}
{{ "%.2f"|format(percentage) }}%
{% endfor %}

Genotype Distribution

{% if sample_genotypes %} {% for sample_name, genotypes in sample_genotypes.items() %}
{{ sample_name }} Genotypes
{% for genotype, (count, percentage) in genotypes.items() %}
{{ genotype }}
{{ count }}
{{ "%.2f"|format(percentage) }}%
{% endfor %}
{% endfor %} {% if population_genotypes %}

Overall Population

{% for genotype, (count, percentage) in population_genotypes.items() %}
{{ genotype }}
{{ count }}
{{ "%.2f"|format(percentage) }}%
{% endfor %}
{% endif %} {% elif genotype_dist %}
{% for genotype, (count, percentage) in genotype_dist.items() %}
{{ genotype }}
{{ count }}
{{ "%.2f"|format(percentage) }}%
{% endfor %}
{% else %}
No genotype data available
{% endif %}
{% if sv_distribution_plot_base64 %}

Structural Variant Distribution

SV Distribution Plot

Distribution of structural variants by type

{% endif %} {% if chromosome_coverage_plot_base64 %}

Chromosome Coverage

Chromosome Coverage Plot

Coverage distribution across chromosomes

{% endif %} {% if size_distribution_plot_base64 %}

Size Distribution

Size Distribution Plot

Size distribution of detected structural variants

{% endif %} {% if additional_plots %}

Additional Analysis

{% for plot in additional_plots %}
{{ plot.title }}

{{ plot.description }}

{% endfor %}
{% endif %}