Skip to content

Commit

Permalink
add -ci0 to the intersect for #15. still no dice
Browse files Browse the repository at this point in the history
  • Loading branch information
dkoslicki committed Mar 31, 2020
1 parent ac6e6b2 commit 3dcd8a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMash/Query.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,9 +275,9 @@ def intersect(self):

# intersect kmers
if self.verbose:
res = subprocess.run(f"{self.kmc_tools} simple {db_kmers_loc} {in_path} -ci0 intersect {out_path} -ci0 ", shell=True)
res = subprocess.run(f"{self.kmc_tools} simple {db_kmers_loc} -ci0 {in_path} -ci0 intersect {out_path} -ci0 ", shell=True)
else:
res = subprocess.run(f"{self.kmc_tools} simple {db_kmers_loc} {in_path} -ci0 intersect {out_path} -ci0 ", shell=True, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
res = subprocess.run(f"{self.kmc_tools} simple {db_kmers_loc} -ci0 {in_path} -ci0 intersect {out_path} -ci0 ", shell=True, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
if res.returncode != 0:
raise Exception(f"The command {res.args} failed to run and returned the returncode={res.returncode}")

Expand Down

0 comments on commit 3dcd8a2

Please sign in to comment.