make biom strings pep8-compatible, fix cogent import

Thanks @josenavas!