theiagen / public_health_bioinformatics

Bioinformatics workflows for genomic characterization, submission preparation, and genomic epidemiology of pathogens of public health concern.
GNU General Public License v3.0
36 stars 17 forks source link

TheiaCoV_ONT workflow fails to complete when read screening fails #270

Closed emmadoughty closed 8 months ago

emmadoughty commented 8 months ago

:bug:

:pencil: Describe the Issue

When TheiaCoV_ONT is run for flu (and maybe other organisms?), if the sample does not pass the read screening, the workflow fails and no information about reasons for failure is output to the Terra table.

:repeat: How to Reproduce

:fishing_pole_and_fish: Expected Behavior

Expect for the workflow to complete successfully, but for a read screening column to be created in the Terra data table that shows that read screening has failed. This should be for flu but also for other organisms

:floppy_disk: Version Information

TheiaCoV_ONT, main (27/11/23)

❗ Exact error message

Failed to evaluate 'theiacov_ont.assembly_fasta' (reason 1 of 1): Evaluating select_first([consensus.consensus_seq, irma.irma_assembly_fasta, ""]) failed: Cannot coerce the empty String value "" into a File.