不积小流 , 无以成江海 !分享 http://blog.sciencenet.cn/u/xiongchaoliang

博文

bed 转 bam/sam ?

已有 6551 次阅读 2014-11-30 00:17 |个人分类:【技术-脚本】|系统分类:科研笔记

bed如何转 bam/sam???

可用bedtools的bedToBam:

[noncode@gnode108 ~]$ bedToBam 

Program: bedToBam (v2.12.0)

Author:  Aaron Quinlan (aaronquinlan@gmail.com)

Summary: Converts feature records to BAM format.


Usage:   bedToBam [OPTIONS] -i <bed/gff/vcf> -g <genome>

Options:

       -mapq        Set the mappinq quality for the BAM records.(INT) Default: 255

       -bed12        The BED file is in BED12 format.  The BAM CIGAR string will reflect BED "blocks".

       -ubam        Write uncompressed BAM output. Default is to write compressed BAM.


Notes:

       (1)  BED files must be at least BED4 to be amenable to BAM (needs name field).




https://wap.sciencenet.cn/blog-1509670-847331.html

上一篇:图解SOAPdenovo拼接过程
下一篇:bam 转 bedgraph
收藏 IP: 159.226.43.*| 热度|

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...
扫一扫,分享此博文

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-5-6 08:42

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部