-
Notifications
You must be signed in to change notification settings - Fork 1
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
MTase linker adding spaces to output results for most jobs in workflow. #65
Comments
Hey Osvatic It seems to be a problem with the naming of the assembly file. In the snakemake script, the name of the assembly file is used as a basename for the generated files.
I tested your folder structure and naming locally, and I do not get any errors, when running MTase linker in v0.4.11. This was the command I ran:
Are you using python=3.9 in your environment? Also, maybe try renaming your assembly file to check if this resolves the problem. Please let me know if it works :-) Sorry for the late response -> vacation and conference. Best Jeppe |
Hey, The error persists if I change the file name (tried several random names with .fa at the end). The run environment is using python 3.12.4. I tested a downgraded environment with python version 3.10. This does fix the previously mentioned error but the snakemake then fails on "motif_assignment" (see attached log) 2024-09-04T133333.517982.snakemake.log What python version should I officially be using for now, and for future tests? |
Hey again, We have now updated the dependency version requirements, and soon Nanomotif v.0.4.12 should be available via bioconda. If you install nanomotif v.0.4.12 following the installation guidelines, then everything should run smoothly. conda create -n nanomotif python=3.9
conda activate nanomotif
conda install -c bioconda nanomotif Nanomotif was developed using python 3.9, and therefore we recommend creating a conda environment with python=3.9. I see that the MTase-linker module is not quite compatible with the newest snakemake v8. and python v3.12. We will look into this. I hope this was helpful. Best Jeppe |
Hey, It looks like conda create installs 0.4.11 and that fails with the python restrictions. We switched to PyPi to install 0.4.12 which works with python 3.9. Unfortunately, that produces the same error as previously mentioned. |
UPDATE: Current Solution: In the meantime, the PyPI installation of Nanomotif 0.4.12 with Python 3.9 should work. I have conducted multiple tests locally, and it works fine for me. We appreciate you taking the time to post these issues. I will let you know when nanomotif can be installed via conda again. |
Hey Jay We have updated the installation recommendations. conda create -n nanomotif python=3.12
conda activate nanomotif
conda install -c bioconda nanomotif Also, we have included a installation check in the Moreover, we have included a small test dataset in the "nanomotif/nanomotif/datasets" path: https://github.com/MicrobialDarkMatter/nanomotif/tree/main/nanomotif/datasets I believe, the second error you experienced might be due to a wrongly formated bin_contig file. You can use this dataset to test this issue. |
I am currently trying to run MTase linker in v0.4.11. The snakemake commands are failing because spaces are introduced through the workflow. These spaces make all jobs fail.
Command ran:
Issue:
Snippet 1 (warning snakemake version ):
Snippet 2 (actual error in snakemake job):
log:
2024-08-05T174304.626493.snakemake.log
The text was updated successfully, but these errors were encountered: