How to do it...

Let's take a look at the following steps:

  1. Let's start by checking what plugins are available:
import pandas as pdfrom qiime2.metadata.metadata import Metadatafrom qiime2.metadata.metadata import CategoricalMetadataColumnfrom qiime2.sdk import Artifactfrom qiime2.sdk import PluginManagerfrom qiime2.sdk import Resultpm = PluginManager()demux_plugin = pm.plugins['demux']#demux_emp_single = demux_plugin.actions['emp_single']demux_summarize = demux_plugin.actions['summarize']print(pm.plugins)

We are also accessing the demultiplexing plugin and its summarize action.

  1. Let's take a peek at the summarize action, namely inputs, outputs, and parameters:
print(demux_summarize.description)demux_summarize_signature = demux_summarize.signature ...

Get Bioinformatics with Python Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.