Skip to content

Instantly share code, notes, and snippets.

@cmungall
Created March 30, 2014 01:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cmungall/9865976 to your computer and use it in GitHub Desktop.
Save cmungall/9865976 to your computer and use it in GitHub Desktop.
save-in-all-formats
#!/bin/sh
if [ -e catalog-v001.xml ]
then
X='--use-catalog'
else
X=""
fi
F=$1;
owltools $X $1 -o $F.owl -o -f ofn $F.ofn -o -f omn $F.omn -o -f ttl $F.ttl -o -f obo --no-check $F.obo
du -sh $F.*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment