cerebis / meta-sweeper

Parametric sweep of simulated microbial communities and metagenomic sequencing.
GNU General Public License v3.0
10 stars 0 forks source link

snvbpnmft.py throws an error when there are no reliable variant sites. #64

Closed cerebis closed 7 years ago

cerebis commented 7 years ago

The dictionary of variant_sites built by snvbpnmftp.py does not guarantee that an entry is created for each reference. This leaves open the possibility that a key_error occurs further down in the logic when no reliable sites were found and thus no entry ever added for a particular reference.