@@ -21,6 +21,7 @@ A comprehensive toolkit for integrating structural models into the AlphaFold Dat
2121 - [ Quick Start] ( #quick-start )
2222 - [ Verify Installation] ( #verify-installation )
2323 - [ Basic Usage Example] ( #basic-usage-example )
24+ - [ Validate Example Outputs] ( #validate-example-outputs )
2425 - [ Usage] ( #usage )
2526 - [ ModelCIF Generator] ( #modelcif-generator )
2627 - [ CIF to BCIF Converter] ( #cif-to-bcif-converter )
@@ -274,6 +275,44 @@ uv run main.py run-dssp \
274275 -o output/AF-0000000000000001-model-v1.cif
275276```
276277
278+ ### Validate Example Outputs
279+
280+ The committed end-to-end examples under [ ` examples/ ` ] ( examples/README.md )
281+ can be validated directly from the repo root. Use ` model-summary ` for committed
282+ e2e ` model_jsons/*.json ` ; the canonical ` model ` schema remains reserved for
283+ full model metadata entries and ` AF-metadata-*-of-*.json ` batches.
284+
285+ ``` bash
286+ # Summary and provider metadata JSONs
287+ .venv/bin/python main.py run-schema-validation \
288+ -i examples/colabfold_monomer_e2e/model_jsons/AF-0000000300000001.json \
289+ -t model-summary
290+ .venv/bin/python main.py run-schema-validation \
291+ -i examples/colabfold_monomer_e2e/config/provider.json \
292+ -t provider
293+
294+ # Score JSONs and confidence/PAE relationship
295+ .venv/bin/python main.py validate-plddt-file \
296+ --file examples/colabfold_monomer_e2e/scores/AF-0000000300000001-confidence_v1.json
297+ .venv/bin/python main.py validate-pae-file \
298+ --file examples/colabfold_monomer_e2e/scores/AF-0000000300000001-predicted_aligned_error_v1.json
299+ .venv/bin/python main.py validate-relationships-pair \
300+ --plddt-file examples/colabfold_monomer_e2e/scores/AF-0000000300000001-confidence_v1.json \
301+ --pae-file examples/colabfold_monomer_e2e/scores/AF-0000000300000001-predicted_aligned_error_v1.json
302+
303+ # ModelCIF dictionary validation
304+ gemmi validate -p -d mmcif_ma.dic \
305+ examples/colabfold_monomer_e2e/modelcif/AF-0000000300000001-model_v1.cif
306+ ```
307+
308+ For manual coordinate-file sanity checks, open representative PDB, ModelCIF,
309+ and BCIF files in the Mol* web viewer at https://molstar.org/viewer/ . Drag and
310+ drop the files into the browser window, or use ** Open Files** in the left
311+ panel. The structure should open correctly, no error messages should be shown
312+ in the viewer, and the structure should look structurally correct by eye. The
313+ same representative files can also be opened in ChimeraX or PyMOL; expect a
314+ clean import with no parser errors.
315+
277316## Usage
278317
279318### ColabFold conversion
@@ -420,11 +459,13 @@ Use these commands to sanity-check individual artifacts or entire datasets befor
420459
421460#### Schema Validation
422461
423- Validate metadata JSON files ( ` model ` or ` provider ` ) against the required JSON schemas to ensure data consistency and compliance.
462+ Validate metadata JSON files against the required JSON schemas to ensure data consistency and compliance.
424463
425464** Schemas:**
426465
427- * Model: ` afdb_integration_kit/metadata/resources/model_schema.json `
466+ * Model: ` afdb_integration_kit/metadata/resources/model_schema.json ` for full model metadata entries and batches
467+ * Model summary: ` afdb_integration_kit/metadata/resources/model_summary_schema.json ` for e2e ` model_jsons/*.json ` and search summary documents
468+ * Collection doc: ` afdb_integration_kit/metadata/resources/collection_doc_schema.json ` for e2e ` chain_jsons/*.json ` and collection documents
428469* Provider: ` afdb_integration_kit/metadata/resources/provider_schema.json `
429470
430471** Command:**
@@ -436,12 +477,14 @@ uv run main.py run-schema-validation -i <metadata_json_file> -t <type>
436477** Parameters:**
437478
438479* ` -i, --input ` : Path to the metadata JSON file to validate
439- * ` -t, --type ` : Type of metadata to validate (` model ` or ` provider ` )
480+ * ` -t, --type ` : Type of metadata to validate (` model ` , ` model-summary ` , ` collection-doc ` , or ` provider ` )
440481
441482** Examples:**
442483
443484``` bash
444485uv run main.py run-schema-validation -i model.json -t model
486+ uv run main.py run-schema-validation -i model_summary.json -t model-summary
487+ uv run main.py run-schema-validation -i collection_doc.json -t collection-doc
445488uv run main.py run-schema-validation -i provider.json -t provider
446489```
447490
0 commit comments