add sam/cram support for name collating alignment input via io_lib