Pysam 打包 htslib C 代码, 处理 bam 等生物格式文件的 python 工具包,文档参考:https://pysam.readthedocs.io/en/latest/api.html
install
1 | pip search pysam |
解析sam
1 | import pysam |
解析fasta
1 | fp = pysam.FastaFile('fasta') |
解析VCF
1 | fp = pysam.VariantFile('vcf') |
Pysam 打包 htslib C 代码, 处理 bam 等生物格式文件的 python 工具包,文档参考:https://pysam.readthedocs.io/en/latest/api.html
1 | pip search pysam |
1 | import pysam |
1 | fp = pysam.FastaFile('fasta') |
1 | fp = pysam.VariantFile('vcf') |