diff --git a/cap2/pipeline/short_read/humann2.py b/cap2/pipeline/short_read/humann2.py index 39e2460..fc8dc20 100644 --- a/cap2/pipeline/short_read/humann2.py +++ b/cap2/pipeline/short_read/humann2.py @@ -98,7 +98,7 @@ def __init__(self, *args, **kwargs): self.alignment = MicaUniref90.from_cap_task(self) def tool_version(self): - return self.run_cmd(f'{self.pkg.bin} --version').stderr.decode('utf-8') + return self.run_cmd(f'{self.humann.bin} --version').stderr.decode('utf-8') def requires(self): return self.humann, self.alignment, self.db