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.
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.