Convert convert_biom.py to pyqi

This one was "fun"