{% extends "base.html" %} {% block content %}

Table of contents

  1. Report Summary
  2. Input files
  3. Sequence length distribution
  4. Metadata description
  5. Filtered sequences
  6. Final IDs
  7. Report metadata

1. Report Summary

FASTA files: {{ summary.fasta_file_count }}
Metadata files: {{ summary.metadata_file_count }}

Total sequences: {{ summary.total_sequences }}

Filters: {{ summary.filters }}
Filtered: {{ summary.filtered_count }}

Unique locations: {{ summary.locations }}

Date range: {{ summary.date_range }}

2. Input files

{{ fasta_summary }}

{% for row in records_summary %} {% set file_block = (seq_details_by_file | selectattr('file', 'equalto', row.file) | list | first) %}
FileSeqsLength (min)Length (max)Length (mean)N (min)N (max)N (mean)
{{ row.file }} {{ row.sequences }} {{ row.len_min }} {{ row.len_max }} {{ row.len_mean }} {{ row.n_min }} {{ row.n_max }} {{ row.n_mean }}
{% if file_block %}
{% for detail in file_block.details %} {% set key = file_block.file ~ '::' ~ detail.id %} {% set is_filtered = key in filtered_keys %} {% endfor %}
IDLengthN contentStatus
{{ detail.id }} {{ detail.length }} {{ detail.n_content | round(4) }} {{ 'filtered' if is_filtered else 'kept' }}
{% endif %}
{% endfor %}

{{ metadata_summary }}

{% if metadata_tables %} {% for table in metadata_tables %} {% endfor %} {% else %}

No metadata tables available.

{% endif %}

3. Sequence length distribution

{% if length_plot_html %}

Distribution of sequence lengths across all input FASTA files. If a minimum length threshold is specified, it will be shown in the plot.

{{ length_plot_html | safe }} {% else %}

No length data available for plotting.

{% endif %}

4. Metadata description

Unique locations: {{ summary.locations }}

Date range: {{ summary.date_range }}

{% if dataset_plot_html %}

Date distribution by location.

{{ dataset_plot_html | safe }} {% else %}

No date/location data available for plotting. To include this information, ensure your metadata files contain valid date and location fields and specify the date and location columns when running raccoon.

{% endif %}

5. Filtered sequences

{% if filter_failures_table %}

The following sequences failed the length or N-content filters and will not be present in the output FASTA file:

{% for header in filter_failures_table.headers %} {% endfor %} {% for row in filter_failures_table.rows %} {% for cell in row %} {% endfor %} {% endfor %}
{{ header }}
{{ cell }}
{% else %}

No sequences failed length or N-content filters.

{% endif %}

6. Final dataset

{% for row in final_rows %} {% endfor %}
IDLengthN content
{{ row.id }} {{ row.length }} {{ row.n_content }}

7. Metadata issues

{% if metadata_issues_table %}
{% for header in metadata_issues_table.headers %} {% endfor %} {% for row in metadata_issues_table.rows %} {% for cell in row %} {% endfor %} {% endfor %}
{{ header }}
{{ cell }}
{% else %}

No metadata issues detected.

{% endif %}
{% endblock %}