pull request from wtsi devel to master - release 56.3

added check for alignments, reference and library_type to can_run()