Adapted genmod analyze to new structure
Adapted summarize_variants to new structure