torognes / vsearch

Versatile open-source tool for microbiome analysis
Other
643 stars 123 forks source link

maxseqlength is not supported by makeudb_search command #523

Closed javieriserte closed 10 months ago

javieriserte commented 1 year ago

Here's a minimal code to reproduce the error.

printf '>S1\n%*s' 11 | tr ' ' 'A' | vsearch --makeudb_usearch - --maxseqlength 10 --output a.udb

I get this error:

Fatal error: Invalid options to command makeudb_usearch
Invalid option(s): --maxseqlength
The valid options for the makeudb_usearch command are: --bzip2_decompress --dbmask --gzip_decompress --hardmask --log --minseqlength --no_progress --notrunclabels --output --quiet --threads --wordlength

--maxseqlength is a general option and should be available for all commands.

torognes commented 1 year ago

You're right, this option should be available for the --makeudb_usearch command. Thanks for reporting!

frederic-mahe commented 1 year ago

I've added tests covering that particular issue https://github.com/frederic-mahe/vsearch-tests/commit/230418efc43f503cae7dfdd4530f26f905f13980

torognes commented 1 year ago

Fixed in commit 3ec2202.

frederic-mahe commented 10 months ago

Fix confirmed, I am closing this issue. Thanks!