rough organism merge script, ported from an notebook
cleanup, before revising merge code