diff --git a/templates/cx_data_quality.j2 b/templates/cx_data_quality.j2 new file mode 100644 index 00000000..77592a65 --- /dev/null +++ b/templates/cx_data_quality.j2 @@ -0,0 +1,92 @@ +{% if enable_cx %} +
+ +
+ +
+
+
+ Crosslinking-MS +
+

+ At the moment, data validation is only available for crosslinking-MS datasets deposited in a standardized mzIdentML format to PRIDE. +

+ {% if cx_data_quality|length > 0 %} + {% for data in cx_data_quality %} +
1 }}> + + + + + + + + + + + + + + + + + + + + + + + + + +
Crosslinking-MS dataset (PRIDE ID){{ data["pride_id"] }}
Number of entities in the crosslinking-MS dataset:{{ data['entities_ms'] }}
Number of entities in the entry:{{ data['entities'] }}
Matching entities:
+
+ + + + + + + + {% for match in data['matches'] %} + + + + + + + {% endfor %} +
Entity IDCrosslinking-MS Entity IDE-valueExact_match
{{ match['entity'] }}{{ match['entity_ms'] }}{{ match['e-value'] }}{{ match['exact_match'] }}
+
+
Residue pairs stats:
+
+ + + + + + + + + + + + + + + + + + + +
SourceTotalIn matched entitiesTotal matched
Crosslinking-MS dataset{{ data['stats']['ms']['total'] }}{{ data['stats']['ms']['mapped_entities'] }} ({{ "%.2f"|format(data['stats']['ms']['mapped_entities_pct']) }}%){{ data['stats']['ms']['matched'] }} ({{ "%.2f"|format(data['stats']['ms']['matched_pct']) }}% )
Entry{{ data['stats']['entry']['total'] }}{{ data['stats']['entry']['mapped_entities'] }} ({{ "%.2f"|format(data['stats']['entry']['mapped_entities_pct']) }}%){{ data['stats']['entry']['matched'] }} ({{ "%.2f"|format(data['stats']['entry']['matched_pct']) }}%)
+
+
+
+ {% endfor %} + {% endif %} +
+
+
+
+{% endif %}