Merge pull request #165 from wtsi-npg/devel

pull request from wtsi devel to master - release 77.1
Merge pull request #166 from wtsi-npg/master

pull request from wtsi master to devel (release 77.1)