# \#artifact-api

**URL:** https://forum.qiime2.org/tag/artifact-api/41.md

[Latest](https://forum.qiime2.org/latest.md) · [Categories](https://forum.qiime2.org/categories.md) · [Tags](https://forum.qiime2.org/tags.md)

---

## [Working with FeatureData\[Sequence\] in Jupyter](https://forum.qiime2.org/t/working-with-featuredata-sequence-in-jupyter/32701)

<div class="topic-metadata">

**Author:** [@vimh](https://forum.qiime2.org/u/vimh)\
**Replies:** 3\
**Last updated:** [March 11, 2025, 9:05pm UTC](https://forum.qiime2.org/t/working-with-featuredata-sequence-in-jupyter/32701 "2025-03-11T21:05:21Z")

</div>

Hello! I'm just moving from command line to q2-api via jupyter notebook. The issue I'm facing right now is related to my need to see the repseqs (FeatureData\[Sequence\]) produced by dada2 in a pd.DataFrame. After consid…

---

## [Exporting barplot to .qzv from python API](https://forum.qiime2.org/t/exporting-barplot-to-qzv-from-python-api/29871)

<div class="topic-metadata">

**Author:** [@sklasek](https://forum.qiime2.org/u/sklasek)\
**Replies:** 3\
**Last updated:** [April 12, 2024, 7:40pm UTC](https://forum.qiime2.org/t/exporting-barplot-to-qzv-from-python-api/29871 "2024-04-12T19:40:25Z")

</div>

Hello, I'm a new qiime user trying to make and view a taxonomy barplot within the python API in a jupyter notebook. I've imported FeatureTable\[Frequency\] and featureData\[Taxonomy\] objects and created a barplot with them…

---

## [Feature table importing](https://forum.qiime2.org/t/feature-table-importing/25194)

<div class="topic-metadata">

**Author:** [@kam](https://forum.qiime2.org/u/kam)\
**Replies:** 2\
**Last updated:** [January 11, 2023, 2:58pm UTC](https://forum.qiime2.org/t/feature-table-importing/25194 "2023-01-11T14:58:36Z")

</div>

Hi! I have a feature table I recived from collaborator, using Qiime1 to process the sequences. It looks like feature tables usually look, with first coulmn containing feature information and each coulmn is a sample wit…

---

## [export disparity results from procrustes analysis into string](https://forum.qiime2.org/t/export-disparity-results-from-procrustes-analysis-into-string/21776)

<div class="topic-metadata">

**Author:** [@zzkar](https://forum.qiime2.org/u/zzkar)\
**Replies:** 2\
**Last updated:** [January 12, 2022, 10:46pm UTC](https://forum.qiime2.org/t/export-disparity-results-from-procrustes-analysis-into-string/21776 "2022-01-12T22:46:48Z")

</div>

Hi, I have performed procrustes analysis vis python api (qiime2-2021.11). I have managed to export normalised ordinations into pandas, however I cannot figure out how to export disparity results into a string format - I…

---

## [Trouble viewing a summary of joined data using Artifact API](https://forum.qiime2.org/t/trouble-viewing-a-summary-of-joined-data-using-artifact-api/18771)

<div class="topic-metadata">

**Author:** [@Jay](https://forum.qiime2.org/u/Jay)\
**Replies:** 2\
**Last updated:** [March 8, 2021, 6:26am UTC](https://forum.qiime2.org/t/trouble-viewing-a-summary-of-joined-data-using-artifact-api/18771 "2021-03-08T06:26:34Z")

</div>

Hello, I have trouble viewing a summary of joined data using Artifact API. I tried to do the QIIME tutorial named "Alternative methods of read-joining in QIIME 2" using Artifact API. However, I got some error messages. …

---

## [Longitudinal ANOVA using the artifact API](https://forum.qiime2.org/t/longitudinal-anova-using-the-artifact-api/17251)

<div class="topic-metadata">

**Author:** [@Alxdu](https://forum.qiime2.org/u/Alxdu)\
**Replies:** 5\
**Last updated:** [October 28, 2020, 9:22pm UTC](https://forum.qiime2.org/t/longitudinal-anova-using-the-artifact-api/17251 "2020-10-28T21:22:53Z")

</div>

Hi all, I really enjoy using the artifact API to create jupyter notebooks for all my work with Qiime2. But due to little documentation for plugin usage with the python API I need your help using the longitudinal ANOVA …

---

## [I'm having a technical issue following the Artifact API page](https://forum.qiime2.org/t/im-having-a-technical-issue-following-the-artifact-api-page/16614)

<div class="topic-metadata">

**Author:** [@sbslee](https://forum.qiime2.org/u/sbslee)\
**Replies:** 3\
**Last updated:** [September 18, 2020, 11:48pm UTC](https://forum.qiime2.org/t/im-having-a-technical-issue-following-the-artifact-api-page/16614 "2020-09-18T23:48:33Z")

</div>

Hi, I'm relatively new to QIIME2 and this is my very first post at the forum. First off, thank you very much for your hard work! QIIME2 is one of the most well-documented and easy-to-use tools I have worked with. That s…

---

## [Artifact API Import Error for Series of Sequences](https://forum.qiime2.org/t/artifact-api-import-error-for-series-of-sequences/15886)

<div class="topic-metadata">

**Author:** [@jwdebelius](https://forum.qiime2.org/u/jwdebelius)\
**Replies:** 9\
**Last updated:** [July 29, 2020, 4:09pm UTC](https://forum.qiime2.org/t/artifact-api-import-error-for-series-of-sequences/15886 "2020-07-29T16:09:10Z")

</div>

Hi all, I recently upgraded to qiime2-2020.6. I have some old code from qiime2-2020.2 where I was importing some test data: import pandas as pd from skbio import DNA from qiime2 import Artifact region1\_db\_seqs = Artif…

---

## [importing feature tables as Pandas df with artifact API](https://forum.qiime2.org/t/importing-feature-tables-as-pandas-df-with-artifact-api/15530)

<div class="topic-metadata">

**Author:** [@hsapers](https://forum.qiime2.org/u/hsapers)\
**Replies:** 7\
**Last updated:** [July 2, 2020, 11:27pm UTC](https://forum.qiime2.org/t/importing-feature-tables-as-pandas-df-with-artifact-api/15530 "2020-07-02T23:27:10Z")

</div>

Hello, I've done most of my contaminant removal and inspection in python and I'd like to re-import the new feature table as a qiime2 artifact. I have the feature table in a wide-format df with the index as sample\_id. I w…

---

## [Attributes and usage of artifact objects in python](https://forum.qiime2.org/t/attributes-and-usage-of-artifact-objects-in-python/15247)

<div class="topic-metadata">

**Author:** [@IreneSA](https://forum.qiime2.org/u/IreneSA)\
**Replies:** 2\
**Last updated:** [June 6, 2020, 10:16pm UTC](https://forum.qiime2.org/t/attributes-and-usage-of-artifact-objects-in-python/15247 "2020-06-06T22:16:00Z")

</div>

Hi everyone! First of all I would like to thank you all for the help you give here, you're so valueable!! I've found a lot of posts that really helped me, but unluckly this doesn't seem to be enough for the newbie like …

---

## [problem in merge some diffierent alpha-diversity index to one file.](https://forum.qiime2.org/t/problem-in-merge-some-diffierent-alpha-diversity-index-to-one-file/15056)

<div class="topic-metadata">

**Author:** [@LFE](https://forum.qiime2.org/u/LFE)\
**Replies:** 2\
**Last updated:** [May 23, 2020, 4:39am UTC](https://forum.qiime2.org/t/problem-in-merge-some-diffierent-alpha-diversity-index-to-one-file/15056 "2020-05-23T04:39:07Z")

</div>

hello, guys, I am working on alpha-diversities and I need 5 diffietent diversities. I use command line to import OTU table to import a .qza file. \> biom convert -i otu\_table.txt -o table.from\_txt\_json.biom --table-…

---

## [convert SampleData\[DADA2Stats\] to pandas dataframe?](https://forum.qiime2.org/t/convert-sampledata-dada2stats-to-pandas-dataframe/14761)

<div class="topic-metadata">

**Author:** [@hsapers](https://forum.qiime2.org/u/hsapers)\
**Replies:** 3\
**Last updated:** [May 3, 2020, 6:46pm UTC](https://forum.qiime2.org/t/convert-sampledata-dada2stats-to-pandas-dataframe/14761 "2020-05-03T18:46:32Z")

</div>

Hello - I'm trying to work with the stats artifact output of denoise-paired as a data frame using the artifact API and Jupyter notebooks. To generate the qiime2 artifact I ran the following: qiime dada2 denoise-paired \\…

---

## [Accessing index.html from Qiime2 Visualization in Artifact API](https://forum.qiime2.org/t/accessing-index-html-from-qiime2-visualization-in-artifact-api/13369)

<div class="topic-metadata">

**Author:** [@gibsramen](https://forum.qiime2.org/u/gibsramen)\
**Replies:** 2\
**Last updated:** [January 29, 2020, 6:59pm UTC](https://forum.qiime2.org/t/accessing-index-html-from-qiime2-visualization-in-artifact-api/13369 "2020-01-29T18:59:03Z")

</div>

Hi, all. I'm using songbird through the Artifact API and I have a question that I think applies broadly to Visualizations. What I would like to do is retrieve the html itself from a Visualization in Python (i.e. the con…

---

## [API type conversion](https://forum.qiime2.org/t/api-type-conversion/12879)

<div class="topic-metadata">

**Author:** [@abhishake](https://forum.qiime2.org/u/abhishake)\
**Replies:** 4\
**Last updated:** [December 15, 2019, 4:08pm UTC](https://forum.qiime2.org/t/api-type-conversion/12879 "2019-12-15T16:08:39Z")

</div>

In short, is there any way to convert qiime2.sdk.results.Results to qiime2.sdk.result.Artifact? Details: I needed to trim my database sequence and then blast my ASVs against the trimmed database. The codes I used were …

---

## [Load DistanceMatrix Artifact to DataFrame](https://forum.qiime2.org/t/load-distancematrix-artifact-to-dataframe/11660)

<div class="topic-metadata">

**Author:** [@Marija\_Durdevic](https://forum.qiime2.org/u/Marija_Durdevic)\
**Replies:** 2\
**Last updated:** [September 25, 2019, 10:51am UTC](https://forum.qiime2.org/t/load-distancematrix-artifact-to-dataframe/11660 "2019-09-25T10:51:29Z")

</div>

Hi all, I am trying to load DistanceMatrix Artifact to Pandas DataFrame: Artifact.load("jaccarddistancematrix.qza").view(pd.DataFrame) Exception: No transformation from \<class 'qiime2.plugin.model.directory\_format.Dis…

---

## [Open FeatureData in Artifact API](https://forum.qiime2.org/t/open-featuredata-in-artifact-api/5202)

<div class="topic-metadata">

**Author:** [@samuel.drouin](https://forum.qiime2.org/u/samuel.drouin)\
**Replies:** 4\
**Last updated:** [July 27, 2018, 12:46am UTC](https://forum.qiime2.org/t/open-featuredata-in-artifact-api/5202 "2018-07-27T00:46:46Z")

</div>

Hi, I am trying to write a small python script that process MiSeq samples through Qiime 2 with Artifact API and plugins to generate taxonomy data. The steps are as follow : cutadapt -\> import in Qiime 2 -\> DADA2 -\> cl…

---

## [Using API interface for q2-sample-classifier](https://forum.qiime2.org/t/using-api-interface-for-q2-sample-classifier/4510)

<div class="topic-metadata">

**Author:** [@nricks](https://forum.qiime2.org/u/nricks)\
**Replies:** 4\
**Last updated:** [June 15, 2018, 1:39pm UTC](https://forum.qiime2.org/t/using-api-interface-for-q2-sample-classifier/4510 "2018-06-15T13:39:48Z")

</div>

Are there more tutorials on API interface other than this one? Artifact API — QIIME 2 2018.4.0 documentation This seems to give a very limited number of options on what you can do with it. Specifically I would like to…

---

## [Investigating sequence files via Python API](https://forum.qiime2.org/t/investigating-sequence-files-via-python-api/4358)

<div class="topic-metadata">

**Author:** [@cduvallet](https://forum.qiime2.org/u/cduvallet)\
**Replies:** 2\
**Last updated:** [June 3, 2018, 8:44pm UTC](https://forum.qiime2.org/t/investigating-sequence-files-via-python-api/4358 "2018-06-03T20:44:50Z")

</div>

I'm using the Python API to explore my data (and debug my plugin... :confounded:) - how can I access the data in a FeatureData\[Sequence\] artifact? For example, I want the equivalent of doing: import qiime2 as q2 import…

---

## [Calculate unweighted unifrac with artifact API](https://forum.qiime2.org/t/calculate-unweighted-unifrac-with-artifact-api/4162)

<div class="topic-metadata">

**Author:** [@vittoriot](https://forum.qiime2.org/u/vittoriot)\
**Replies:** 1\
**Last updated:** [May 16, 2018, 3:58pm UTC](https://forum.qiime2.org/t/calculate-unweighted-unifrac-with-artifact-api/4162 "2018-05-16T15:58:45Z")

</div>

Hi everyone, I am working on a 16S sequencing data set from multiple bulk soils. I clustered at 99% and taxonomically classified with the latest Silva. I did normalization outside of qiime2 using CSS from metagenomeseq.…

---

## [Add Metadata to artifact in artifact api](https://forum.qiime2.org/t/add-metadata-to-artifact-in-artifact-api/3798)

<div class="topic-metadata">

**Author:** [@mahermassoud](https://forum.qiime2.org/u/mahermassoud)\
**Replies:** 3\
**Last updated:** [April 26, 2018, 3:34am UTC](https://forum.qiime2.org/t/add-metadata-to-artifact-in-artifact-api/3798 "2018-04-26T03:34:28Z")

</div>

Given a qiime2 Artifact object, is there a way to add Metadata to it so when the Artifact is exported to file and then imported, the metadata remains? I looked at this post and it seems that I will use Metadata.from\_art…

---

## [Possible to do full QIIME 2 analysis using the Artifact API?](https://forum.qiime2.org/t/possible-to-do-full-qiime-2-analysis-using-the-artifact-api/3654)

<div class="topic-metadata">

**Author:** [@Luke\_Thompson](https://forum.qiime2.org/u/Luke_Thompson)\
**Replies:** 1\
**Last updated:** [April 5, 2018, 4:26pm UTC](https://forum.qiime2.org/t/possible-to-do-full-qiime-2-analysis-using-the-artifact-api/3654 "2018-04-05T16:26:59Z")

</div>

The Artifact API tutorial assumes one has already created a feature table Artifact using the command-line interface. Is it possible to do a full QIIME 2 analysis (including demultiplexing, OTU/ASV picking, etc.) using on…

---

## [Artifact API conda error](https://forum.qiime2.org/t/artifact-api-conda-error/3429)

<div class="topic-metadata">

**Author:** [@jwdebelius](https://forum.qiime2.org/u/jwdebelius)\
**Replies:** 1\
**Last updated:** [March 15, 2018, 12:41pm UTC](https://forum.qiime2.org/t/artifact-api-conda-error/3429 "2018-03-15T12:41:53Z")

</div>

Hi Qiime 2 dev team, I'm trying to install the artifact interface according to the installation instruction listed on the webpage (https://docs.qiime2.org/2018.2/interfaces/artifact-api/). I can uninstall the feature ta…

---

## [Determine minimum read length of demux artifact](https://forum.qiime2.org/t/determine-minimum-read-length-of-demux-artifact/3017)

<div class="topic-metadata">

**Author:** [@mahermassoud](https://forum.qiime2.org/u/mahermassoud)\
**Replies:** 3\
**Last updated:** [March 2, 2018, 6:26pm UTC](https://forum.qiime2.org/t/determine-minimum-read-length-of-demux-artifact/3017 "2018-03-02T18:26:17Z")

</div>

I have a demux object and I want to determine what is the shortest read in it-- and in general be able to see the read lengths. How can I do this (preferably using the Artifact API)?

---

## [Python API: visualizations](https://forum.qiime2.org/t/python-api-visualizations/3097)

<div class="topic-metadata">

**Author:** [@tomasz](https://forum.qiime2.org/u/tomasz)\
**Replies:** 2\
**Last updated:** [February 19, 2018, 7:04pm UTC](https://forum.qiime2.org/t/python-api-visualizations/3097 "2018-02-19T19:04:57Z")

</div>

Hello! how can I visualize visualization objects in Jupyter? For example, I run feature\_table.visualizers.tabulate\_seqs(deblur\_sequences.representative\_sequences) and all I get is this: Results (name = value) -------…

---

## [Python API: Importing QIIME2 plugins](https://forum.qiime2.org/t/python-api-importing-qiime2-plugins/3096)

<div class="topic-metadata">

**Author:** [@tomasz](https://forum.qiime2.org/u/tomasz)\
**Replies:** 1\
**Last updated:** [February 19, 2018, 5:57pm UTC](https://forum.qiime2.org/t/python-api-importing-qiime2-plugins/3096 "2018-02-19T17:57:32Z")

</div>

Hi! Why do I have to import each of qiime2.plugins separately? If I do import qiime2, I must follow it with (e.g.) from qiime2.plugins import diversity. Why doesn't qiime2.plugins.diversity work after importing all of …

---

## [Imort FASTQ with manifest via Artifact API?](https://forum.qiime2.org/t/imort-fastq-with-manifest-via-artifact-api/2755)

<div class="topic-metadata">

**Author:** [@mamillerpa](https://forum.qiime2.org/u/mamillerpa)\
**Replies:** 3\
**Last updated:** [February 16, 2018, 11:44pm UTC](https://forum.qiime2.org/t/imort-fastq-with-manifest-via-artifact-api/2755 "2018-02-16T23:44:59Z")

</div>

I would like to start using the artifact api =-O I use a mixture of the CLI and the Studio now. I see that when I have an Active Job running, I can click on the job and see some Python code. For a DADA2 job , it might…

---

## [How to use modified plugin in CLI or artifact API](https://forum.qiime2.org/t/how-to-use-modified-plugin-in-cli-or-artifact-api/2629)

<div class="topic-metadata">

**Author:** [@mahermassoud](https://forum.qiime2.org/u/mahermassoud)\
**Replies:** 2\
**Last updated:** [January 22, 2018, 7:02pm UTC](https://forum.qiime2.org/t/how-to-use-modified-plugin-in-cli-or-artifact-api/2629 "2018-01-22T19:02:15Z")

</div>

I have a modified version of q2-demux that I would like to test. I want view the webpage that comes up when you view the resultant qzv, by running the following command: qiime demux summarize \\ --i-data demux.qza \\ …

---

## [Trouble with API feature-table visualizer](https://forum.qiime2.org/t/trouble-with-api-feature-table-visualizer/2224)

<div class="topic-metadata">

**Author:** [@forestd](https://forum.qiime2.org/u/forestd)\
**Replies:** 3\
**Last updated:** [December 15, 2017, 5:04pm UTC](https://forum.qiime2.org/t/trouble-with-api-feature-table-visualizer/2224 "2017-12-15T17:04:44Z")

</div>

Hello, I'm a new QIIME2 user, and I've been experimenting with the Python Artifact API and trying to get through an analysis with it. I'm trying to use the feature\_table.visualizers.summarize() and feature\_table.visual…

---

## [Resources for Learning Programming in Artifact API](https://forum.qiime2.org/t/resources-for-learning-programming-in-artifact-api/2162)

<div class="topic-metadata">

**Author:** [@hulfred](https://forum.qiime2.org/u/hulfred)\
**Replies:** 4\
**Last updated:** [December 11, 2017, 7:28pm UTC](https://forum.qiime2.org/t/resources-for-learning-programming-in-artifact-api/2162 "2017-12-11T19:28:45Z")

</div>

Hi All, I just start to learn QIIME2 this week and tried to follow the tutorials on the official website. These tutorials are very comprehensive and helpful, I do appreciate it. However, it seems all of them are written…

---

## [Alignment mask API raise error while the command line version works](https://forum.qiime2.org/t/alignment-mask-api-raise-error-while-the-command-line-version-works/1778)

<div class="topic-metadata">

**Author:** [@spencerimp](https://forum.qiime2.org/u/spencerimp)\
**Replies:** 3\
**Last updated:** [November 13, 2017, 3:51pm UTC](https://forum.qiime2.org/t/alignment-mask-api-raise-error-while-the-command-line-version-works/1778 "2017-11-13T15:51:36Z")

</div>

Hi all, I tried the following code to generate masked sequence for phylogenetic diversity analysis. import qiime2 from qiime2.plugins.alignment.methods import mafft, mask rep\_seqs\_path = './pilot\_qza/gutxy\_pilot\_seqs.…

[Next page](https://forum.qiime2.org/tag/artifact-api/41.md?match_all_tags=true&page=1&tags%5B%5D=artifact-api)
