fix analysis_v2 to accomodate duplicate genes