ncbi / sra-tools

SRA Tools
Other
1.14k stars 249 forks source link

Issue with `--max-size u` Argument in Prefetch #942

Closed ChongLC closed 5 months ago

ChongLC commented 5 months ago

Dear developer,

According to the "Check the maximum-size limit of the 'prefetch' tool" section of the GitHub wiki page, it appears possible to provide an unlimited maximum size argument using --max-size u. However, I encountered an issue when running the following command:

prefetch SRR15887667 --max-size U -o test_run

The error message received was:

2024-06-22T14:08:09 prefetch.2.10.0 err: param invalid while parsing argument list - Maximum requested file size is zero

Could you please assist me in resolving this issue? Thank you.

Best regards, Chong

durbrow commented 5 months ago

prefetch SRR15887667 --max-size U -o test_run

The command line options and parameters are case sensitive. The expected value in this case is 'u' (lower case).

ChongLC commented 5 months ago

I tried with the lower case too. It also gives the same error.

prefetch SRR15887667 --max-size u -o test_run 2024-06-24T14:28:06 prefetch.2.10.0 err: param invalid while parsing argument list - Maximum requested file size is zero

klymenko commented 5 months ago

download the latest toolkit

ChongLC commented 5 months ago

Thank you. It works well with the latest toolkit.