ncbi-genome-download
ncbi-genome-download copied to clipboard
Progress bar in bash
Since I do not use this software for biological work, I'm not sure the value. But during my testing if I downloaded a lot of files, I had no idea if the program was working or not unless I looked my file system to see the new directories. Would a progress bar be something you are interested in?
Something like this sample output: Progress: |█████████████████████████████████████████████-----| 90.0% Complete
Hi,
Using also ncbi-genome-download
a lot for biological banks update, what about using progressbar2
? https://pypi.python.org/pypi/progressbar2
It looks quite simple.
Regards
Provided this does not interfere with running this from a script, I like the idea.
Might be a bit tricky to implement, as we are reading the assembly_summary.txt
file line by line, and don't really know how many records we need to download until that is done. Then, we start a process pool to run the actual downloads in parallel, so syncing this up with whatever part of the code does the download might also be non-trivial.