
9. Downloading & importing data Downloading & importing data
In order to have a full backup, for instance to restore LOVD in case of a hardware failure,
more information is needed. It is therefore recommended not to rely only on this feature for
a full backup of LOVD. However, it works perfectly as a backup for your variant and patient
data, for instance if you accidentally deleted the wrong entry or the wrong column.
If you’re planning large parallel changes to data entries in LOVD using spreadsheet software
such as OpenOffice.org Calc or MS Excel, you could use the download files as a starting point.
In that case, read the instructions at “Downloading & importing the complete data” before
you begin.
Importing data sets into LOVD
Required level: Curator
Available from: LOVD 3.0 Build 01
For managers it is possible to import data di-
rectly into LOVD, using the LOVD3 import for-
mat. For curators, only simulation is available
(see below), starting from LOVD 3.0-14. See section “The LOVD3 import format” for more
details about the file format. Files created or modified using spreadsheet software such as
OpenOffice.org Calc or MS Excel must be saved as a text file. The file must be tab delimited,
otherwise LOVD will produce an error.
To import a dataset to LOVD, click the “Import data” link from the “Setup” tab dropdown
menu, or from the setup area, click the “Import data using the LOVD import format” link listed
under “Download & Import”. Curators can import data from the Configuration area. Click
the “Import data using the LOVD import format” link listed under “Download & Import”.
The LOVD import has a simulate option, allowing you to check if the import file is correct,
without importing anything. Check the “Simulate (don’t actually import the data)” checkbox
to use this simulation option. This option is always enabled for curators, and cannot be disabled.
This allows curators to test their import files, but it still requires a manager or up to actually
import the file.
On the import form, in the “Import options” section, you’ll find the “Import mode”. The two
options available are “Update existing data” (see section “Update existing data via import”)
and “Add only, treat all data as new” (see section “Insert new data via import”).
Insert new data via import
Required level: Curator
Available from: LOVD 3.0 Build 01
The option “add only” on the import page will
insert all data in the import file as new, also
if the identifiers used are already present in the
database. See section “The LOVD3 import format” for more details about the file format.
Update existing data via import
Required level: Curator
Available from: LOVD 3.0 Build 14
For managers and higher it is possible to update
certain data via an import (curators can run a
simulate). There are some restrictions on what
you can modify and what not. In general, when you can modify certain data via the LOVD
data entry forms, you can modify them via the update import as well. Furthermore, to prevent
unintended edits, you can currently only modify one field per line.
You cannot modify the created_by, created_date, edited_by, edited_date fields (from sec-
tions Columns, Genes, Transcripts, Diseases, Individuals, Phenotypes, Screenings and Vari-
ants_On_Genome). These fields are set by LOVD and changes in these fields are ignored. See
the section Specific fields explained to check which fields you are not allowed to update.
62