-
Notifications
You must be signed in to change notification settings - Fork 6
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
NameError when using coolfiles on the server #10
Comments
Mh I thought I had fixed this already... Try now? Just pushed a fix I think. |
Thanks for a rapid responce! This error now eliminated. Now transitions to another error! |
OK, I'd say for now you can just comment out that whole for loop, it's really not essential... The easiest solution at the moment. |
I have to say, I have a lot of changes planned in this branch: https://github.com/open2c/quaich/tree/pentads-sample-grouping |
Hello and thanks for the advice to check other branch! Swapping .keys for .values in line 106 (at the start of the loop) worked. It was kinda obvious in hindsight and I shouldn't have bothered you. Additionally, I would like to give a little feedback. I think there should be an explicit switch in config file that you use to declare whether you will use additional annotation files or not. |
Good catch! Thanks, indeed the mechanism for configuring that is so far missing... It has already been suggested to look into it in one of the earlier issues, but I haven't implemented anything yet. |
I just used empty dummy files so that the pipeline would not complain. Maybe mention in readme that annotations.tsv should contain at least one non-empty line, and if you don't need annotation - point it to an empty file? |
For now I just switch off pileups, since the annotations are only used for them... And leave the file as it is. And in the new branch mentioned above this doesn't stop TAD/loop pileups from being created. But for sure I'll make it more user-friendly for this in the future! |
Found another interesting tidbit: if one of the samples isn't named test_cool dry-run fails with this message: |
Ummm I'm not sure what you mean, I've run this many times with samples with other names... You just need to be consistent in naming across the config and files. For example, if you have the call_TADs section enabled, it'll expect, by default, a sample named test_cool. |
Oh I see. I dang goofed up there, haven't I |
Hello! Dry-run of quaich when using local coolfiles fails with the following error:
NameError in file /home/user/quaich/workflow/Snakefile, line 109:
name 'clr' is not defined
File "/home/user/quaich/workflow/Snakefile", line 109, in
ERROR:snakemake.logging:NameError in file /home/user/quaich/workflow/Snakefile, line 109:
name 'clr' is not defined
This has been observed on the latest version of quaich, where the test case ran successfully.
The coolfiles were produced by the recent version of the distiller pipeline.
It happens without the regards of actual position of the file - even in the inputs_folder/coolers in the quaich directory - or if we use relative or complete path.
Steps to replicate - write file path into samples.tsv, delete two other .tsv files without changing any configs.
The text was updated successfully, but these errors were encountered: