# sourcetracker2 plugin?

**URL:** <https://forum.qiime2.org/t/sourcetracker2-plugin/19688>\
**Category:** Library Support\
**Created:** [May 26, 2021, 3:00pm UTC](https://forum.qiime2.org/t/sourcetracker2-plugin/19688 "2021-05-26T15:00:25Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![cmartino](https://forum.qiime2.org/user_avatar/forum.qiime2.org/cmartino/32/3700_2.png) [@cmartino](https://forum.qiime2.org/u/cmartino)\
**Post date:** [May 28, 2021, 3:29pm UTC](https://forum.qiime2.org/t/sourcetracker2-plugin/19688/5 "2021-05-28T15:29:00Z")

</div>

Hi @clairewill22 and @Nicholas_Bokulich,

It looks pypi has not caught up with the master of sourcetracker2. There was also an error on the install with the citations.bib not tracking. I just put in a PR to their master repo with a fix for that. In the meantime, if you want to just use my bug fixed branch for now you can install it by running:

`pip install git+https://github.com/cameronmartino/sourcetracker2@fixq2citations`

and then

`qiime dev refresh-cache`

There is a tutorial [here](https://github.com/biota/sourcetracker2/blob/master/ipynb/Sourcetracking-using-QIIME2.ipynb) on using st2 with QIIME2.

I will also note that I also made a Q2 plugin for [FEAST](https://www.nature.com/articles/s41592-019-0431-x) that is [here](https://github.com/cameronmartino/FEAST/tree/FEAST_beta) (PR is [here](https://github.com/cozygene/FEAST/pull/8)). You can install that by first installing FEAST.

`conda install -c bioconda -c conda-forge -c r bioconductor-phyloseq r-devtools r-magrittr r-dplyr r-vgam r-tidyr r-vegan r-reshape2 r-rcpp r-rcpparmadillo r-gridextra r-ggplot2 r-ggthemes`

```auto
> R
> devtools::install_github("cozygene/FEAST")
> quit()

```

running:

`pip install git+https://github.com/cameronmartino/FEAST@FEAST_beta`

then `qiime dev refresh-cache`

The tutorial for Q2-FEAST is [here](https://github.com/cameronmartino/FEAST/blob/FEAST_beta/q2_feast/tutorials/backhed-tutorial.md).

---

_[View the full topic](https://forum.qiime2.org/t/sourcetracker2-plugin/19688)._
