Table of Contents : Data visualization :
Loading BAM alignment files | Private annotations

Private Annotations


Private annotations functionality enables the user to define manually and import automatically sequence based annotations, such as PCR primers, probes, bibliography or memos. This feature is available on a dedicated track. Imported files can be displayed in full and squish modes (see below). To switch this feature on, check Display private annotations track in the Options dialog box (menu 'Tools' > 'Options' > 'Display' tab).

It introduced also external and custom annotations (see below).


Where and how private annotations are stored

As for variants, the basic annotation database functionality implementation relies on files stored either on each user's computer, or on a shared file system.
Private annotations are stored in local files, inside a folder that can be specified in the Options dialog box (menu 'Tools' > 'Options' > 'Preferences' tab). By default, this folder is 'Alamut VisualFiles' (inside 'My Documents' on Windows XP or Windows 7, inside 'Documents' on Windows Vista, and inside the user's home folder on Mac and Linux):

Alamut® Visual creates individual annotation files per gene, named after the gene's official symbol and with extension 'apa' (e.g. MLH1.apa for MLH1 annotations and DMD.apa for DMD annotations; apa stands for Alamut Private Annotations).

Information As for variants, it is also possible to define a set of different folders for annotation files (menu 'Folders' > 'Annotations').
These folders can be used for different use cases or projects and the menu enables to easily switch from one folder to another:

When switching to another folder, the only visible annotations are those which are stored in a file within the selected folder, if any.
The first listed folder shortcut in the menu is always the one that has been defined in the Options dialog box (see above). Extra folder shortcuts can be added or removed from the menu.

Warning As for any important computer data, please backup annotation files regularly.
Warning When annotations are stored in a shared file system, caution must be taken so that 2 people don't edit concurrently annotations of the same gene.

Annotation files use a simple XML representation format, suitable for processing by other applications.


Creating and managing datasets

Private annotations are organized in sub-tracks called datasets.
Datasets are managed through a menu (by clicking on the 'gear' icon) close to the 'Private Annotations' label:

Once created, each dataset is managed through the context menu (by right-clicking) of its own label:


Creating annotations

Create annotations from a nucleotide selection in the private annotations track and its associated context menu (by right-clicking inside the selection).

Private annotations are defined by a set of properties accessible in a dedicated editor:

Edit Comment

Once the annotation is saved, it is visible in its track and dataset:

Information Moving an annotation to another dataset (using the Dataset combo box) or to another genomic position (using From and To entry fields) is enabled in the annotation properties editor.


Importing annotations

Alamut® Visual supports the import of annotations in the BED and the BED detail formats.
It also supports the GFF version 2, the GFF version 3 and the GVF formats.

This facility enables to import files, manually (through the context menu, by right-clicking) or automatically (by checking Automatically import formatted files from folder in the Options dialog box), and to display data accordingly in additionnal tracks.

 OR 
 OR 

Drag & Drop

Information Importing requires files with appropriate extension (.bed, .gff, .gvf), to be placed in the appropriate folder.

Information Data available through a URL may also be imported by creating a Windows-like .url file. By default, data are supposed to be in the BED format and a dedicated field Type may be used to specify the appropriate format, see example. Once such a .url file is placed in a folder, Alamut® Visual behaves exactly as if the data were stored in a local file.

Warning BED files use 0-based coordinates: the first base of the chromosome is considered position 0.


Displaying annotations

Annotations are then displayed using the graphical features provided by these formats:

Simple BED annotations 
 
Complete BED annotations 
 
Detail BED annotations 
 
GFF3/GVF annotations 

Information Editing imported annotations is not possible.


Managing imported annotations

Once imported, each dataset is managed through the context menu (by right-clicking) of its own label:

Full mode 
 
Squish mode 


Customizing display of imported annotations

BED files

Alamut® Visual handles standard track lines within BED files: each track line defines a dataset which name is the description of the track line or its name if no description is provided. Annotations following a track line are put in the named dataset. For instance: track name=test visibility=2 color=0,128,0 useScore=1 itemRgb=Off.

Track line variables taken into account are:

GFF3/GVF files

Customization of GFF3/GVF annotations files display relies on Alamut® Visual directives that have to be added ahead of such files (after the initial ##gff-version line). An Alamut® Visual directive is a single line starting with ##alamut: and followed by a set of conditions and instructions under the form feature=string separated by the ":" mark. Several Alamut® Visual directives can be put in such files.

Admissible conditions are source=string and/or type=string, where string is to be replaced by any value taken by the source field (column 2) or the type field (column 3) in the imported file.
A directive with no condition applies anyway.

Admissible instructions are either dataset=string, name=string, color=string, arrow=string, note=string and/or extLink=string, where string is to be replaced by source or type or by any tag of the attributes field (column 9) of the imported file.
When a directive applies, any instruction feature will be set to a value according to the provided string:
- if the string is source or type, the feature will be set to the value of the source field or of the type field in the imported file.
- if the string is any tag of the attributes field in the imported file, the feature will be set to the value associated to the tag.

Detailed example:

##gff-version 3
##alamut:type=gene:dataset=type:name=gene_name:color=255,0,255
##alamut:type=transcript:dataset=type:name=transcript_name:color=0,0,255
##alamut:dataset=type:name=type


When type is "gene", dataset is set to "gene", name is set to the value of the "gene_name" tag and color is set to magenta.
When type is "transcript", dataset is set to "transcript", name is set to the value of the "transcript_name" tag and color is set to blue.
In other cases, dataset is set to type and name is set to type.
Other features are set to default as explained hereunder.

Information Default settings in directives:

Information The ":" character used to separate conditions and instructions may be replaced by some other punctuation marks (e.g. "+",  "|" or "~" but not "#",  "=" , ";" or ","), in case the ":" mark would be used elsewhere.

Information For each annotation, Alamut® Visual tries to apply sequentially directives of the file. The only first applicable directive is ever used.


External and custom annotations

External annotations

Alamut® Visual 2.3 introduced an external and custom annotation functionality. To access this feature, click on the information menu and select "External Annotations" in order to display a submenu of available external annotations. The last external annotation visible in the menu (here mirna2bed.py) stands for custom annotations, see below.

Current available external annotations:

Custom annotations

Alamut® Visual handles also custom annotations which enables users to display their own annotations according to the gene/transcript that is currently displayed within Alamut® Visual. This functionality requires to be specified in the in the Options dialog box (menu 'Tools' > 'Options' > 'Misc' tab).

Custom annotations requires 2 informations to be operationnal:

In the example above in the Options dialog box snapshot, the CGI /cgi-bin/mirna2bed.py?a=${assembly}&g=${gene}&t=${transcript} requires 3 parameters: a (assembly), g (gene symbol) and t (transcript). As this CGI depends on transcript, Alamut® Visual will call it each time a new transcript is selected in Alamut® Visual.


Importing numerical annotations

Alamut® Visual also supports importing annotations as an histogram in a dedicated Numerical Annotations track.
To switch this utility on, check Display numerical annotations track in the Options dialog box (menu 'Tools' > 'Options' > 'Display' tab).

Numerical annotations are managed through the context menu (by right-clicking) of the 'Numerical Annotations' label:

Once the file is manually imported, the histogram represents the number of times each genomic position is included in an annotation within the file.

Information Importing BED files in the numerical track has to be done manually.

Information Only a single BED file can be displayed in the numerical track at the same time.

When available, it is possible to display numerical annotations from both, forward or reverse strands.

Both strands 
Forward strand 
Reverse strand 


© 2020 Interactive Biosoftware - Last modified: 30 December 2017