Developer’s guide¶
Code organization¶
The top level directory is organized in the following directories:
pysamCode specific to pysam
docThe documentation. To build the latest documention type:
make -C doc html
testsCode and data for testing and benchmarking
htslibSource code from htslib shipped with pysam. See
import.pyabout importing.samtoolsSource code from csamtools shipped with pysam. See
import.pyabout importing.bcftoolsSource code from cbcftools shipped with pysam. See
import.pyabout importing.
Importing new versions of htslib and samtools¶
See instructions in import.py to import the latest
version of htslib, samtools and bcftools.
Benchmarking¶
To run the benchmarking suite, make sure that pytest-benchmark is installed. To run all benchmarks, type:
pytest tests/*_bench.py
See Benchmarking for more on this topic.
Contributors¶
Please see github for a list of all contributors:
https://github.com/pysam-developers/pysam/graphs/contributors
Many thanks to all contributors for helping in making pysam useful.