We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7ce706 commit 36c6c84Copy full SHA for 36c6c84
modules/nf-core/busco/busco/main.nf
@@ -110,6 +110,12 @@ process BUSCO_BUSCO {
110
mv ${prefix}-busco/*/short_summary.*.{json,txt} . || echo "Short summaries were not available: No genes were found."
111
mv ${prefix}-busco/logs/busco.log ${prefix}-busco.log
112
113
+ if grep 'Run failed; check logs' ${prefix}-busco.batch_summary.txt > /dev/null
114
+ then
115
+ echo "Busco run failed"
116
+ exit 1
117
+ fi
118
+
119
cat <<-END_VERSIONS > versions.yml
120
"${task.process}":
121
busco: \$( busco --version 2> /dev/null | sed 's/BUSCO //g' )
0 commit comments