Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding QIIME2 plugin into FEAST_beta #8

Open
wants to merge 75 commits into
base: FEAST_beta
Choose a base branch
from

Conversation

cameronmartino
Copy link

@cameronmartino cameronmartino commented Sep 19, 2019

This provides a QIIME2 plugin for the existing FEAST script. This includes tests and a pip installation.

There are multiple inputs:

  1. A feature table of counts (type FeatureTable[Frequency])
  2. A sample metadata file
  3. An environment-column of categorical type from the metadata file
  4. A source-sink-column of the categorical type used to define sources and sinks
  5. source-ids - A comma-separated (without spaces) list of ids to be defined as sources from the source-sink-column
  6. sink-ids - The same as 5 but for sinks.
  7. shared-id-column - The column of shared ids between the sources and sinks

These inputs can definitely be optimized for easier use in the future but this provides a functional solution for now.

@cameronmartino
Copy link
Author

A visualization of the mixing proportions is now included with the QIIME 2 plugin through a FEAST specific barplot function. Although it produces a single stacked bar plot -- it can be split into multiple using the qiime feature-table filter-samples command. Below is the example now in the tutorial.

backhed-barplot

liashenhav and others added 17 commits October 29, 2019 13:14
Since the file isn't actually structured like a .qza, trying to load
it in view.qiime2.org causes that site to explode :) ... naming
it like a .tsv is more accurate and hopefully less confusing to users
The presence of these files caused installation errors when
installing the FEAST R package from source on a Linux system a few
weeks back. My assumption is that these files were built for another
system (probably MacOS since leaving these files in during
installation seemed to work fine on the Mac system I'm currently
using), so removing them (thus forcing recompilation) should make this
more cross-platform. Or, uh, something like that.

Thanks @gwarmstrong for figuring this out a few weeks back :)
some stuff assumed there was a folder called "q2_FEAST", but it's
actually named q2_feast. This doesn't seem to cause problems on mac
systems, but it broke the tests on a linux system -- likely due to
ways the diff operating systems handle case sensitivity in file/folder
names.
Also added some documentation to the top of setup.py explaining
a few things about q2-FEAST's installation process. Hopefully the
ramblings are helpful ;)
mostly did this so i don't forget this a few months down the line,
but might be useful to other folks
Address Linux installation problems, add developer documentation, other small tweaks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants