Hi,
I am using QIIME2-2017.12
I am apparently exceptionally dense when using Gneiss, as I have encountered yet another issue. Before running Gneiss, I am filtering my dataset down to include just one set of well matched case and control subjects using a single extraction method (so I exclude several samples from analysis, and wind up with a bunch of sequences that do not have any reads, in case that matters). I am able to run Gneiss without a problem until I reach the balance-taxonomy step and try to see which taxa are involved in the balances that are significantly different between my cases and controls.
As an example of the code I'm running:
qiime gneiss balance-taxonomy \
--i-table lupus_cc_composition_for_bt.qza \
--i-tree lupus_cc_hierarchy_for_bt.qza \
--i-taxonomy lupus_taxonomy.qza \
--p-taxa-level 2 \
--p-balance-name 'y1687' \
--m-metadata-file lupus_cc_balance_regression_meta.txt \
--m-metadata-category Case \
--o-visualization y1687_cc_taxa_summary.qzv
However, after a few minutes, I get the following error message, regardless of which balance I am trying to look at:
Plugin error from gneiss:
Unalignable boolean Series provided as indexer (index of the boolean Series and of the indexed object do not match
Debug info has been saved to /tmp/qiime2-q2cli-err-igyd765v.log
Looking at the log file, I see:
/share/apps/bio3user/miniconda3/envs/qiime2-2017.12/lib/python3.5/site-packages/
gneiss-0.4.2-py3.5.egg/gneiss/util.py:181: FutureWarning: '.reindex_axis' is dep
recated and will be removed in a future version. Use '.reindex' instead.
/share/apps/bio3user/miniconda3/envs/qiime2-2017.12/lib/python3.5/site-packages/
matplotlib/axes/_base.py:2961: UserWarning: Attempting to set identical left==ri
ght results
in singular transformations; automatically expanding.
left=0.0, right=0.0
'left=%s, right=%s') % (left, right))
Traceback (most recent call last):
File "/share/apps/bio3user/miniconda3/envs/qiime2-2017.12/lib/python3.5/site-p
ackages/q2cli/commands.py", line 224, in __call__
results = action(**arguments)
File "<decorator-gen-219>", line 2, in balance_taxonomy
File "/share/apps/bio3user/miniconda3/envs/qiime2-2017.12/lib/python3.5/site-p
ackages/qiime2/sdk/action.py", line 228, in bound_callable
output_types, provenance)
File "/share/apps/bio3user/miniconda3/envs/qiime2-2017.12/lib/python3.5/site-packages/qiime2/sdk/action.py", line 424, in _callable_executor_
ret_val = self._callable(output_dir=temp_dir, **view_args)
File "/share/apps/bio3user/miniconda3/envs/qiime2-2017.12/lib/python3.5/site-packages/q2_gneiss/plot/_plot.py", line 162, in balance_taxonomy
if b.loc[lidx].mean() > b.loc[ridx].mean():
File "/share/apps/bio3user/miniconda3/envs/qiime2-2017.12/lib/python3.5/site-packages/pandas/core/indexing.py", line 1373, in __getitem__
return self._getitem_axis(maybe_callable, axis=axis)
File "/share/apps/bio3user/miniconda3/envs/qiime2-2017.12/lib/python3.5/site-packages/pandas/core/indexing.py", line 1583, in _getitem_axis
return self._getbool_axis(key, axis=axis)
File "/share/apps/bio3user/miniconda3/envs/qiime2-2017.12/lib/python3.5/site-packages/pandas/core/indexing.py", line 1388, in _getbool_axis
key = check_bool_indexer(labels, key)
File "/share/apps/bio3user/miniconda3/envs/qiime2-2017.12/lib/python3.5/site-packages/pandas/core/indexing.py", line 2023, in check_bool_indexer
raise IndexingError('Unalignable boolean Series provided as '
pandas.core.indexing.IndexingError: Unalignable boolean Series provided as indexer (index of the boolean Series and of the indexed object do not match
I have a suspicion that this might have something to do with the fact that the taxa file was generated using the full dataset, but the balance tree files were created using a subsetted dataset that did not include a bunch of sequence variants, but I am uncertain how to test this as I have no idea how to filter out the representative sequences based on the sequences included in my subset. Do you think this is the problem? Or is there something else I'm missing? And do you have any suggestions on what I should try next?
Thanks again
Diana