peppy is a python package that provides an API for handling standardized project and sample metadata.
If you define your project in Portable Encapsulated Project (PEP) format,
you can use the
peppy package to instantiate an in-memory representation of your project and sample metadata.
You can then use
peppy for interactive analysis, or to develop python tools so you don't have to handle sample processing.
peppy is useful to tool developers and data analysts who want a standard way of representing sample-intensive research project metadata.
A PEP is a collection of metadata files conforming to a standardized structure.
These files are written using the simple YAML and TSV/CSV formats,
and they can be read by a variety of tools in the pep toolkit, including
peppy. If you don't already understand why the PEP concept is useful to you,
start by reading the
where you can also find example projects.
peppy provides and API with which to interact from Python with PEP metadata.
This is often useful on its own, but the big wins include:
There are two main kinds of user that may have interest:
If you neither of those describes you, you may be interested in pepr (R package),
which provides an R interface to PEP objects, or looper (command-line application),
which lets you run any command-line tool or pipeline on samples in a project. Read more about those and other tools on the
As a tool developer, you should
import peppy in your python tool and read PEP projects as its input.
This will simplify use of your tool, because users may already have PEP-formatted projects for other tools.
peppy provides an easy way to read project metadata into Python.
You will have access to an API to access samples and their attributes, facilitating downstream analysis.