To use SCRuB’s QIIME2 plugin, you must have run both the SCRuB R and QIIME2 installation commands shown here from within a QIIME2 environment. The summary of the plugin’s inputs and outputs are as follows:
FeatureTable[Frequency]
, where the rows are features (e.g. ASVs/microbes), the columns are samples, and the entries are the number of sequences for each sample-feature pair. This table must be of shape n_taxa
x( n_samples
+ n_controls
), where n_samples
is the number of samples, n_controls
is the number of negative controls, and n_taxa
is the number of features in the count matrixsample_type
should be run. Default input (NA
) uses the ordering in which the sample are found in the metadata table.Depending on the interface, SCRuB’s Qiime2 pliugin either:
1) Writes the decontaminated .qza format table to the specified path (Qiime2 and Command line interface)
2) returns a dataframe of decontaminated samples (Python interface)
For more detail, please refer to the QIIME2 Tutorial, or refer to the jupyter notebooks found here.