acid-thiol ligase activity [GO_0016878] - Virtual Fly Brain