tseemann / nullarbor

:floppy_disk: :page_with_curl: "Reads to report" for public health and clinical microbiology
GNU General Public License v2.0
134 stars 37 forks source link

Suggestion: Improved error messages for bad fastqs that cause problems #265

Open morganx opened 4 years ago

morganx commented 4 years ago

Hi Torsten, Thanks for making Nullarbor - we really like it. A small suggestion - we spent a while this week trying to figure out why Nullarbor was quietly dying during assembly without generating any helpful messages in the log files, and eventually figured out it was because one of the hundreds of isolates had a corrupt fastq input. Adding a couple of lines of code to check whether read1 and read2 have the same number of lines and generate a helpful warning if they don't may save users many hours of troubleshooting.

tseemann commented 4 years ago

Yes some more sanity checking could be added, but i did assume basic QC was done at some point before Nullarbor, but yes things can still go wrong.

egrep 'warn|error' nullarbor.log is a good starting point but I will add more stuff.

Thanks for the feedback!