This feature helps the user of Genometa to overview the number of attributed reads to each bacterial taxon. The data is presented as a bar chart, where each bar represents a certain species. The height of the bars reflects the number of reads. Furthermore the bars contain other information on the species such as genus, species, strain, read number and species-id. The figure below shows the appearance of the bar chart.
To display data in the chart, the user should load a BAM or SAM file. After the loading is finished, the bar chart prepares the data and then displays them. It is also possible to load another file, so that Genometa will merge them and the bar chart reloads the data directly. If the user switches the data source, the bar chart will reload the new data directly and keep the previous data in cache, so they can reloaded quickly.
The sliders above from and left of the chart are zoom-buttons. The upper one zooms horizontally and the left one vertically. In the figure the upper zoom-button is moved to the left, which is why the bars are expanded and the text in the bars is shown. The scroll-bars are usable after zooming in a direction. The zoom center in vertical direction is always in bottom of the bars instead of the horizontal direction. The zoom center is here where the user have clicked on the chart (not within bars). A vertical hairline should appear there to show the user where the zoom center is. The hairline is by default at the vertical axsis.
The user can interact with the graph. If they click on any bar, this bar will be marked and Genometa jumps to the genome view of the species in the Sequence View Map. Species truly present in the metagenome are likely to have large portions of their genome covered by reads, while contaminated reads or reference sequences might mean reads are attributed only to very restricted genomic loci. For example, we have experienced reads mapping to a heat-stable ligase from Thermus thermophilus, which we believe reflects laboratory contamination of that particular metagenome. It is also possible to select a species in the left table. The related bar will be marked. A marked bar is highlighted dark blue.
While hovering over read glyphs genometa displays information about the read (or annotation,
should a feature file have been loaded)
in form of a tooltip overlay (see figure 1). The contents of this tooltip can be changed
by using the tooltip editor for the corresponding glyph type (BAM for read glyphs, GFF for
annotation glyphs) by opening the Preferences Window (File->Preferences) and switching to
the corresponding tab (see element 1 in the figure below).
GFF feature files can be obtained from the NCBI genome website or NCBI RefSeq ftp site, and loaded using the File > Open dialogue.
In the following example the BAM tab is used to visualize the different control widgets, the GFF editor only differs in the available item tags.Editing Tooltips
The current display state of the tooltip is visualized in the tooltip preview (see element 2). All item tags that are displayed in this field are visualized by the tooltip, in the same order they appear here. Item tags can be added to the list by choosing an available item tag from the combo box and clicking "Add item:" (see element 3). Furthermore a blank link can be added to the tooltip by clicking "Add Blank Line" for easier reading of tag groups.
For changing the order of tags a tag can be selected from the tooltip preview window and moved by clicking either "Move up" or "Move down" (see element 4). Clicking "Remove item" will remove the selected item or blank line from the tooltip.
"Reset to defaults" will reset all changes made to the tooltip and restore the initial state of the editor (see element 5)
The Global tooltip settings panel houses settings that affect all tooltips regardless of glyph type: The "Max. Length" Slider (see element 6) allows setting the width (number of characters) of the generated tooltip window. By default all item tag values that exceed this number will be truncated. Increase this value to accomodate for very long tooltip strings.
"Enable tooltips" globally enables or disables the display of tooltips (element 7), while "Show all available tags" (element 8) will generate tooltips showing all available tag items regardless of the tags chosen in the appropriate editor preview.