{% extends "base.html" %} {% set active_page = 'files' %} {% block title %}{{ file.filename | default('File Details') }} - Ursa Customer Portal{% endblock %} {% block content %}
Back to File Registry

File Information

S3 URI {{ file.s3_uri }}
Format {{ file.file_format | upper }}
File Size {{ file.file_size_bytes | filesizeformat if file.file_size_bytes else 'Unknown' }}
MD5 Checksum {{ file.md5_checksum | default('Not computed') }}
Read Number {{ 'Read ' ~ file.read_number if file.read_number else 'N/A' }}
Paired File {% if file.paired_file_id %} {{ file.paired_filename | default(file.paired_file_id) }} {% else %} None {% endif %}
Registered {{ file.registered_at | default('N/A') }}
Last Updated {{ file.updated_at | default('N/A') }}
Tags
{% if file.tags %} {% for tag in file.tags %} {{ tag }} {% endfor %} {% endif %}

Subject Information

Biological Sex {{ file.bio_sex | default('Unknown') | capitalize }}
Date of Birth {{ file.dob | default('Not recorded') }}

Biosample Information

Sample Type {{ file.sample_type | default('N/A') | capitalize }}
Tissue Type {{ file.tissue_type | default('N/A') }}
Collection Date {{ file.collection_date | default('Not recorded') }}
Preservation {{ file.preservation_method | default('Fresh/None') | capitalize }}
Tumor Fraction {{ (file.tumor_fraction ~ '%') if file.tumor_fraction else 'N/A' }}

Sequencing Information

Platform {{ file.platform | default('N/A') | capitalize }}
Instrument {{ file.instrument_model | default('N/A') }}
Library Prep {{ file.library_prep | default('N/A') | capitalize }}
Read Length {{ (file.read_length ~ ' bp') if file.read_length else 'N/A' }}
Flowcell ID {{ file.flowcell_id | default('N/A') }}
Run Date {{ file.run_date | default('N/A') }}
{% if file.snv_vcf_path or file.sv_vcf_path %}

Control/Reference VCFs

SNV Control VCF {% if file.snv_vcf_path %} {{ file.snv_vcf_path }} {% else %} Not specified {% endif %}
SV Control VCF {% if file.sv_vcf_path %} {{ file.sv_vcf_path }} {% else %} Not specified {% endif %}
{% endif %}

Quick Actions

File Sets

{% if file.filesets %}
    {% for fs in file.filesets %}
  • {{ fs.name }} {{ fs.file_count }} files
  • {% endfor %}
{% else %}

Not in any file sets

{% endif %}

Workset History

{{ workset_history | length | default(0) }} workset{{ 's' if (workset_history | length | default(0)) != 1 else '' }}
{% if workset_history %}
{% for usage in workset_history %} {% endfor %}
Workset ID Usage Type State Added Actions
{{ usage.workset_id[:16] }}... {{ usage.usage_type | capitalize }} {{ usage.workset_state | default('Unknown') }} {{ usage.added_at | default('N/A') }} View
{% else %}

This file hasn't been used in any worksets yet

{% endif %}
{% endblock %} {% block extra_js %} {% endblock %}