IKIM-Essen / uncovar

Transparent and robust SARS-CoV-2 variant calling and lineage assignment with comprehensive reporting.
https://ikim-essen.github.io/uncovar
BSD 2-Clause "Simplified" License
21 stars 8 forks source link

fix: fixed include flag KeyError #452

Closed AKBrueggemann closed 2 years ago

AKBrueggemann commented 2 years ago

Description

There was a problem with the include_flag in common.smk. The get_assemblies_for_submission function gives the path to the faster file, not the name, leading to a KeyError in get_include_flag. This causes the inclusion of files in the high-quality-genomes, that should be excluded. Problem fixed by changing the functions used in get_include_flag_for_date and taking into account the lengths of the lists from get_assemblies_for_submission and get_sample_for_date. ## Related Issue

Checklist