Mercurial > hg > cc > cirrus_work
view bin/do_idx.sh @ 103:7d58dc01f329
re-instate logging splits for .idx
author | Henry S. Thompson <ht@inf.ed.ac.uk> |
---|---|
date | Wed, 13 Sep 2023 12:40:39 +0100 |
parents | e2e64c3d763e |
children | 9403c02d5034 |
line wrap: on
line source
#!/bin/bash export res="$1" orig="$2" merge_date.py <(LC_ALL=C sort -m -k1,2 -s $res/ks_[0-9]*.tsv) $orig $res/idx |\ parallel -j 10 'echo {#} {} >$res/merge_{#}.log echo $(date) {#} {} export res split -l 3000 --filter="igzip -c | \ tee >(wc -c >> \ $res/merge_{#}.log)" \ {} > {}.gz && \ rm {}'