wrote converter from sam to HMMoC format, not fully tested yet