From 4afbe97a6ecacfc98775d73b1e52768d3af0cee3 Mon Sep 17 00:00:00 2001 From: Jody Phelan Date: Sun, 16 Feb 2025 11:15:48 +0100 Subject: [PATCH] update db scema version --- db/tbdb.variables.json | 50 +----------------------------------------- tb-profiler | 2 +- 2 files changed, 2 insertions(+), 50 deletions(-) diff --git a/db/tbdb.variables.json b/db/tbdb.variables.json index 65e5fb0..2072257 100644 --- a/db/tbdb.variables.json +++ b/db/tbdb.variables.json @@ -1,49 +1 @@ -{ - "db-schema-version": "1.1.0", - "snpEff_db": "Mycobacterium_tuberculosis_h37rv", - "drugs": [ - "rifampicin", - "isoniazid", - "ethambutol", - "pyrazinamide", - "moxifloxacin", - "levofloxacin", - "bedaquiline", - "delamanid", - "pretomanid", - "linezolid", - "streptomycin", - "amikacin", - "kanamycin", - "capreomycin", - "clofazimine", - "ethionamide", - "para-aminosalicylic_acid", - "cycloserine" - ], - "tb-profiler-version": ">=6.0.0,<7.0.0", - "version": { - "name": "tbdb", - "repo": "git@github.com:jodyphelan/tbdb.git", - "branch": "tbdb", - "commit": "7066eb43", - "status": "clean", - "author": "Jody Phelan", - "date": "Fri Feb 14 09:41:10 2025 +0100", - "db-schema-version": "1.1.0", - "tb-profiler-version": ">=6.0.0,<7.0.0" - }, - "amplicon": false, - "files": { - "ref": "tbdb.fasta", - "gff": "tbdb.gff", - "bed": "tbdb.bed", - "json_db": "tbdb.dr.json", - "variables": "tbdb.variables.json", - "spoligotype_spacers": "tbdb.spoligotype_spacers.txt", - "spoligotype_annotations": "tbdb.spoligotype_list.csv", - "bedmask": "tbdb.mask.bed", - "rules": "tbdb.rules.yml", - "barcode": "tbdb.barcode.bed" - } -} +{"db-schema-version": "2.0.0", "snpEff_db": "Mycobacterium_tuberculosis_h37rv", "drugs": ["rifampicin", "isoniazid", "ethambutol", "pyrazinamide", "moxifloxacin", "levofloxacin", "bedaquiline", "delamanid", "pretomanid", "linezolid", "streptomycin", "amikacin", "kanamycin", "capreomycin", "clofazimine", "ethionamide", "para-aminosalicylic_acid", "cycloserine"], "tb-profiler-version": ">=6.6.0,<7.0.0", "version": {"name": "tbdb", "repo": "git@github.com:jodyphelan/tbdb.git", "branch": "tbdb", "commit": "3ed1cb99", "status": "clean", "author": "Jody Phelan", "date": "Sun Feb 16 11:08:45 2025 +0100", "db-schema-version": "2.0.0", "tb-profiler-version": ">=6.6.0,<7.0.0"}, "amplicon": false, "files": {"ref": "tbdb.fasta", "gff": "tbdb.gff", "bed": "tbdb.bed", "json_db": "tbdb.dr.json", "variables": "tbdb.variables.json", "spoligotype_spacers": "tbdb.spoligotype_spacers.txt", "spoligotype_annotations": "tbdb.spoligotype_list.csv", "bedmask": "tbdb.mask.bed", "rules": "tbdb.rules.yml", "barcode": "tbdb.barcode.bed"}} \ No newline at end of file diff --git a/tb-profiler b/tb-profiler index 8c79a38..28844bc 100644 --- a/tb-profiler +++ b/tb-profiler @@ -35,7 +35,7 @@ discovered_plugins = { __softwarename__ = 'tbprofiler' __default_db_dir__ = f'{sys.base_prefix}/share/{__softwarename__}' -__compatible_db_schema_version__ = '1.0.0' +__compatible_db_schema_version__ = '2.0.0' @atexit.register def cleanup():