alignment directory should have been absolute
obviously wrong tmpdir solution now fixed