BimberLab / nimble

nimble — execute lightweight, flexible alignments on arbitrary reference libraries
MIT License
1 stars 0 forks source link

Add validation to BAM/FASTQ input #64

Open bbimber opened 9 months ago

bbimber commented 9 months ago

My comment is primary a concern for BAMs, but if it can be added to both code paths, great:

Would it be practical for the reader code of nimble to remember the name of the last read it encountered, and throw an exception if the next read has the same name? If simple to implement, this would provide cheap insurance against a category of issue that would be easy to have, and hard to identify.