This example shows how to read in a FASTA to structure metadata and write to a JSON file.
prompt> fasta_to_structmeta.py seq.fasta chainIDs output.JSON
Download code
fasta_to_structmeta.py