Skip to content
プロジェクト

概要

Pysamは、SAM/BAM/CRAMやVCF/BCFファイルなどのゲノムデータを読み取り、操作し、書き込むためのPythonパッケージです。samtools、bcftools、tabixも利用しているHTSlib APIを、軽量なラッパーとして提供します。

科学・工学

この数値の測り方

計測したスター増加

24時間
0
7日間
0
15日間
+1
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

Pysam

build status Documentation Status

Pysam is a python module for reading and manipulating files in the SAM/BAM format. The SAM/BAM format is a way to store efficiently large numbers of alignments (Li 2009), such as those routinely created by next-generation sequencing methods.

Pysam is a lightweight wrapper of the samtools C-API. Pysam also includes an interface for tabix.

If you are using the conda packaging manager (e.g. miniconda or anaconda), you can install pysam from the bioconda channel:

conda config --add channels bioconda
conda config --add channels conda-forge
conda config --set channel_priority strict
conda install pysam

Installation through bioconda is the recommended way to install pysam as it resolves non-python dependencies and uses pre-configured compilation options. Especially for OS X this will potentially save a lot of trouble.

The current version of pysam wraps 3rd-party code from htslib-1.25, samtools-1.25, and bcftools-1.25.

Pysam is available through PyPI. To install, type:

pip install pysam

Pysam documentation is available here

Questions and comments are very welcome and should be sent to the pysam user group

関連プロジェクトを探す

読み込み中…