ampinzonv / BB2

BioBash UN official repository
Other
3 stars 1 forks source link

BBFile::uncompress support for uncompressing multiple files #4

Open ampinzonv opened 1 year ago

ampinzonv commented 1 year ago

CONTEXT

BBFile::uncompress un compresses a gzipped file.

PROBLEM The idea is that we should be able to determine that -i/--input is a file or a folder and therefore act accordingly.

SOLUTION If it is a folder then it should NOT ITERATE, but use xargs to uncompress in parallel, in that case a -j/--jobs switch will be desirable too.

koriege commented 4 months ago

you may want to have a look into this biobash project: bashbone and check out commander::makecmd and commander::runcmd as well as helper::cat