Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
So, we ideally want the snakemake system up and running, but this is just a quick draft of a simpler system that we might use. It does require the manual creation of a batch file specifying parameter combinations for different jobs, but that may be a useful starting point.
The basic idea is that a user creates a batch file in an empty directory on the HPC and then runs this tool, pointing to the batch file. That then sets multiple array jobs running, iterating over the batches. Linking into the discussion on #165, the basic idea here is to have a file structure like this:
You would run the job by doing:
That would then load the TOML config, work out how many array jobs to run and then queue those jobs. Each job would then run the specific config options and direct the outputs to the correct directories.
I'm mostly banking my quick thoughts here as a sketch for now, so this is either a post MVP task or a sketch for someone else to turn into a complete picture. Although the discussion in #165 makes the directory structure and approach a much more live question.