Skip to content

Commit 722858e

Browse files
authored
Merge pull request #54 from jemten/header_fix
Parsing multiple filters
2 parents e36181e + b2f701d commit 722858e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
ext_modules = []
2020

2121
setup(name='svdb',
22-
version='2.6.3',
22+
version='2.6.4',
2323
url="https://github.com/J35P312/SVDB",
2424
author="Jesper Eisfeldt",
2525
author_email="jesper.eisfeldt@scilifelab.se",

svdb/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def make_query_calls (args, queries, keyword):
3838
query_module.main(args)
3939

4040
def main():
41-
version = "2.6.3"
41+
version = "2.6.4"
4242
parser = argparse.ArgumentParser(
4343
"""SVDB-{}, use the build module to construct databases, use the query module to query the database usign vcf files, or use the hist module to generate histograms""".format(version), add_help=False)
4444
parser.add_argument('--build', help="create a db",

svdb/merge_vcf_module_cython.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ def merge(variants, samples, sample_order, sample_print_order, priority_order, a
346346
line[7]+=";{}_QUAL={}".format(tag,",".join(qual_tag[tag]))
347347
#add filter of all merged variants
348348
for tag in filters_tag:
349-
line[7]+=";{}_FILTERS={}".format(tag,",".join(filters_tag[tag]))
349+
line[7]+=";{}_FILTERS={}".format(tag,",".join(filters_tag[tag]).replace(";",","))
350350
#add samples information for all merged variants
351351
for tag in samples_tag:
352352
line[7]+=";{}_SAMPLE={}".format(tag,",".join(samples_tag[tag]))

0 commit comments

Comments
 (0)