Skip to content

Quality Control

Before proceeding to diversity analyses, we inspect our sequencing controls to evaluate potential contamination, assess reagent blanks, and confirm our negative controls behave as expected.

Summarize the Filtered Table

Get a per-sample read count summary of the contaminant-filtered table:

qiime feature-table summarize \
  --i-table table_nomitochloro.qza \
  --o-visualization table_nomitochloro.qzv \
  --m-sample-metadata-file metadata_q2_workshop.txt

Use this visualization to work through the following checklist:

Table Summary Review

Filter to Control Samples Only

Isolate sequencing controls (e.g., extraction blanks, PCR negatives) using a metadata-based filter:

qiime feature-table filter-samples \
  --i-table table.qza \
  --m-metadata-file metadata_q2_workshop.txt \
  --p-where "[sample_type]='control'" \
  --o-filtered-table table_controls.qza

Visualize Control Taxonomy

qiime taxa barplot \
  --i-table table_controls.qza \
  --i-taxonomy taxonomy_gg2.qza \
  --m-metadata-file metadata_q2_workshop.txt \
  --o-visualization taxa_barplot_controls.qzv

When you open taxa_barplot_controls.qzv, work through this checklist:

Control Interpretation

Outputs

File Type Description
table_nomitochloro.qzv Visualization Per-sample read count summary
table_controls.qza Artifact Feature table filtered to controls only
taxa_barplot_controls.qzv Visualization Taxonomic composition of controls

Next: Rarefaction