Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vsearch instead of usearch? #1

Open
tseemann opened this issue Oct 3, 2019 · 1 comment
Open

vsearch instead of usearch? #1

tseemann opened this issue Oct 3, 2019 · 1 comment

Comments

@tseemann
Copy link

tseemann commented Oct 3, 2019

usearch is not open source
can you replace it with vsearch?
https://github.com/torognes/vsearch

@Xiaojun928
Copy link

Xiaojun928 commented Jun 26, 2021

It is much faster after replacing usearch with vsearch with multi threads. Thanks for your suggestions @tseemann. The modification can be done for the usearch_multi.py from line 26 to 39.

Here is the updated code:

 #run usearch
                args = []
                args.append(USEARCH_PATH)
                args.append('--usearch_global')
                args.append(path + sp + '/genes/' + prot1)
                args.append('--db')
                args.append(path + sp + '/genes/'  + prot2)
                args.append('--id')
                args.append('0.7')
                args.append('--threads')
                args.append('32')  ## This can be changed based on your dataset
                args.append('--strand')
                args.append('plus')
                args.append('--blast6out')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants