加载中…
个人资料
  • 博客等级:
  • 博客积分:
  • 博客访问:
  • 关注人气:
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

samtools学习笔记

(2016-03-16 15:26:36)
分类: 生物信息学
1: samtools版本:1.3

2:使用stats对比对的结果做统计,在安装samtools目录的下找到plot-bamstats(该程序依赖 gnu plot)对统计结果做图

参考命令:

samtools stats -r hg19.fa outfilesort.bam >outfile.bc
perl misc/plot-bamstats -p outfile.bc outfile.bc

3:输入bed文件,统计bed各个区间的coverage
samtools bedcov
Usage: samtools bedcov [options] [...]

  -Q INT       Only count bases of at least INT quality [0]
      --input-fmt-option OPT[=VAL]
               Specify a single input file format option in the form
               of OPTION or OPTION=VALUE
      --reference FILE
               Reference sequence FASTA FILE [null]


参考链接:https://www.genedock.com/blog/2015/12/17/samtools_upgrade1.3/

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有