fedarko / strainFlye

Pipeline for analyzing (rare) mutations in metagenome-assembled genomes
BSD 3-Clause "New" or "Revised" License
8 stars 1 forks source link

Splitting up commands into groups #6

Closed fedarko closed 2 years ago

fedarko commented 2 years ago

Many steps of the pipeline really include multiple steps, and it'd be nice to allow users to split these up. For example, smooth really has two parts:

I imagine that eventually someone's going to want to run step 2 without first running step 1 (e.g. LJA wasn't installed correctly, so step 2 failed, but there's no need to rerun step 1).

It's possible to set this up manually, but that might be a hassle. I think Click's group functionality should be able to handle this, but I am not very familiar with that so idk. Currently all of the commands are located in the strainflye "group", but presumably it's possible to put other groups within that (so the user could run a command like strainflye smooth to run both steps, or just strainflye smooth gen-reads or something).