ported useful scripts from QIIME