Portable Microhaplotype Object (PMO)Portable Microhaplotype Object (PMO) Portable Microhaplotype Object (PMO)
  • Home
  • Format Info
    • Overview of Format

    • PMO fields overview
    • PMO within a Data Analysis Ecosystem
    • History of Format Development

    • History of how PMO Format was derived
    • Overview of Format For Bioinformaticians

    • PMO Examples
    • Format Overview For Developers
  • PMO App
  • pmotools-python
    • Overview
    • Installation
    • Manual
    • Python Interface Tutorials
    • Building a PMO with minimum required fields
    • Updating the Specimen Meta Information in a minimum PMO
    • Building a PMO including optional sections and fields
    • Getting basic information from a PMO file
    • Command line Interface Tutorials
    • Command line interface guide
    • Extracting allele tables from a PMO
    • Subsetting a PMO
    • Getting basic information from a PMO
    • Extracting panel info from PMO
    • Handling Multiple PMOs
    • Validating PMO files
  • Resources
    • References
    • Documentation
    • Documentation Source Code
    • Comment or Report an issue for Documentation

    • pmotools-python
    • pmotools-python Source Code
    • Comment or Report an issue for pmotools-python

Contents

  • What pmotools-python provides
  • Getting started

Getting started with pmotools-python

pmotools-python is the Python toolkit for working with Portable Microhaplotype Object (PMO) files.

What pmotools-python provides

pmotools-python supports the PMO adoption in two complementary ways:

  • Python library - Building or updating PMOs in pipelines, notebooks, or custom scripts
  • Command-line interface - Quick inspection, validation, subsetting, and export without writing Python

Not comfortable with Python or the command line? You can build and validate a PMO in your browser with the PMO App—no installation required.

Getting started

To get started, install the pmotools-python package. Installation instructions

Source Code
---
title: Getting started with pmotools-python
---

```{r setup, echo=F}
source("../common.R")
```

**pmotools-python** is the Python toolkit for working with [Portable Microhaplotype Object (PMO)](../index.qmd) files.

## What pmotools-python provides

pmotools-python supports the PMO adoption in two complementary ways:

- **Python library** - Building or updating PMOs in pipelines, notebooks, or custom scripts
- **Command-line interface** - Quick inspection, validation, subsetting, and export without writing Python

::: {.callout-note appearance="simple"}
Not comfortable with Python or the command line? You can build and validate a PMO in your browser with the [PMO App](../pmotools-app-usage/pmotools-app.qmd)—no installation required.
:::

## Getting started

To get started, install the pmotools-python package.
[{{< fa arrow-up-right-from-square >}} Installation instructions](../Tools_Installation/pmotools-python_installation.qmd){.btn .btn-primary}
 

A PlasmoGenEpi project