Sanger::CGP::Vagrent::Bookmarkers::MostDeleteriousBookmarker - Finds the AnnotationGroup with the most severe consequence from the supplied list
This bookmarker will mark/return the Sanger::CGP::Vagrent::Data::AnnotationGroup with the most catastrophic consequence from the list of supplied groups.
It inherits from Sanger::CGP::Vagrent::Bookmarkers::AbstractBookmarker and Sanger::CGP::Vagrent::Bookmarkers::RepresentativeTranscriptBookmarker
When handed an array of Sanger::CGP::Vagrent::Data::AnnotationGroup objects it will sort them into the same order as the RepresentativeTranscriptBookmarker does and then prioritise AnnotationGroups by matching their ontology terms to the following hierarchy. The highest priority AnnotationGroup is considered to be the match
The rank in the hierarchy is calculated for each Sanger::CGP::Vagrent::Data::AnnotationGroup in isolation, and comparison between AnnotationGroups is based solely on the ranks. There is no consideration given to variants that are annotated to multiple genes and only the Sanger::CGP::Vagrent::Data::AnnotationGroup with the most disruptive effect will be returned.