rpetit3 / fastq-dl

Download FASTQ files from SRA or ENA repositories.
MIT License
272 stars 25 forks source link

Add progress info #28

Open mbhall88 opened 1 month ago

mbhall88 commented 1 month ago

I guess this could be done using -p in both prefetch and fasterq-dump and then hooking the stderr for those processes straight into sys.stderr. And then for ENA downloads, we could just add some progress options to the current wget command - e.g., wget --quiet --show-progress --progress=bar -O <fastq> <URL>

One question would be would progress be on by default or off by default? We can obviously provide options to force the opposite of the default.

rpetit3 commented 1 month ago

Let me think about implementation, but if done I say opt-in with --progress which is similar to rclone