Carrion-lab / bacLIFE

23 stars 3 forks source link

Error in rule rename_MEGAMATRIX #8

Closed Redmattski closed 3 months ago

Redmattski commented 3 months ago

Running this on Arch Linux and this is failing in the rule rename_MEGAMATRIX phase. I have not been able to identify what is driving this.

Any help appreciated, log file attached

2024-04-28T215049.881236.snakemake.log

gguerr001 commented 3 months ago

Probably the error you got has to be with some missmatch in the names of the genomes. The column names in the file MEGAMATRIX.txt should be the same as in the bacLIFE_name column in the names_equivalence.txt file. You can try to manually run the code src/rename_MEGAMATRIX.R in Rstudio to see where exactly is the error (can't see any specific error in the snakemake log). To do this you can replace the arguments in the script as follow:

In addition, if you share the "names_equivalence.txt" file I can check if there is any genome name that could be conflictive because of special characters

Redmattski commented 3 months ago

Thanks for the pointers - the issue was related to an issue I had introduced to the "names_equivalence.txt". I am rerunning with a slightly different data scope to avoid the issue and will confirm this is not a problem once the run has completed.

Redmattski commented 3 months ago

This is working as expected - thanks