while read 命令
ls *txt* | while read line; do other-operate-command; done
cut -f 命令 提取文件中第17 20列
zcat xcx.tsv.gz | cut -f 17,20 | head -n 10
uniq 命令 , -c 统计数目,uniq命令只能够剔除临近行,所以使用uniq之前一定要进行sort命令
cat tmp.txt| sort| uniq -c
sort 根据第四列的数值进行倒序排序
-g, --general-numeric-sort, compare according to general numerical value
-r, --reverse
zcat count.fithichip_1k.loop_info.bedpe.gz| head | sort -k4,4gr