Skip to content

Commit

Permalink
distinct on bigmerge and version bump
Browse files Browse the repository at this point in the history
bigmerge was leaving duplicated alleles
  • Loading branch information
ACEnglish committed Feb 13, 2025
1 parent d74c695 commit 3728a16
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def read(rel_path):
with codecs.open(os.path.join(here, rel_path), 'r') as fp:
return fp.read()

VERSION = "0.2.0"
VERSION = "0.3.0"

setup(
name="tdb",
Expand Down
2 changes: 1 addition & 1 deletion tdb/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

cmd_str = ", ".join(list(CMDS.keys()))
USAGE = f"""
tdb v0.2.0 - Tandem repeat database tools
tdb v0.3.0 - Tandem repeat database tools
Commands: {cmd_str}"""

Expand Down
2 changes: 1 addition & 1 deletion tdb/bigmerge.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ def consolidate_allele(con, db_paths, output_dir, compress=False, threads=1):
alocus = os.path.join(output_dir, "allele.pq")
query = f"""
COPY (
SELECT *
SELECT DISTINCT *
FROM read_parquet('{base["allele"]}')
UNION ALL
SELECT *
Expand Down

0 comments on commit 3728a16

Please sign in to comment.