Refactored methods and added logic strings for basket determination and removed allele determination calls