AntonelliLab / seqcap_processor

Bioinformatic pipeline for processing Sequence Capture data for Phylogenetics
MIT License
21 stars 12 forks source link

avoid crash when no contigs found by find_target_contigs.py #37

Closed bmichanderson closed 1 year ago

bmichanderson commented 1 year ago

If the targets are not great and a sample has few assembled contigs, there may be no good hits and no contigs recovered. In that case, the program currently crashes when trying to remove duplicate contig names since the list is empty. This patch allows for that part of the script to run without crashing.

tandermann commented 1 year ago

Thanks for fixing this, @bmichanderson!