Use the Python py-ard
package
developed by the NMDP to initialize the
IPD-IMGT/HLA database.
Arguments
- data_dir
Path to the folder where the SQLite database (~600MB) is or should be stored. If no database exists on disk, it will be downloaded.
- imgt_version
Four-digit version number of the database release that should be used. Defaults to the most recent release ("Latest").
- strict_mode
Defaults to
TRUE
; ifFALSE
, functions likeis_in_ipd_db()
will perform a less strict validation of alleles in the database (e.g. some alleles that were deleted or renamed in a newer version of the database will still pass).
Value
A Python database connection object, which should be passed to other functions that make use of the database.
Examples
if (FALSE) { # \dontrun{
ard <- db_initialize(path.expand("~/ipd_db"), imgt_version = "3510")
} # }