franciscozorrilla / metaGEM

:gem: An easy-to-use workflow for generating context specific genome-scale metabolic models and predicting metabolic interactions within microbial communities directly from metagenomic data
https://franciscozorrilla.github.io/metaGEM/
MIT License
203 stars 42 forks source link

Fix an issue with metabat2 #98

Closed Xentrics closed 2 years ago

Xentrics commented 2 years ago

In combination with the CrossMapParallel workflow, the 'rule metabat' has to be used (instead of metabatCross). This rule failed due to a 'too many positional arguments' error in metabat2. The current interfact of metabat2 does not support to directly supply mapping files. Instead, the mapping file is first converted to a depth file, the latter is used then directly with metabat2.