Skip to content
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

write_clusters_from_nc_folders exit with error on SLURM but ran successfully on command line #319

Open
WeimingWHu opened this issue May 10, 2024 · 1 comment

Comments

@WeimingWHu
Copy link

For the avamb workflow, "write_clusters_from_nc_folders" exit with error when running as a SLURM job. the error messages as follow:
(one of the commands exited with non-zero exit code; note that snakemake uses bash strict mode!)
I could not track down what is the problem, as the "final_avamb_clusters_written.log" file is empty.
But when I ran this on interactive session, it finished without error.
Maybe there is a minor bug somewhere in the script "write_clusters_from_dereplicated_and_ripped_bins.sh", it did not produce avamb_manual_drep_disjoint_clusters.tsv and the next step that remove all the tmp files around.

@Paupiera
Copy link
Member

Paupiera commented Aug 4, 2024

Hi,

Apologies for the late reply. It is not the first time we have encountered issues while executing bash scripts. I have replaced the bash script with a Python script, it would be great if you could give it a try since we do not use SLURM in our machines. Please let me know how it goes with the new script.

Best,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants