- 博客(2)
- 收藏
- 关注
原创 pysam写入数据记录时的reference_id和reference_name间的链接
在使用python 中的pysam模块写入数据时,reference_id 可以通过reference_name来指定所想输入的id号:import pysaminfile = pysam.AlignmentFile("test.bam", "rb")#以infile作为模板传入,可使outfile 所指的bam文件与infile具有相同的标题部分outfile = pysam.AlignmentFile("out.bam", "wb", template = infile)#查看in
2022-02-22 10:55:11
1001
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人