Importing sourcetracker output to R

Hi! I attempted to get a visualization file from the sourcetracker analysis with the code:
qiime sourcetracker2 barplot --i-proportions st2-no-loo/mixi
g_proportions.qza --m-sample-metadata-file metadat_st2_totales.txt --o-visualization st2-no-loo/prop-barpl.qzv

but I got the following error:
'Plugin error from sourcetracker2: 'DataFrame' object has no attribute 'ids'
Debug info has been saved to /tmp/qiime2-q2cli-err-rz31xf8s.log'

I read that
qiime sourcetracker2 gibbs --i-feature-table table-Archaea.qz
a --m-sample-metadata-file metadat_st2_totales.txt --p-no-loo --p-source-rarefaction-depth 0 --p-sink-rarefacti
on-depth 0 --p-source-sink-column SourceSink --p-source-column-value source --p-sink-column-value sink --output
-dir st2-no-loo
Saved FeatureTable[RelativeFrequency] to: st2-no-loo/mixing_proportions.qza
Saved FeatureTable[RelativeFrequency] to: st2-no-loo/mixing_proportion_stds.qza
Saved FeatureTable[RelativeFrequency] to: st2-no-loo/per_sink_assignments.qza
Saved SampleData[SinkSourceMap] to: st2-no-loo/per_sink_assignments_map.qza

Hello @dianaea,

Seems like your metadata file may be improperly formatted. You can check using this.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.