aMeta icon indicating copy to clipboard operation
aMeta copied to clipboard

Error in rule Plot_Authentication_Score when using FULL NCBI database

Open npsonis opened this issue 1 year ago • 20 comments

Hi, I got the following error Error in rule Plot_Authentication_Score: jobid: 15 input: results/AUTHENTICATION/.30012ssL12c.collapsed_done output: results/overview_heatmap_scores.pdf log: logs/PLOT_AUTHENTICATION_SCORE/plot_authentication_score.log (check log file(s) for error details) conda-env: /aMeta/.snakemake/conda/55e1a8bf92c9925034725aa9b149b81b_ shell: Rscript /aMeta/workflow/scripts/plot_score.R results/AUTHENTICATION $(dirname results/overview_heatmap_scores.pdf) &> logs/PLOT_AUTHENTICATION_SCORE/plot_authentication_score.log (one of the commands exited with non-zero exit code; note that snakemake uses bash strict mode!)

and then KrakenUniq_AbundanceMatrix also failed

Error in rule KrakenUniq_AbundanceMatrix: jobid: 11 input: results/KRAKENUNIQ/30012ssL12c.collapsed/krakenuniq.output.filtered output: results/KRAKENUNIQ_ABUNDANCE_MATRIX, results/KRAKENUNIQ_ABUNDANCE_MATRIX/unique_species_taxid_list.txt, results/KRAKENUNIQ_ABUNDANCE_MATRIX/unique_species_names_list.txt, results/KRAKENUNIQ_ABUNDANCE_MATRIX/krakenuniq_abundance_matrix.txt, results/KRAKENUNIQ_ABUNDANCE_MATRIX/krakenuniq_absolute_abundance_heatmap.pdf log: logs/KRAKENUNIQ_ABUNDANCE_MATRIX/KRAKENUNIQ_ABUNDANCE_MATRIX.log (check log file(s) for error details) conda-env: /aMeta/.snakemake/conda/55e1a8bf92c9925034725aa9b149b81b_ shell: Rscript /aMeta/workflow/scripts/krakenuniq_abundance_matrix.R results/KRAKENUNIQ results/KRAKENUNIQ_ABUNDANCE_MATRIX 250 50 &> logs/KRAKENUNIQ_ABUNDANCE_MATRIX/KRAKENUNIQ_ABUNDANCE_MATRIX.log;Rscript /aMeta/workflow/scripts/plot_krakenuniq_abundance_matrix.R results/KRAKENUNIQ_ABUNDANCE_MATRIX results/KRAKENUNIQ_ABUNDANCE_MATRIX &> logs/KRAKENUNIQ_ABUNDANCE_MATRIX/KRAKENUNIQ_ABUNDANCE_MATRIX.log (one of the commands exited with non-zero exit code; note that snakemake uses bash strict mode!)

The log files state:

plot_authentication_score.log Error in names(score_per_sample[[i]]) <- *vtmp* : attempt to set an attribute on NULL Execution halted

KRAKENUNIQ_ABUNDANCE_MATRIX.log [1] X. reads taxReads kmers dup cov taxID rank
[9] taxName SAMPLE
<0 rows> (or 0-length row.names) Error in [<-(*tmp*, i, j, value = 0) : subscript out of bounds Execution halted

Any advise?

npsonis avatar Oct 05 '23 14:10 npsonis