nmdp-bioinformatics / gfe-db

Graph database representing IPD-IMGT/HLA sequence data as GFE
https://gfe-db.readthedocs.io
GNU General Public License v3.0
9 stars 15 forks source link

Use existing build output #94

Closed chrisammon3000 closed 1 year ago

chrisammon3000 commented 1 year ago

Description

Usage

use_existing_build=true will look for existing CSV files and load these. If there are no CSVs for the release then they will be created.

skip_load=true will run only the build stage and will skip loading. This is useful when just the CSVs are needed.

# Example for single version
STAGE=<stage> make database.load.run releases="3510"

# Example for multiple versions where only 3510 has already been built
# 3490 and 3500 will be built, 3510 will use existing CSVs
STAGE=<stage> make database.load.run \
    releases="3490,3500,3510" \
    use_existing_build=true

# Example of how to build all releases and skip loading
STAGE=dev make database.load.run releases=300,310,320,330,340,350,360,370,380,390,3100,3110,3120,3130,3140,3150,3160,3170,3180,3190,3200,3210,3220,3230,3240,3250,3260,3270,3280,3290,3300,3310,3320,3330,3340,3350,3360,3370,3380,3390,3400,3410,3420,3430,3440,3450,3460,3470,3480,3490,3500,3510,3520,3530 skip_load=true

Next Steps