Closed cajwalsh closed 1 year ago
It looks like in nextflow there's no way to fail in a way that I would consider graceful. I can provide a better message, but there's no way to avoid seeing the whole ugly error screen including the script contents and everything.
You can see in the "command error" section, it's now more informative, but there's still all that other garbage.
Following up on our conversation from earlier, you mentioned it would be nice to program in a graceful fail when there are no sequences that pass the primer check in ngsfilter. I decided to run eDNAFlow on a COI library using a 12S marker to check if some 12S amplicon contamination might have ended up in the sequencing run too. After making it through ngsfilter with empty files, eDNAFlow got through "merging" all "files" before vsearch couldn't find any fasta sequences to start dereplicating. If you want the eDNAFlow files/folder/output, they're on kinilau: /home/cajw/working/eDNA/contam_tests/NIUE