{% extends 'base.html' %} {% load static %} {% block content %}

{{ record.project.code }} / {{ record.get_kind_display }}

{{ record.name }}

{% if can_edit %}Edit record{% endif %}

{{ record.local_id }}

{% if record.archived %}

This record is archived.

{% endif %}

Record information

Species / Strain
{{ record.species|default:'—' }} / {{ record.strain|default:'—' }}
Birth date
{{ record.birth_date|default:'—' }}
Event / Operator
{{ record.event_date|default:'—' }} / {{ record.performed_by|default:'—' }}
Barcode / Platform
{{ record.barcode|default:'—' }} / {{ record.platform|default:'—' }}
Status
{{ record.get_status_display }}
Genotype / Sex
{{ record.genotype|default:'—' }} / {{ record.sex|default:'—' }}
Tissue / Assay
{{ record.tissue|default:'—' }} / {{ record.assay|default:'—' }}
Version
{{ record.version|default:'—' }}
Storage
{{ record.storage_location|default:'—' }}
File_URL
{{ record.file_uri|default:'—' }}
Checksum
{{ record.checksum|default:'—' }}

{{ record.notes|linebreaksbr }}

Conditions

{% for c in record.conditions.all %}

{{ c.treatment }} · {{ c.dose }} · {{ c.timepoint }} · {{ c.cohort }}

{% empty %}

No conditions recorded.

{% endfor %} {% if can_edit %}
Add condition
{% csrf_token %}{{ condition_form.as_p }}
{% endif %}
{% if record.omics %}

File checksums

MD5 values are stored declarations. Files have not been read or verified.

{% for item in record.file_checksums %}

{{ item.label }}: {{ item.file }} · {{ item.md5|default:'—' }} · {{ item.status }}

{% endfor %} {% if record.omics.Checksum %}

Legacy Checksum: {{ record.omics.Checksum }} · unverified; corresponding file unspecified.

{% endif %}

Submission fields

{% for field,value in record.omics.items %}
{% if field == 'File_uri' %}File_URL{% else %}{{ field }}{% endif %}
{{ value|default:'—' }}
{% endfor %}
{% endif %} {% include 'relationship_trees.html' %}

Data lineage

Arrows run from source to output. Click a node to open its record. Conditions above belong to this record.

Downstream outputs

Confirmed processed results for this data record.

{% for item in processed_outputs %}

RNA-seq processed result{% if item.payload.normalization %} · {{ item.payload.normalization }}{% endif %}

Data name: {{ item.payload.data_name }} · Sample: {{ item.payload.sample_name }} · Confirmed {{ item.created_at }}

{% endfor %} {% if outgoing %}

Downstream data records

{% for e in outgoing %}

{{ e.target.name }} · {{ e.get_relation_display }}

{% endfor %}{% endif %} {% if not processed_outputs and not outgoing %}

No confirmed downstream outputs recorded.

{% endif %}
{% endblock %}