Usage with 'http' (HTTPie): http -f http://api.x3dna.org/snap [options] url=|model@ http http://api.x3dna.org/snap/help -- display this help message Options: json=true-or-FALSE(default) [e.g., json=true # JSON output] hbond=true-or-FALSE(default) [e.g., hbond=t # H-bonding info] Required parameter: url=URL-to-coordinate-file [e.g., url=https://files.rcsb.org/download/1oct.pdb.gz] model@coordinate-file [e.g., model@1oct.cif] # Only one must be specified. 'url' precedes 'model' when both are specified. # The coordinate file must be in PDB or PDBx/mmCIF format, optionally gzipped. Examples: http -f http://api.x3dna.org/snap url=https://files.rcsb.org/download/1oct.pdb.gz http -f http://api.x3dna.org/snap model@1oct.cif json=1 # with 'curl' curl http://api.x3dna.org/snap -F 'url=https://files.rcsb.org/download/1oct.pdb.gz' curl http://api.x3dna.org/snap -F 'model=@1oct.cif' -F 'json=1' Note: The web API has an upper limit on coordinate file size (gzipped): < 6 MB