The original SyMAP was written for diverse plant genomes with short introns, but has been modified to work for the long introns of mammalian genomes, and less diverse genomes.
| 1. Build database Additional | 2. Load Project Parameters | 3. A&S Pair Parameters 4. Synteny parameter comparison |
1. Build database
| Start SyMAP | Selected Projects | Available Syntenies | Align& Synteny | CPU& Verbose |
Start SyMAP
| To start SyMAP, type at the command line:
./symap
The Project Manager will be displayed. To view the command line options: ./symap -h | For the first time user of SyMAP, see:
|
Selected Projects
| Loaded | Label | Description |
| No | Remove from disk | A Confirm/Cancel popup will show that actions that will occur, as follows:
Remove project: data/seq/[project-name] Remove results: [followed by list of directories that will be removed] e.g. If the demo has been completely run, and demoBrap
is to be removed from disk, the following popup will show what will be removed:
|
| Yes | Remove from database | The projects and its synteny pairs will be removed from the database.
Once complete, the label will change to Remove from disk. |
| No | Load project | Loads the sequence and optional annotations to the database.
When loading is complete, always verify by selecting the View, e.g. View. |
| Yes | Reload project | A popup will show the following options:
Only: Reload project All: Plus, remove results [followed by list of directories that will be removed] 👉 If the sequence file has been changed, select All; this will remove the same set of directories as shown in Remove from disk. MUMmer or Blast will need to be rerun. |
| Either | Parameters | This brings up a panel of parameters, see Project Parameters. After the project is loaded, you can still change the Display parameters without reloading the project or annotation. |
All actions that remove from the database or disk provide a Final Confirm popup.
| These links are only available if the project is loaded: | |
| Reload annotation | Removes the annotation from the database then load the annotations.
This does not effect the alignment, so they do not have to be redone.
The Align&Synteny commands will recognize if there are existing alignments and will use them.
|
| View | This bring up a panel of a summary of the loaded results, e.g. View Arabidopsis. |
Available Syntenies
Sequence alignments are performed with MUMmer or protein alignments with Blast/Diamond.This section shows a table with the status of alignments between the selected loaded projects. Each cell in the table represents a pair of projects and the cell contains a status code showing whether or not that pair has been aligned (codes are listed below). Note that the table shows each pair cell twice, but only the lower cells are activated.
Clicking on a cell selects that pair of projects (the cell will be highlighted in green), and the buttons that can be selected are activated.
| Code | Description |
| ✔ | Synteny for this project pair is ready to view. |
| A | The MUMmer alignment has been performed but the Clust&Synteny needs to be run;
select Reload MUMmer. |
| ? | The alignment have not been completed. In this case,
select Reload MUMmer and the alignments will be completed followed by the synteny computation. |
| B | A blast tabular file is available but the Load&Synteny needs to be run;
select Load Blast. |
| A/B | Both MUMmer and Blast files are available;
select which to use on the Pair Parameters window. |
| Neither MUMmer or Blast alignment files exist. |
See Pair Parameters for additional information on the Available Syntenies and codes.
Align&Synteny
| First button | The text of the first button changes depending on the state of the selected project pair.
| ||||||||||
| Clear Pair |
| ||||||||||
| Parameters | Set the Pair Parameters for the selected pair cell . |
For the display buttons, see User Guide.
CPU and Verbose
CPUs:- Enter the maximum number of CPUs to use for the multiple CPU computations.
- MUMmer uses multiple CPUs. For example, if there are 8 alignments to be done, it will perform 4 at a time.
- The viewSymap MSA alignment in Queries uses multiple CPUs.
Verbose checkbox:
- If checked, detailed summary information is written as it processes the MUMmer files. The information is written both to the terminal and the logs/<proj-to-proj>/symap.log file.
- If this is not checked, it will write status information repeatedly on the same terminal line.
- See Demo examples.
./symap -p 3 -v
2. Load Project Parameters
| Parameter panel | Display | Load project | Load annotation | GFF Attributes | Save | Go to top |
Project Parameter panel
Note: as of v5.8.6, the xToSymap conversion programs include CDS coordinates in the converted .gff files. |
|
Display
The following parameters are under the Display section of the parameters panel.Most of these values are shown in the Selected section of the Manager.
New values take immediate effect on Save and are saved in the symap_5/data/seq/<project-name>/params.txt.
| Parameter | Description | Default Value | Used In |
| Category |
Category label for the project. This is only used to group projects on the
left side of the Manager panel.
Category labels must be composed of only letters, numbers, dash, underscore, or period. Either select an existing label from the drop-down or enter a new one in the text box. Do NOT enter the same label with different capitalization -- it may mess-up. | Uncategorized | Selected |
| Display name | A user-friendly name for the project.
Shorter names will work better in the displays. Names must be composed of only letters, numbers, dash, underscore, period. It must be unique over all case-insensitive Display names and project-names. | project-name | Selected and all displays |
| Abbreviation | A name must be <= 5 characters.
Names must be composed of only letters, numbers, dash, underscore, period.
Uniqueness is not required over other Abbreviation. It can be the same as the corresponding Display name or project-name. However, it must be different between projects that are compared in Queries. | First 5 characters of Display name | Queries column headings and Pair Parameters |
| Description | Description of the project.
Do NOT use quotes, backslash or #. | New project | Selected and View |
| Group type | How to refer to the sequences. | Chromosome | Selected |
| Anno key count | This applies to the annotation attributes columns shown in the Queries results table. See the GFF Attributes section below. | 50 | -- |
👉 Changes to the display parameters take immediate effect, i.e. no further action is required.
Load project
The following parameters are under the Load project section of the parameters panel.Group prefix
The term "Group" is used for any FASTA sequence type, e.g. chromosome, scaffold, contig.
This option sounds trivial but is important for a good display, so please read carefully the following.
Minimum length
This must be an integer, commas are allowed (e.g. 1,000,000).
This is the minimum length of the FASTA sequence that will be loaded; smaller sequences will be ignored. Note that annotations
for ignored sequences will also be ignored, but some warning messages will be printed to the terminal.
See xToSymap Length for help with setting this parameter.
Sequence files
Select the input FASTA sequence file(s) or directories of sequence files.
For formatting, see Sequence files.
Default location: data/seq/<project-name>/sequence
👉 If any either the Sequence files or Minimal length parameters are changed:
- If the project has already been loaded, Reload Project.
- If A&S has previously been run, select Clear Pair and remove the alignment files, then run A&S.
Load annotation
The following parameters are under the Load annotation section of the parameters panel.Exon/CDS toggle (v5.8.7 or later)
- The associated type of Exon or CDS will be loaded.
xToSymap started including CDSs in the GFF file in release v5.8.6. - There will be places where the term "Exon" is used to represent either Exon or CDS.
However, whether Exons or CDSs were loaded are shown in the following places:- View (e.g. click View panel):
This popup of loaded project information will state CDS or Exon.
When CDSs are loaded, this display has a Export button which allows exporting the protein sequences. This is necessary to Load Blast. - 2D:
The gene graphics will show the CDSs instead of exons.
The Align has an option to align spliced transcripts, which will use the CDSs instead of exons. - Queries:
MSA unique spliced transcripts option, will align the CDS sequences.
Export unique spliced transcripts option, where CDSs will be used instead of exons.
- View (e.g. click View panel):
Anno keywords
A comma separated list of keywords. This can be used to reduce the annotation attribute keywords
shown in the 2D display and Queries table, as described in the GFF Attributes section below.
Anno files
Select the input GFF3-formatted annotation files corresponding to your sequences. Note, using
a GFF3 file directly can cause problems if it does not conform to what SyMAP expects; see
Annotation files.
Annotation is optional but highly recommended. Default location: data/seq/<project-name>/annotation
👉 If any of these are changed:
- If the annotation has already been loaded, Reload Annotation.
- If A&S has been previously run, re-run A&S (the existing alignments files will be reused).
GFF Attributes
If xToSymap was used to create the GFF file, then the attributes have already been filtered, and this section can probably be ignored.
This section discussed parameters Anno key count and Anno keywords.
It gives details on what GFF attributes are displayed in SyMAP, which refers to them as annotations.
The gene annotations are shown on the
2D display and as columns in the
Queries results table.
The attributes (annotations) comes from the last column of the GFF file. It is a keyword=value list, e.g.
ID=gene-AT1G01010;Name=NAC001;ID=rna-NM_099983.2;product=NAC domain containing protein 1Defaults: Generally, all genes in a file have the same keywords, in which case, use the defaults. This will cause the entire attribute to be shown for the gene in the 2D display, and the Queries table will have columns for each keyword that has over Anno key count (default 50) occurrences. In the example above, the columns will be ID, Name and product (the second ID will be ignored).
If there are many different keywords in the attribute list, this causes too many columns in the Queries table. This can be reduced by one (or both) of the following:
Anno key count: If there are many different keywords in the attribute list, set this count N to filter out all keywords with <N occurrences. The Anno key count can be modified at any time using symap (not viewSymap).
Anno keywords: The keyword=value pairs to be saved for each gene can be limited by listing the desired keywords separated by commas. Using this approach, it will also reduce annotation description per gene in the 2D display. Referring to the example above, if the string "ID, product" was entered for Anno keywords, the Name=value would not be part of any gene annotation.
👉 If the Anno keywords are changed after the annotations are loaded, execute Reload Annotations
Saving project parameters
On Save and before loading the project, the parameters are saved to:data/seq/<project-name>/params.txtSave also saves the parameters in the database.
The params.txt file parameters are shown on the Project Parameters panel. These can only be viewed and changed using symap (not viewSymap). Do not edit params.txt with a standard editor.
3. A&S Pair Parameters
| Parameter panel | Alignment | Collinear Sets | Synteny | Save | Synteny Compare | Go to top |
Pair Parameter panel
|
The Available Syntenies section explains the table underneath the label. A few more notes: If a cell contains an A, the MUMmer alignments are complete and will not be redone. This is important because MUMmer is very time-consuming, but the synteny computation is not (see timing results); hence, one can make changes to the cluster or synteny parameters and re-run without redoing the alignments. |
|
Select a pair cell in the Available Syntenies table followed by the Parameters button, which will popup the panel shown on the upper right; click + to open a section and show its associated parameters.
👉 If a pair cell has a ✔ indicating it is complete, and the parameters for a section are subsequently changed, do the following:
| Changed Section | Action |
| Alignment | If the MUMmer parameters have been changed, select
Clear Pair with Remove pair /align, followed by Run MUMmer. If the Blast files have been changed, Clear Pair, replace the files in the /blast directory, followed by Load Blast. |
| Cluster Hits (MUMmer only) | The button label will be Reload MUMmer; the existing alignments for the pair will be used. |
| Collinear Sets | If only collinear sets parameters are changed, click the lower drop-down and select Collinear Sets (see drop-down). |
| Synteny | If only synteny parameters are changed, click the lower drop-down and select Synteny Only (see drop-down). |
The Align&Synteny drop-down shows what will be run. If the alignment and synteny have been run, parameters can be changed and then different actions can be selected to re-run (see drop-down):
The parameters for each section are described below:
| Alignment | Collinear Sets | Synteny |
+ Alignment
|
• Use MUMmer: MUMmer provides genome alignment.
See MUMmer for details about the parameters shown on the right. • Load Blast files: Blast hits from a b6 tabular file can be loaded instead of running MUMmer, or to augment MUMmer results. See Load Blast for details about the parameters shown on the right.
+ Cluster MUMmer hits
|
|
+ Collinear Sets
| Collinear Sets is abbreviated as "CoSet" below. A description of Collinear Sets is given in Details. |
|
|
By Order
By Size | The 1st option numbers the CoSets in descending order by the start coordinates.
The 2nd option sorts CoSets by size and then numbers then in ascending order by size. |
|
Advanced
Simple | The 1st option tries to find collinearity in complex overlapped genes areas.
The 2nd option uses the original algorithm, which does not try to resolve overlapping genes. |
| See Advanced vs Simple. | |
Suggestion: Use Advanced, then if you do not like how it handles embedded genes, change to Simple.
👉 If the collinear parameters are changed:
- Only execute the Collinear Set algorithm by using the drop-down.
- The algorithm runs very quickly, e.g. 10 seconds for mouse compared to humans.
- If the Collinear sets have changed, and you are using the Synteny Strict option, you should rerun it with Synteny Only because it uses the collinear sets (see Strict below).
+ Synteny
| The image on the left shows the defaults. The one exception is that Strict is turned off for draft sequence. |
| Parameter | Description |
| Min Hits | Minimum number of anchors required to define a synteny block. |
| Strict | This uses the Original algorithm with the following changes:
|
| Orient | All hits in a block must have hits of the same orientation ('+/+' or '-/-') or different orientation ('+/-' or '-/+'). |
| Merge | Overlap: The blocks must overlap to be merged.
Close: Blocks that overlap or are close will be merged. |
If the Align&Synteny has already been executed, and you want to try different synteny parameter, you may just run the synteny algorithm as described in Save.
See Synteny parameter comparison for comparison of using the different synteny parameters. The following is a brief comparison of three images of the same regions when evaluated with the following 3 parameter sets:
Default (one block)
Same orient (three blocks)
Same orient with Merge (two blocks).
In the last image, the reverse orientation block is embedded in another block
Hints about synteny parameter settings
👉 It is easy to experiment with synteny parameters since it is possible to execute the Synteny only using the drop-down. For two genome complete sequence synteny, it is strongly suggested you start with Strict.
Suggestion: For large genomes, experiment with the parameters on just one or two pairs of the chromosomes; you can use xToSymap for the split. Note: the synteny results of one or two chromosomes will be slightly different compared to whole genome synteny.
Order against
For draft sequences, they may be ordered against another project. See Ordering details.In the synteny parameters above, the Draf->Seq2 and Seq2->Draf use the Abbreviation set in the Project parameters panel. The "->" indicates that the first sequence will be ordered against the second.
👉 If the draft has been aligned to the Order against sequence, but this option was not set, it can be set and then execute Synteny Only by setting the drop-down.
Drop-down and Save
Drop-down
| If the Align&Synteny has already been run, the top item of the drop-down will describe what will be run by default. There are additional options you may select, as follows: |
|
| Synteny Only | If you have only changed synteny parameters, select this option. |
| Number Pseudo | If you want to add pseudo numbers, select this option. |
| Collinear Sets | If you only want to redo the Collinear Sets computation, select this option. |
|
The Manager window Align & Synteny button
will indicate what was selected, e.g. Synteny Only.
Once the button is clicked, a popup will give detailed information on the actions and parameters, select Confirm. |
|
Saving pairs parameters
Before the A&S is executed, the parameters are saved indata/seq_results/<proj1-to-proj2>/params.txtOnce the A&S is executed, the parameters are stored in the database.
The file parameters are shown on the pair Parameter panel. These can only be viewed and changed using symap (not viewSymap).
Any parameter not the default will be shown on the Summary page.
BEWARE: If you run A&S, then change the PROmer or NUCmer settings, but forget to Clear Pair before running A&S again, the parameters on the Summary page will be wrong (SyMAP does not check for this situation).
4. Synteny parameter comparisons
The following is from comparing Arabidopsis thaliana chromosomes 1 and 2 with Brassica rapa chromosomes 1 and 7. The Clustering hits Algo2 (exon-intron) was used in all cases.
| Original vs Strict: Both allow a mix of inverted and non-inverted hits in a block, but Strict only allows small inversions within a non-inverted block and vice-versa (unless Merge is used). The Strict blocks tend to not have the tails of dots that have bigger gaps. | |
Original
| Strict
|
Original chr1&chr7
| Strict chr1&chr7
|
| Orient: This requires all hits in a block to be in the same orientation. This options fits with what some other software packages consider 'synteny'. | |
Original Orient chr1&chr7
| Strict Orient chr1&chr7
|
| Merge Overlap: Only overlapping blocks can be merged. This will have little effect if Orient has been used since mixed blocks cannot be merged. | |
Original Merge Overlap chr1&chr7
| Strict Merge Overlap chr1&chr7
|
| Merge Close: Blocks that are close can be merged. | |
Original Merge Close chr1&chr7
| Strict Merge Close chr1&chr7
|
| Go to top |
Email: cas1@arizona.edu


























