IMPORT & EXPORT FILES
(Figure 1) (Figure 2)
Import (figure 1)
Display and query traits from a database:
Database connection file (.db)
The type of files specifies all the elements required for TreeQ-Vista to connect to a
database, such information are database type, username, password, URL and driver class.
Tree description file (.tre)
The type of files describes
how a tree is stored in a database. The
application assumes that the tree is flat. Each leaf of the tree, which takes up
one row in a database, specifies the path from leaf to root and possibly the
corresponding branch length if it is a phylogenetic tree.
Key description file (.ky)
The type of files
specifies where the keys are in a database. Each property (or annotation) is a pair of
a key and a value. For example: COG.COG_ID =
COG1035. Key is COG_ID which is a column name in the table COG, assignment is "=" and the
value is COG1035. There are many other COG values in the table, while they
are all listed in one column/Key COG_ID.
Query file (.qy)
This type of files
contains user pre-constructed queries that can be loaded
into TreeQ-Vista. Each entry of a file can be either a set of user constructed conditions
from using TreeQ-Vista or a SQL statement. History section records queries
user entered and history entries can be
exported to a .qy file for future convenience.
Display traits from a Newick file:
Tree description file (.newick)
This type of files is for describing a tree in a flat file. It has been a well accepted tree format.
TreeQ-Vista provides the functionality to display a phylogenetic tree and traits from
a file, although the searching and querying capabilities are not provided
for flat files.
This is due to the immature query capabilities of flat files. Ex: there is
no structured language similar to SQL exists for flat file searching.
Group Description file (.grp)
This type of files describes the name, color and the leaf nodes should be in a color group.
Export (figure 2)
Export Query History:
Click on File->Export->Query History
to export available query history from history section of the "More Queries" panel to a query file (.qy).
Export Tree Image (figure 3):
(figure 5) Click on File->Export->Tree Image to see the dialog shown below.
Choose the type of format and where you want to export and save.
Note: If you have an memory error, you can increase amount of memory available to Java
virtual machine by changing the
-Xmx###M parameter.
(figure 3)