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

allpairs_global option #47

Closed
nhoffman opened this issue Dec 6, 2014 · 7 comments
Closed

allpairs_global option #47

nhoffman opened this issue Dec 6, 2014 · 7 comments

Comments

@nhoffman
Copy link

nhoffman commented Dec 6, 2014

Hello, very excited to see this project. If you are taking requests for usearch features, I would personally find the allpairs_global option useful. See http://www.drive5.com/usearch/manual/allpairs_global.html Thanks!

@torognes
Copy link
Owner

torognes commented Dec 6, 2014

Thanks for your suggestion. We will consider adding this feature.

@torognes
Copy link
Owner

torognes commented Dec 8, 2014

The new allpairs_global option is now implemented. It performs optimal global alignment of all pairs of sequences in the specified file. It uses no heuristics and is multi-threaded. It reports all alignments when the --acceptall option is specified, otherwise use the --id option and other accept/reject options.

@torognes torognes closed this as completed Dec 8, 2014
@nhoffman
Copy link
Author

nhoffman commented Dec 9, 2014

Many thanks!

@torognes
Copy link
Owner

torognes commented Dec 9, 2014

I hope it works as it should. As it performs an optimal alignment for all pairs of sequences it may be slower than usearch in some cases, but in return you are guaranteed the optimal alignment for all. Also, it's multi-threaded. Please report any problems you may encounter.

@frederic-mahe
Copy link
Collaborator

I've tested all options. Everything works correctly, except the --acceptall option:

vsearch --allpairs_global tmp.fas --acceptall --userout tmp.userout
vsearch v1.0.4_linux_x86_64, 15.6GB RAM, 4 cores

Fatal error: Specify either --acceptall or --id with an identity from 0.0 to 1.0

I've tried all possible combination of --acceptall and output options, none of them works.

I was also wondering if the --sizein option should be accepted too? It would shorten the sequence identifiers in output files.

@torognes
Copy link
Owner

torognes commented Dec 9, 2014

Sorry for that bug. Resolved in 1.0.5.

@torognes torognes closed this as completed Dec 9, 2014
@torognes
Copy link
Owner

How should the --sizein option work in this case. I do not understand.

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

No branches or pull requests

3 participants