Open ampinzonv opened 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.
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
commander::makecmd
commander::runcmd
helper::cat
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.