// Load the FFX libraries. %use @file[ffx.json] // Download a PDB file. val pdb = downloadPDB("2jof") // Run the Force Field X Energy script. ffxScript(arrayOf("Energy", pdb))