Closed pragermh closed 1 year ago
The problem seems to be that barrnap is not able to predict anything for these sequences, leading to a summary.tsv file that is empty except for the header. This makes bin/sbdiexportreannotate.R crash. I can fix bin/sbdiexportreannotate.R so it can handle an empty barrnap file, but was wondering if it's better to not create a summary file at all if the barrnap gff files are all empty? Or is there a better way to handle this?
Re-running analysis with skip_barrnap: true
now, to help confirm your conclusion.
Run with skip_barrnap: true
finished Mar-07 12:29:44.043 [main] INFO nextflow.Nextflow - -[nf-core/ampliseq] Pipeline completed successfully-
but I still don't get any SBDI export files.
Run with
skip_barrnap: true
finishedMar-07 12:29:44.043 [main] INFO nextflow.Nextflow - -[nf-core/ampliseq] Pipeline completed successfully-
but I still don't get any SBDI export files.
The SBDI-export process is not run if barrnap is skipped - the two options should probably not be allowed at the same time...
The problem seems to be that barrnap is not able to predict anything for these sequences, leading to a summary.tsv file that is empty except for the header. This makes bin/sbdiexportreannotate.R crash. I can fix bin/sbdiexportreannotate.R so it can handle an empty barrnap file, but was wondering if it's better to not create a summary file at all if the barrnap gff files are all empty? Or is there a better way to handle this?
@d4straub , @erikrikarddaniel Do you have any comments on this?
My opinion:
--filter_ssu
active (any value), filtering is enabled and here the pipeline would remove all sequences when receiving an empty summary.tsv
and an appropriate error would be nice.summary.tsv
, even if its empty, just to have that info readily available.I agree with what @d4straub says, and I think the SBDI export should work in line with that, i.e. not fail when no matches are found. It will always fail when the amplicon is not SSU rRNA.
So that seems fixed in dev?
So that seems fixed in dev?
Yes, fixed in PR #553
Description of the bug
Ampliseq fails when I try to re-annotate a set of ASVs in a fasta file (output.fasta) on UPPMAX/Rackham, using the latest ampliseq release: 2.5.0.
Command used and terminal output
nextflow run nf-core/ampliseq -r 2.5.0 -profile uppmax -params-file params.yaml
Relevant files
nextflow.log
System information
2.5.0 Run on UPPMAX/Rackham using UPPMAX profile