Fix bugs in filtering by depth and preparing genes to exclude