Dr. Bokulich,
I'm trying to use the pairwise-distances and pairwise-differences methods, but I ran into some issues.
My data is organized like this:
All Brushes samples (Pair 0)
All BAL samples (Pair 1)
Type indicates whether a sample is BAL or Brush.
Time of collection between paired samples is the same, as those were collected during the same bronchoscopy.
With the qiime longitudinal pairwise-differences method, I was able to get an output (which seems correct: it shows: 64 samples and Pair1 - Pair 0), but only if I do not include --p-group-column (as this parameter is optional).
The full command is described below:
qiime longitudinal pairwise-differences
--m-metadata-file Metadata.txt
--m-metadata-file shannon_vector.qza
--p-metric shannon
--p-state-column Pair
--p-state-1 0
--p-state-2 1
--p-individual-id-column SUBJECT_ID
--p-replicate-handling random
--o-visualization shannon-pairwise-differences.qzv
However, for the the pairwise-distances method, the --p-group-column is required, and when I try to use:
qiime longitudinal pairwise-distances
--i-distance-matrix bray_curtis_distance_matrix.qza
--m-metadata-file Metadata.txt
--p-state-column Pair
--p-state-1 0
--p-state-2 1
--p-individual-id-column SUBJECT_ID
--p-replicate-handling random
--o-visualization BC-fragment-pairwise-distances.qzv
There was a problem with the command:
(1/1) Missing option "--p-group-column".
Running the same command with this option also results in other error:
qiime longitudinal pairwise-distances
--i-distance-matrix bray_curtis_distance_matrix.qza
--m-metadata-file Metadata_Oct2019-BIDC_BAL_Brushes-COMPLETE-with-clinical-data1.txt
--p-group-column Type
--p-state-column Pair
--p-state-1 0
--p-state-2 1
--p-individual-id-column SUBJECT_ID
--p-replicate-handling random
--o-visualization BC-fragment-pairwise-distances.qzv
Plugin error from longitudinal:
State 0.0 is not represented by any members of BAL group in metadata. Consider using a different group_column or state value.
Currently, I do not know how to resolve this last issue, all all my samples were from one timepoint.
How can I solve this issue? Is there a way of disabling --p-group-column for the qiime longitudinal pairwise-distances method?
Thanks in advance,
FS