首页 > 其他 > 详细

manu check RAID GEM count and Fragment count of local FN>1

时间:2021-06-26 23:50:25      阅读:31      评论:0      收藏:0      [点我收藏+]

cat MANU_CHK.sh


echo "input Chr"
read C
echo "input Start"
read S
echo "input End"
read E

cat $C.bed|awk -v s=$S -v e=$E ‘{if($2>=s && $3<=e)print}‘|cut -f5,6|sort|uniq -c|awk -v OFS="\t" ‘{if($1>1)print $2,$3,$1}‘|awk ‘BEGIN{S=0;G=0}{S=S+$3;G=G+1}END{print "total GEM count = "G"  total fragment count = "S}‘
sh MANU_CHK.sh
input Chr
chr3R
input Start
3711265
input End
3953741
total GEM count = 1028  total fragment count = 2361

manu check RAID GEM count and Fragment count of local FN>1

原文:https://www.cnblogs.com/3Dgenome/p/14939216.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!