osc-em / converter-JSON-to-mmCIF

Converter for JSON schema to mmCIF for PDB
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Converter for JSON schema to mmCIF for PDB

This repository implements a file converter JSON <--> PDBx/mmCIF. The JSON schema is defined in OSCEM repo and the PDBx/mmCIF format in (PDBML Schema v50 ).

The file mapper.tsv is produced by extracting two relevant columns from conversions in OSCEM. This file is required to run the Go code.

To convert JSON into mmCIF:

go run converter.go .../OSCEM_Schemas/Instrument/test_data_valid.json .../OSCEM_Schemas/Sample/Sample_valid.json mapper.tsv output.cif

TBA