Unified resource handling in variant calling