More information on MetaKB CLI arguments
-
--db_url
- URL endpoint for the application Neo4j database. Can also be provided via environment variable
METAKB_DB_URL
.
- URL endpoint for the application Neo4j database. Can also be provided via environment variable
-
--db_username
- Username to provide to application Neo4j database. Can also be provided via environment variable
METAKB_DB_USERNAME
.
- Username to provide to application Neo4j database. Can also be provided via environment variable
-
--db_password
- Password to provide to application Neo4j database. Can also be provided via environment variable
METAKB_DB_PASSWORD
.
- Password to provide to application Neo4j database. Can also be provided via environment variable
-
--load_normalizers_db
- Check normalizers' (therapy, disease, and gene) DynamoDB database and load data if source data is not present.
-
--force_load_normalizers_db
- Load all normalizers' (therapy, disease, and gene) data into DynamoDB database. Overrides
--load_normalizers_db
if both are selected.
- Load all normalizers' (therapy, disease, and gene) data into DynamoDB database. Overrides
-
--normalizers_db_url
- URL endpoint of normalizers' (therapy, disease, and gene) DynamoDB database. Set to
http://localhost:8000
by default.
- URL endpoint of normalizers' (therapy, disease, and gene) DynamoDB database. Set to
-
--load_latest_cdms
- Deletes all nodes from the MetaKB Neo4j database and loads it with the latest source transformed CDM files stored locally in the
metakb/data
directory. This bypasses having to run the source harvest and transform steps. Exclusive with--load_target_cdm
and--load_latest_s3_cdms
.
- Deletes all nodes from the MetaKB Neo4j database and loads it with the latest source transformed CDM files stored locally in the
-
--load_target_cdm
- Load a source's transformed CDM file at specified path. This bypasses having to run the source harvest and transform steps. Exclusive with
--load_latest_cdms
and--load_latest_s3_cdms
.
- Load a source's transformed CDM file at specified path. This bypasses having to run the source harvest and transform steps. Exclusive with
-
--load_latest_s3_cdms
- Deletes all nodes from the MetaKB Neo4j database, retrieves latest source transformed CDM files from public s3 bucket, and loads the Neo4j database with the retrieved data. This bypasses having to run the source harvest and transform steps Exclusive with
--load_latest_cdms
and--load_target_cdms
.
- Deletes all nodes from the MetaKB Neo4j database, retrieves latest source transformed CDM files from public s3 bucket, and loads the Neo4j database with the retrieved data. This bypasses having to run the source harvest and transform steps Exclusive with