fedarko / strainFlye

Pipeline for analyzing (rare) mutations in metagenome-assembled genomes
BSD 3-Clause "New" or "Revised" License
8 stars 1 forks source link

Throw input-specific errors as early as possible #20

Closed fedarko closed 2 years ago

fedarko commented 2 years ago

The main thing we want to prevent is running something for multiple hours, and then failing due to the input being malformed. If possible, it's ideal to shift these checks to early on in a command, to limit user frustration.

The main problem with this right now is the check that the GFA contigs equal the FASTA contigs, done in the partially-mapped read filter in align. Should move that to be earlier.