SafeVDatastructure for result strings of comparisons between covariance models by CMCompareParse a CMcompare result string9Parse indices of matched nodes between models as integers #Parser for CMCompare result strings !"     !" None:DORTDraw one or more CMDraw one or more CM"Draw the guide Tree of a single CM~Extracts consensus secondary structure from alignment and annotates cmcompare nodes for each model-model combination seperatly|Extracts consensus secondary structure from alignment and annotates cmcompare nodes for all comparisons in one merged output#zTransform covariance model node labels to colors labelToColor :: String -> Colour Double labelToColor label | label == MATP) = sRGB24 211 211 211 -- P | label == MATL) = sRGB24 211 211 211 -- L | label == MATR) = sRGB24 211 211 211 -- R | label == BIF* = sRGB24 255 069 064 -- B | label == ROOT) = sRGB24 245 245 245 -- S | label == BEGL) = sRGB24 211 211 211 -- S | label == BEGR* = sRGB24 211 211 211 -- S | label == END? = sRGB24 245 245 245 -- E labelToColor _ = sRGB24 245 245 245[Specifies the size of the diagram. Absolute adapts to overall size according to subdiagrams(Check for available cairo output formatsQ$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJK#LMNOPQRSTUVWXYZ[\]^_`abcdefg  N$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJK#LMNOPQRSTUVWXYZ[\]^_`abcdefgh      !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijcmv-1.0.3-HuG6O11xbmuNDDaVnTSV9Bio.CMCompareResult Bio.CMDrawCmcompareResult model1Name model2Name linkscore1 linkscore2 linksequencemodel1structuremodel2structuremodel1matchednodesmodel2matchednodesgetCmcompareResultsgetModelsNames getModelNames$fShowCmcompareResult NodeIndicesdrawSingleCMComparisons drawSingleCMsdrawCM'perModelSecondaryStructureVisualisation%mergedSecondaryStructureVisualisationbuildRowIndexStructurebuildTreeIndexStructuretext'svgsize diagramNameprintCM$fShowNodeIndices$fEqNodeIndices$fOrdNodeIndicesparseCmcompareResultparseMatchedNodesformatMatchedNodes readDoublereadInt drawCMNodeSLR!drawStockholmLinesComparisonLabelmakeAllConnectedStatesmakeStateConnectionsgetComparisonPerModelNodeLabelsgetModelComparisonLabelsmakeModelComparisonNodeLabelgetComparisonPerColumnLabelsnodeToColumnComparisonLabelbuildR2RperModelInputbuildR2RperModelComparisonInputsetBackboneColorbuildFornaperModelInputbuildFornaLinksInputmakeFornaComparisonLink#comparisonColLabelsToFornaLinkLabelmakeColorSchemebuildMergedFornaInputcomparisonColLabelsToFornaLabelbuildMergedR2RInputcomparisonColLabelsToR2RLabelindexStructureToConnections startState setNextId getIndexEndmakeModelHeadermakeModelLegendmakeLegendEntrysetLabel setTransitionsetState setNodeNumber setNodeLabelsetLegendLabel setModelNamedrawCMNodeTreedrawCMNodeInterval getCMNodeTypecolorBoxdrawCMMinimalNodeBoxdrawCMSimpleNodeBoxdrawCMSimpleStateBoxdrawCMDetailedNodeBoxidBoxnodeBoxwheeldrawCMSplitStateBoxdrawCMInsertStateBox setEmissions emissionEntrybarstateboxinverseStateboxgetBlankComparisonNodeLabelsmakeBlankComparisonNodeLabelgetComparisonNodeLabels modelToColormakeComparisonNodeLabelmakeColorVector makeArrow makeSelfArrow makeLabelsetLabelOffset makeSelfLabelroundPosbitScore2Double