samtools部分功能推荐

-c
Instead of printing the alignments, only count them and print the total number. All filter options, such as -f, -F, and -q, are taken into account.

-s FLOAT
Output only a proportion of the input alignments. This subsampling acts in the same way on all of the alignment records in the same template or read pair, so it never keeps a read but not its mate.

The integer and fractional parts of the -s INT.FRAC option are used separately: the part after the decimal point sets the fraction of templates/pairs to be kept, while the integer part is used as a seed that influences which subset of reads is kept.

When subsampling data that has previously been subsampled, be sure to use a different seed value from those used previously; otherwise more reads will be retained than expected.

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi阅读 7,452评论 0 10
  • The Inner Game of Tennis W Timothy Gallwey Jonathan Cape ...
    网事_79a3阅读 12,303评论 3 20
  • vivid晓慧阅读 100评论 0 1
  • 无题 柴米油盐酱醋茶,平凡日子不离它。 衣食住用行天下,哪个活得又潇洒。 酒色财气喜风趣,适度才能顺天意。 工作日...
    AL阿林阅读 229评论 1 2
  • 不能因为一两次的落后下降而影响情绪,调整步伐继续前进。人生是场马拉松。 明天的清明节,看来不会雨纷纷了,风总是太多...
    葭溪阅读 106评论 0 1