Russel88 / MAGinator

MAGinator - Accurate SNV calling and profiling of MAGs
MIT License
16 stars 1 forks source link

Split pipelines #13

Open jsgounot opened 2 months ago

jsgounot commented 2 months ago

Hi,

Is there a way to run each snakemake pipeline individually? I understand the appeal of making one big executable that can run everything, but a more granulated approach would allow users to directly interface with snakemake arguments, which can be important in some cluster contexts. An example, using conda-prefix to avoid installing environments into the base directory.

Regards, JS

Russel88 commented 1 month ago

Hi JS

You can always run the snakefiles in MAGinator/maginator/workflow/*.Snakefile individually using the -s argument in snakemake, but then you need to add all the required inputs with --config, which can be cumbersome.

I think the best solution is that we add an argument for maginator which adds arguments to the snakemake command. Then, if you want to run each snakemake pipeline individually, you can use the --snake argument in maginator.

jsgounot commented 1 month ago

Hi Russel, sounds good!