Skip to content

Latest commit

 

History

History
89 lines (64 loc) · 3.2 KB

index.rst

File metadata and controls

89 lines (64 loc) · 3.2 KB

haptools

Haptools is a collection of tools for simulating and analyzing genotypes and phenotypes while taking into account haplotype and ancestry information.

We support fast simulation of admixed genomes, visualization of admixture tracks, simulating haplotype- and local ancestry-specific phenotype effects, and computing a variety of common file operations and statistics in a haplotype-aware manner.

At the core of haptools lies the :doc:`.hap file </formats/haplotypes>`, our new file format for haplotypes designed for speed, extensibility, and ease-of-use.

Commands

Overview of haptools commands

Outputs produced by these utilities are compatible with each other. For example haptools simgenotype outputs a VCF file with local ancestry information annotated for each variant. The VCF and breakpoints file output by haptools simgenotype can be used as input to haptools transform, which is then used by haptools simphenotype to simulate phenotypes for a list of haplotypes. The local ancestry breakpoints from haptools simgenotype can also be visualized using haptools karyogram.

Contributing

We gladly welcome any contributions to haptools!

Please read our :doc:`contribution guidelines </project_info/contributing>` and then submit a Github issue.

.. toctree::
   :caption: Overview
   :name: overview
   :hidden:
   :maxdepth: 1

   project_info/installation
   project_info/contributing

.. toctree::
   :caption: File Formats
   :name: formats
   :hidden:
   :maxdepth: 1

   formats/genotypes.rst
   formats/haplotypes.rst
   formats/phenotypes.rst
   formats/breakpoints.rst
   formats/sample_info.rst
   formats/models.rst
   formats/maps.rst

.. toctree::
   :caption: Commands
   :name: commands
   :hidden:
   :maxdepth: 1

   commands/simgenotype.rst
   commands/simphenotype.rst
   commands/karyogram.rst
   commands/transform.rst
   commands/index.rst
   commands/ld.rst

.. toctree::
   :caption: API
   :name: api
   :hidden:
   :maxdepth: 1

   api/data
   api/modules
   api/examples