broadinstitute / catch

A package for designing compact and comprehensive capture probe sets.
MIT License
76 stars 16 forks source link

Improve handling of the case when there are no candidate probes #41

Closed haydenm closed 4 years ago

haydenm commented 4 years ago

There may be some valid cases where there are no candidate probes. For example, if genomes are clustered and --small-seq-skip is set, one cluster may contain short genomes that are all skipped -- and thus and the cluster has no genomes and therefore no candidate probes. This will cause an error because kmer_probe_map would be empty. This PR allows clusters/groupings of genomes to have no candidate probes, and for CATCH to proceed in that case.

coveralls commented 4 years ago

Coverage Status

Coverage decreased (-0.05%) to 94.344% when pulling e0f8080a34699de8ac41c7abfeead8ed38937bef on hm-fix-no-candidate-probes into 8d42266dd3a144b35b31d34b6446b11cf7cc6213 on master.

coveralls commented 4 years ago

Coverage Status

Coverage decreased (-0.05%) to 94.344% when pulling e0f8080a34699de8ac41c7abfeead8ed38937bef on hm-fix-no-candidate-probes into 8d42266dd3a144b35b31d34b6446b11cf7cc6213 on master.