Created
April 16, 2016 07:18
-
-
Save jhjensen2/38e77fb201165779f486c45c4fbfccc1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/csh | |
# Molget: cshell script to get coordinates from chemical name using Babel and Cactus | |
# usage: ./molget methane | |
# (remember to "chmod 755 molget) | |
# | |
set molecule = $argv[1] | |
curl https://cactus.nci.nih.gov/chemical/structure/$molecule/smiles -o $molecule.smi | |
babel -ismi $molecule.smi -oxyz $molecule.xyz --gen3D |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Github: https://github.com/jensengroup/molget