Web Persephone: Synteny Matrix
The Synteny Matrix shows a dot plot of all connected features (either markers or annotations) between two map sets.
In Persephone, if identical markers are found on two maps displayed on screen, they are automatically linked by a connector line. In Synteny Matrix, such connection is shown as a dot. Similarly, the connection is drawn between orthologous genes. Currently, the ortholog gene pairs are pre-computed outside of Persephone, usually by PersephoneShell using DIAMOND protein aligner.
To open Synteny Matrix, select Tools | Synteny Matrix from the main toolbar:
Then, select the map set whose maps you wish to see on the X-axis; all of its tracks that have any connectors will be listed under the map set. For example, the Sorghum v.3.1 map set can be connected using either the Markers track, or the PHYTOZOME12 gene models track (the glyph next to each track indicates its type).
As soon as you select a track, the list of map sets on the Y-axis (the bottom panel) will update, displaying the count of possible connectors to your chosen track (the number in parentheses displays the count of tracks with available connectors):
If the Show connected only checkbox is checked, any map sets that could not be connected to the chosen track will be hidden from the list.
Select one of the tracks for the Y-axis to display the dot plot. If you have selected a pair of Annotation tracks, the Synteny Matrix will display orthologs between them; if you have selected a pair of Marker tracks, the Synteny Matrix will display markers that are mapped to both tracks.
For example, you could display a dot plot of all known orthologs between Sorghum (Sorghum v.3.1) and Corn (Zea mays AGPv4):
In this plot, every cell represents a pair of tracks, and every dot inside a cell represents an ortholog connector between two gene models: the one in Sorghum (on the X-axis), and the one in Corn (on the Y-axis). The width of each column is proportional to the length of its map in Sorghum; the height of each row is proportional to the length of its map in Corn. This could be inconvenient for map sets with a mix of very long and very short maps (e.g. a mix of chromosomes and scaffolds), causing the shorter maps to nearly vanish:
To remedy this, you can use the Cell size slider at the bottom of the dialog to expand the shorter maps:
To zoom the dot plot in or out, roll the mouse wheel; to pan the plot, drag it with the left mouse button (or use the scrollbars on the side). For example, you could zoom in on a cell to examine small inversions:
You can double-click a cell to bring its pair of maps into the main view (the Synteny Matrix dialog will briefly fade out to show this happening):
Alternatively, hold down the Ctrl key and drag the mouse over the plot to select a region; then double-click inside the selected region to open the pair of maps. Each map will automatically zoom to the selected region, whose boundaries will be marked with a temporary highlight. For example, you could zoom in on small structural variations:
Connector counts
The headers for the X and Y axes display summary information about the plot:
In this example, 12 out of 870 maps in the map set Sorghum v.3.1(track PHYTOZOME12 gene models), contained orthologs to the Corn map set selected on the Y-axis (in this case, Zea mays AGPv4 (track Gramene gene models). Of the total 40,617 annotations, 20,686 had orthologs in Corn. You can mouse over any cell in the dot plot to see the number of connectors it contains; the cell will be highlighted in yellow, and its name and connector count will be displayed in the Highlighted field at the bottom of the dialog:
You can also click a cell to select it. The selected cell will be outlined with a red border, and its statistics will be displayed in the Selected field:
You can use this feature to quickly compare connector counts between two different pairs of maps. Click the selected cell again to deselect it.
Map selection and orientation
You can change the selection of maps on each axis in a variety of ways. Firstly, to change the limit for the number of maps displayed on both of the axes in the Synteny Matrix plot, enter a new value in the Max maps per axis textbox:
This can be a quick way to remove unnecessary maps such as scaffolds or assembly fragments from the plot, leaving only the chromosomes (by default, chromosomes are always displayed first). You can also click the button next to the X- or Y-axis to open the Edit Maps dialog, where you can fully customize the list of displayed maps for that axis:
You can also reorder maps directly in the plot. To do so, grab a map header with the left mouse button, then drag it to the desired location. As you are dragging the map, a gray line will appear in the plot, indicating the new location of the map:
Release the mouse to drop the map at the desired location.
To flip a map, click the green arrow button next to its header in the plot. The arrow will point in the opposite direction and turn red, indicating that the map is inverted. This can be useful if you wish to line up the maps so that their connectors form a central diagonal, regardless of their default orientation in the original assembly:
Map names
By default, if all maps on an axis share a common prefix, that prefix is hidden from view (in order to save space and reduce clutter). For example, if all the maps are named "Chr01", "Chr02", and so on, then the "Chr" prefix will be hidden, leaving just "01", "02", and so on. You can uncheck the Shorten map names checkbox to display full map names in the plot:
You can always hover the mouse over a map header to display its full name in a tooltip:
Additional controls
Click the Display Maps button to display the pair of maps for the currently selected cell (alternatively you could double-click the cell, as described above). If the Display and close checkbox is checked, the Synteny Matrix dialog will automatically close when you click the Display Maps button (although it will return to the same view the next time it is opened).
Click the Export Image button to export the entire plot as a high-resolution bitmap, suitable for publication:
In this dialog, you can change the pixel dimensions of the exported image (if the Preserve Aspect ratio checkbox is checked, the image will maintain the aspect ratio of the Synteny Matrix dialog). Click the Export button to download the image as a PNG file. By default, the entire dot plot is exported, but you can check the Export current view checkbox in the main dialog to export only the current zoomed-in view.