-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Workflows #788
Conversation
This file contains 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
This makes it much easier to understand the directory structure for each workflow.
Since we use these functions in workflows that are not in the anvio repository (like `export_locus.snake`), then I wish to keep them for now, and maybe forever.
of course, we can't do anything with them, but just listing them is also nice.
and also added flag references_mode to the config to be more verbose about it.
this option is there so we could check if a param was set by the user.
and should be a localrule
Now you can save a default config file for a workflow (but the only the contigs default config is actually accurate) You can list the available workflows In addition, contigs workflow now works and has been tested.
it's late, what do you want????
let's use this flag to let user define a config file path. one stone two birds.
- no more output file argument, because now the get-default-config requires a filename argument. - removing the entire if block to export default config into the base class. if the parameter set, it will save the default config for whicever workflow is set, and exit.
I commented out the dry-run steps because they actually start running things and I don't want that yet.
For now, it doesn't do anything yet, but at least the purpose is clear.
also, if the user set the value to a boolean False then don't return the default. This fixes that behavior
any other value will result in a negative result. maybe we should put a warning that the value should be either boolean true or false.
if user asked to save workflow graph we will also set `dry_run_only` to True
@meren, please tell me if this makes sense to you. The idea is that this would allow us to run: ``` anvi-run-snakemake-workflow -w contigs -c config.json --additional-params '--clustetr "-n {threads} -log {log}" --resources nodes=60'
This reverts commit 9a50aeb.
This is how I had to solve this. following an advice in the discussion here: https://bugs.python.org/issue9334
@meren, I tested it on barhal to see that the |
This is very happy news, Alon! Thank you very much. |
:-) Thanks! |
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.
I think it is stable enough to be merged with master