Skip to content

Commit

Permalink
Move sequences.fsa to dumps folder:
Browse files Browse the repository at this point in the history
  • Loading branch information
yu-eric committed Oct 18, 2021
1 parent 4893acd commit 661c606
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion flask/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


uclust_identity = utils.get_config()['uclust_identity'] # how similar sequences in the same cluster must be
sequences_filename = 'usearch/sequences.fsa'
sequences_filename = 'dumps/sequences.fsa'

if 'which_search' not in utils.get_config():
explorerConfig = utils.get_config()
Expand Down
4 changes: 2 additions & 2 deletions flask/sequencesearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def run_vsearch_global(fileName):
fileName {string} -- Path to file
"""
# setting maxaccepts to 0 disables the limit (searches for all possible matches)
args = [vsearch_binary_filename, '--usearch_global', fileName, '--db', 'usearch/sequences.fsa','--uc', fileName[:-4] + '.uc', '--uc_allhits',]
args = [vsearch_binary_filename, '--usearch_global', fileName, '--db', 'dumps/sequences.fsa','--uc', fileName[:-4] + '.uc', '--uc_allhits',]
args = append_flags_to_args(args, globalFlags)
popen = subprocess.Popen(args, stdout=subprocess.PIPE)
popen.wait()
Expand All @@ -61,7 +61,7 @@ def run_vsearch_exact(fileName):
fileName {string} -- Path to file
"""
# setting maxaccepts to 0 disables the limit (searches for all possible matches)
args = [vsearch_binary_filename, '--search_exact', fileName, '--db', 'usearch/sequences.fsa','--uc', fileName[:-4] + '.uc', '--uc_allhits']
args = [vsearch_binary_filename, '--search_exact', fileName, '--db', 'dumps/sequences.fsa','--uc', fileName[:-4] + '.uc', '--uc_allhits']
args = append_flags_to_args(args, exactFlags)
popen = subprocess.Popen(args, stdout=subprocess.PIPE)
popen.wait()
Expand Down

0 comments on commit 661c606

Please sign in to comment.