# I receive error with command: qiime composition ancom

**URL:** https://forum.qiime2.org/t/i-receive-error-with-command-qiime-composition-ancom/26890
**Category:** User Support
**Created:** [June 26, 2023, 5:01am UTC](https://forum.qiime2.org/t/i-receive-error-with-command-qiime-composition-ancom/26890 "2023-06-26T05:01:27Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Bhagwan](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/b/f9ae1b/32.png) [@Bhagwan](https://forum.qiime2.org/u/Bhagwan)
#### Post date: [June 26, 2023, 5:01am UTC](https://forum.qiime2.org/t/i-receive-error-with-command-qiime-composition-ancom/26890/1 "2023-06-26T05:01:27Z")

</div>

All the analysis in the previous steps as per the moving picture tutorial was perfect. But qiime composition ancom gave errors all the time.

--i-table comp-area-table.qza \

--m-metadata-file sample-metadata-21-june-2023.tsv \

--m-metadata-column area \

--o-visualization ancom-area-table.qzv

--verbose

**Plugin error from composition:**

**`ids_to_keep` must contain at least one ID.**

**Debug info has been saved to /var/folders/d2/68pmzfrx1szc6n15w73bfjjh0000gn/T/qiime2-q2cli-err-03epk47h.log**

zsh: command not found: --verbose

---

<div class="post-metadata">

### Author: ![Nicholas\_Bokulich](https://forum.qiime2.org/user_avatar/forum.qiime2.org/nicholas_bokulich/32/19937_2.png) [@Nicholas\_Bokulich](https://forum.qiime2.org/u/Nicholas_Bokulich)
#### Post date: [June 26, 2023, 5:06am UTC](https://forum.qiime2.org/t/i-receive-error-with-command-qiime-composition-ancom/26890/2 "2023-06-26T05:06:52Z")

</div>



---

<div class="post-metadata">

### Author: ![lizgehret](https://forum.qiime2.org/user_avatar/forum.qiime2.org/lizgehret/32/17128_2.png) [@lizgehret](https://forum.qiime2.org/u/lizgehret)
#### Post date: [June 26, 2023, 4:34pm UTC](https://forum.qiime2.org/t/i-receive-error-with-command-qiime-composition-ancom/26890/3 "2023-06-26T16:34:47Z")

</div>

Hi @Bhagwan,

It looks like you're missing a back slash after your `--o-visualization` line, which is why the `--verbose` command wasn't recognized. Can you please re-run your command with `--verbose` once more so we can take a look at the error log? Additionally, it would be helpful to look at your input table if you don't mind sharing that (either in this thread or in a DM is fine). Thanks!

---

<div class="post-metadata">

### Author: ![Bhagwan](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/b/f9ae1b/32.png) [@Bhagwan](https://forum.qiime2.org/u/Bhagwan)
#### Post date: [June 26, 2023, 5:15pm UTC](https://forum.qiime2.org/t/i-receive-error-with-command-qiime-composition-ancom/26890/4 "2023-06-26T17:15:27Z")

</div>

Hi Lizgehret,  
I am getting similar errors. I also have a back slash and a forward slash too. DM sent with more details.

--i-table comp-vegetation-table.qza \

--m-metadata-file sample-metadata-21-june-2023.tsv \

--m-metadata-column vegetation \

--o-visualization \ ancom-vegetation.qzv

--verbose

**Plugin error from composition:**

**`ids_to_keep` must contain at least one ID.**

**Debug info has been saved to /var/folders/d2/68pmzfrx1szc6n15w73bfjjh0000gn/T/qiime2-q2cli-err-cl4g050m.log**

---

<div class="post-metadata">

### Author: ![gregcaporaso](https://forum.qiime2.org/user_avatar/forum.qiime2.org/gregcaporaso/32/17769_2.png) [@gregcaporaso](https://forum.qiime2.org/u/gregcaporaso)
#### Post date: [June 26, 2023, 5:44pm UTC](https://forum.qiime2.org/t/i-receive-error-with-command-qiime-composition-ancom/26890/5 "2023-06-26T17:44:39Z")

</div>

Hi @Bhagwan,

The `\` should be at the end of this line:

> [@Bhagwan](#):
>
> --o-visualization \ ancom-vegetation.qzv

```auto
--o-visualization ancom-vegetation.qzv \

```

---

<div class="post-metadata">

### Author: ![Bhagwan](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/b/f9ae1b/32.png) [@Bhagwan](https://forum.qiime2.org/u/Bhagwan)
#### Post date: [June 27, 2023, 3:57am UTC](https://forum.qiime2.org/t/i-receive-error-with-command-qiime-composition-ancom/26890/6 "2023-06-27T03:57:27Z")

</div>

Dear Greg and Liz,  
I tried after changing backward slash and id's too. selected columns are categorial. Please go through the following: Error is continued ###

###1

qiime composition ancom   
--i-table comp-vegetation-table.qza   
--m-metadata-file sample-metadata-21-june-2023.tsv   
--m-metadata-column vegetation   
--o-visualization ancom-vegetation.qzv   
--verbose  
Traceback (most recent call last):  
File "/opt/homebrew/Caskroom/miniconda/base/envs/qiime2-2023.5/lib/python3.8/site-packages/q2cli/commands.py", line 468, in **call**  
results = action(\*\*arguments)  
File "", line 2, in ancom  
File "/opt/homebrew/Caskroom/miniconda/base/envs/qiime2-2023.5/lib/python3.8/site-packages/qiime2/sdk/action.py", line 274, in bound\_callable  
outputs = self._callable\_executor_(  
File "/opt/homebrew/Caskroom/miniconda/base/envs/qiime2-2023.5/lib/python3.8/site-packages/qiime2/sdk/action.py", line 558, in _callable\_executor_  
ret\_val = self.\_callable(output\_dir=temp\_dir, \*\*view\_args)  
File "/opt/homebrew/Caskroom/miniconda/base/envs/qiime2-2023.5/lib/python3.8/site-packages/q2\_composition/\_ancom.py", line 47, in ancom  
metadata = metadata.filter\_ids(table.index)  
File "/opt/homebrew/Caskroom/miniconda/base/envs/qiime2-2023.5/lib/python3.8/site-packages/qiime2/metadata/metadata.py", line 1244, in filter\_ids  
filtered\_series = self.\_filter\_ids\_helper(self.\_series, self.get\_ids(),  
File "/opt/homebrew/Caskroom/miniconda/base/envs/qiime2-2023.5/lib/python3.8/site-packages/qiime2/metadata/metadata.py", line 188, in \_filter\_ids\_helper  
raise ValueError("`ids_to_keep` must contain at least one ID.")  
ValueError: `ids_to_keep` must contain at least one ID.

Plugin error from composition:

`ids_to_keep` must contain at least one ID.

See above for debug info.

####2

qiime composition ancom   
--i-table comp-vegetation-table.qza   
--m-metadata-file sample-metadata-21-june-2023.tsv   
--m-metadata-column vegetation   
--o-visualization ancom-vegetation.qzv  
Plugin error from composition:

`ids_to_keep` must contain at least one ID.

Debug info has been saved to /var/folders/d2/68pmzfrx1szc6n15w73bfjjh0000gn/T/qiime2-q2cli-err-8q9azkvk.log  
(qiime2-2023.5) bhagwanrekadwad@Bhagwans-MacBook-Pro ANCOM-26-june-2023 % qiime composition ancom --i-table comp-vegetation-table.qza --m-metadata-file sample-metadata-21-june-2023.tsv --m-metadata-column vegetation --o-visualization ancom-vegetation.qzv --verbose  
Traceback (most recent call last):  
File "/opt/homebrew/Caskroom/miniconda/base/envs/qiime2-2023.5/lib/python3.8/site-packages/q2cli/commands.py", line 468, in **call**  
results = action(\*\*arguments)  
File "", line 2, in ancom  
File "/opt/homebrew/Caskroom/miniconda/base/envs/qiime2-2023.5/lib/python3.8/site-packages/qiime2/sdk/action.py", line 274, in bound\_callable  
outputs = self._callable\_executor_(  
File "/opt/homebrew/Caskroom/miniconda/base/envs/qiime2-2023.5/lib/python3.8/site-packages/qiime2/sdk/action.py", line 558, in _callable\_executor_  
ret\_val = self.\_callable(output\_dir=temp\_dir, \*\*view\_args)  
File "/opt/homebrew/Caskroom/miniconda/base/envs/qiime2-2023.5/lib/python3.8/site-packages/q2\_composition/\_ancom.py", line 47, in ancom  
metadata = metadata.filter\_ids(table.index)  
File "/opt/homebrew/Caskroom/miniconda/base/envs/qiime2-2023.5/lib/python3.8/site-packages/qiime2/metadata/metadata.py", line 1244, in filter\_ids  
filtered\_series = self.\_filter\_ids\_helper(self.\_series, self.get\_ids(),  
File "/opt/homebrew/Caskroom/miniconda/base/envs/qiime2-2023.5/lib/python3.8/site-packages/qiime2/metadata/metadata.py", line 188, in \_filter\_ids\_helper  
raise ValueError("`ids_to_keep` must contain at least one ID.")  
ValueError: `ids_to_keep` must contain at least one ID.

Plugin error from composition:

`ids_to_keep` must contain at least one ID.

See above for debug info.

###3

qiime composition ancom --i-table comp-vegetation-table.qza --m-metadata-file sample-metadata-21-june-2023.tsv --m-metadata-column vegetation --o-visualization ancom-vegetation.qzv  
Plugin error from composition:

`ids_to_keep` must contain at least one ID.

Debug info has been saved to /var/folders/d2/68pmzfrx1szc6n15w73bfjjh0000gn/T/qiime2-q2cli-err-xrhz3vy9.log

---

<div class="post-metadata">

### Author: ![lizgehret](https://forum.qiime2.org/user_avatar/forum.qiime2.org/lizgehret/32/17128_2.png) [@lizgehret](https://forum.qiime2.org/u/lizgehret)
#### Post date: [June 27, 2023, 3:52pm UTC](https://forum.qiime2.org/t/i-receive-error-with-command-qiime-composition-ancom/26890/7 "2023-06-27T15:52:04Z")

</div>



---

<div class="post-metadata">

### Author: ![lizgehret](https://forum.qiime2.org/user_avatar/forum.qiime2.org/lizgehret/32/17128_2.png) [@lizgehret](https://forum.qiime2.org/u/lizgehret)
#### Post date: [June 27, 2023, 4:05pm UTC](https://forum.qiime2.org/t/i-receive-error-with-command-qiime-composition-ancom/26890/8 "2023-06-27T16:05:15Z")

</div>

Hi @Bhagwan,

Thanks for sharing that output! Here is where I think the error is actually coming from:

> [@Bhagwan](#):
>
> metadata = metadata.filter\_ids(table.index)

In ancom, the metadata is filtered from the associated IDs found in your feature table. What `raise ValueError("ids_to_keep must contain at least one ID.")` tells me is that when your metadata is being filtered from the feature table, there are no remaining IDs (i.e. `ids_to_keep`). I suspect there may be either mismatched data in your table vs. your metadata file, or your table may be empty. I would take a look at your feature table alongside your metadata and ensure that both have overlapping IDs, and that your table isn't empty for any reason.

Cheers 🦎

---

<div class="post-metadata">

### Author: ![lizgehret](https://forum.qiime2.org/user_avatar/forum.qiime2.org/lizgehret/32/17128_2.png) [@lizgehret](https://forum.qiime2.org/u/lizgehret)
#### Post date: [June 27, 2023, 4:05pm UTC](https://forum.qiime2.org/t/i-receive-error-with-command-qiime-composition-ancom/26890/9 "2023-06-27T16:05:22Z")

</div>



---

<div class="post-metadata">

### Author: ![Bhagwan](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/b/f9ae1b/32.png) [@Bhagwan](https://forum.qiime2.org/u/Bhagwan)
#### Post date: [June 28, 2023, 4:12am UTC](https://forum.qiime2.org/t/i-receive-error-with-command-qiime-composition-ancom/26890/10 "2023-06-28T04:12:12Z")

</div>

@lizgehret

Hi Liz,  
I've shared some files via DM. Please go through it and suggest needful.

Bhagwan

---

<div class="post-metadata">

### Author: ![Bhagwan](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/b/f9ae1b/32.png) [@Bhagwan](https://forum.qiime2.org/u/Bhagwan)
#### Post date: [June 28, 2023, 4:46am UTC](https://forum.qiime2.org/t/i-receive-error-with-command-qiime-composition-ancom/26890/11 "2023-06-28T04:46:13Z")

</div>

@gregcaporaso @lizgehret

Dear Greg,  
I tried to re-run the data successfully analyzed in the QIIM2 2019 version with every possible combination of commands. A sample metadata file is revalidated by using Keemai for QIIME2. I think all inputs are alright from the end, if I am not missing anything.  
The error still persists.

(qiime2-2023.5) bhagwanrekadwad@Bhagwans-MacBook-Pro postdoc\_data\_ana % qiime composition ancom   
--i-table comp-area-table.qza   
--m-metadata-file sample-metadata-28-june-2023.tsv   
--m-metadata-column area   
--o-visualization ancom-area-table.qzv  
Plugin error from composition:

`ids_to_keep` must contain at least one ID.

Debug info has been saved to /var/folders/d2/68pmzfrx1szc6n15w73bfjjh0000gn/T/qiime2-q2cli-err-dkpua2i1.log

(qiime2-2023.5) bhagwanrekadwad@Bhagwans-MacBook-Pro postdoc\_data\_ana % qiime composition ancom   
--i-table comp-area-table.qza   
--m-metadata-file sample-metadata-28-june-2023.tsv   
--m-metadata-column area   
--o-visualization ancom-area-table.qzv \

> 

Plugin error from composition:

`ids_to_keep` must contain at least one ID.

Debug info has been saved to /var/folders/d2/68pmzfrx1szc6n15w73bfjjh0000gn/T/qiime2-q2cli-err-i8gm\_r0i.log

(qiime2-2023.5) bhagwanrekadwad@Bhagwans-MacBook-Pro postdoc\_data\_ana % qiime composition ancom   
--i-table comp-area-table.qza   
--m-metadata-file sample-metadata-28-june-2023.tsv   
--m-metadata-column area   
--o-visualization \ ancom-area-table.qzv \

Plugin error from composition:

`ids_to_keep` must contain at least one ID.

Debug info has been saved to /var/folders/d2/68pmzfrx1szc6n15w73bfjjh0000gn/T/qiime2-q2cli-err-eykaz\_nt.log

(qiime2-2023.5) bhagwanrekadwad@Bhagwans-MacBook-Pro postdoc\_data\_ana % qiime composition ancom   
--i-table comp-area-table.qza   
--m-metadata-file sample-metadata-28-june-2023.tsv   
--m-metadata-column area   
--o-visualization \ ancom-area-table.qzv   
--verbose  
Traceback (most recent call last):  
File "/opt/homebrew/Caskroom/miniconda/base/envs/qiime2-2023.5/lib/python3.8/site-packages/q2cli/commands.py", line 468, in **call**  
results = action(\*\*arguments)  
File "", line 2, in ancom  
File "/opt/homebrew/Caskroom/miniconda/base/envs/qiime2-2023.5/lib/python3.8/site-packages/qiime2/sdk/action.py", line 274, in bound\_callable  
outputs = self._callable\_executor_(  
File "/opt/homebrew/Caskroom/miniconda/base/envs/qiime2-2023.5/lib/python3.8/site-packages/qiime2/sdk/action.py", line 558, in _callable\_executor_  
ret\_val = self.\_callable(output\_dir=temp\_dir, \*\*view\_args)  
File "/opt/homebrew/Caskroom/miniconda/base/envs/qiime2-2023.5/lib/python3.8/site-packages/q2\_composition/\_ancom.py", line 47, in ancom  
metadata = metadata.filter\_ids(table.index)  
File "/opt/homebrew/Caskroom/miniconda/base/envs/qiime2-2023.5/lib/python3.8/site-packages/qiime2/metadata/metadata.py", line 1244, in filter\_ids  
filtered\_series = self.\_filter\_ids\_helper(self.\_series, self.get\_ids(),  
File "/opt/homebrew/Caskroom/miniconda/base/envs/qiime2-2023.5/lib/python3.8/site-packages/qiime2/metadata/metadata.py", line 188, in \_filter\_ids\_helper  
raise ValueError("`ids_to_keep` must contain at least one ID.")  
ValueError: `ids_to_keep` must contain at least one ID.

Plugin error from composition:

`ids_to_keep` must contain at least one ID.

See above for debug info.

(qiime2-2023.5) bhagwanrekadwad@Bhagwans-MacBook-Pro postdoc\_data\_ana % qiime composition ancom   
--i-table comp-area-table.qza   
--m-metadata-file sample-metadata-28-june-2023.tsv   
--m-metadata-column area   
--o-visualization ancom-area-table.qzv \   
--verbose  
Traceback (most recent call last):  
File "/opt/homebrew/Caskroom/miniconda/base/envs/qiime2-2023.5/lib/python3.8/site-packages/q2cli/commands.py", line 468, in **call**  
results = action(\*\*arguments)  
File "", line 2, in ancom  
File "/opt/homebrew/Caskroom/miniconda/base/envs/qiime2-2023.5/lib/python3.8/site-packages/qiime2/sdk/action.py", line 274, in bound\_callable  
outputs = self._callable\_executor_(  
File "/opt/homebrew/Caskroom/miniconda/base/envs/qiime2-2023.5/lib/python3.8/site-packages/qiime2/sdk/action.py", line 558, in _callable\_executor_  
ret\_val = self.\_callable(output\_dir=temp\_dir, \*\*view\_args)  
File "/opt/homebrew/Caskroom/miniconda/base/envs/qiime2-2023.5/lib/python3.8/site-packages/q2\_composition/\_ancom.py", line 47, in ancom  
metadata = metadata.filter\_ids(table.index)  
File "/opt/homebrew/Caskroom/miniconda/base/envs/qiime2-2023.5/lib/python3.8/site-packages/qiime2/metadata/metadata.py", line 1244, in filter\_ids  
filtered\_series = self.\_filter\_ids\_helper(self.\_series, self.get\_ids(),  
File "/opt/homebrew/Caskroom/miniconda/base/envs/qiime2-2023.5/lib/python3.8/site-packages/qiime2/metadata/metadata.py", line 188, in \_filter\_ids\_helper  
raise ValueError("`ids_to_keep` must contain at least one ID.")  
ValueError: `ids_to_keep` must contain at least one ID.

Plugin error from composition:

`ids_to_keep` must contain at least one ID.

See above for debug info.

(qiime2-2023.5) bhagwanrekadwad@Bhagwans-MacBook-Pro postdoc\_data\_ana % qiime composition ancom   
--i-table comp-area-table.qza   
--m-metadata-file sample-metadata-28-june-2023.tsv   
--m-metadata-column area   
--o-visualization ancom-area-table.qzv  
Plugin error from composition:

`ids_to_keep` must contain at least one ID.

Debug info has been saved to /var/folders/d2/68pmzfrx1szc6n15w73bfjjh0000gn/T/qiime2-q2cli-err-7u2847j7.log  
(qiime2-2023.5) bhagwanrekadwad@Bhagwans-MacBook-Pro postdoc\_data\_ana % qiime composition ancom   
--i-table comp-area-table.qza   
--m-metadata-file sample-metadata-28-june-2023.tsv   
--m-metadata-column area   
--o-visualization \ ancom-area-table.qzv  
Plugin error from composition:

`ids_to_keep` must contain at least one ID.

Debug info has been saved to /var/folders/d2/68pmzfrx1szc6n15w73bfjjh0000gn/T/qiime2-q2cli-err-oqfjiiqu.log

(qiime2-2023.5) bhagwanrekadwad@Bhagwans-MacBook-Pro postdoc\_data\_ana % qiime composition ancom   
--i-table comp-area-table.qza   
--m-metadata-file sample-metadata-28-june-2023.tsv   
--m-metadata-column area   
--o-visualization ancom-area-table.qzv \

> 

Plugin error from composition:

`ids_to_keep` must contain at least one ID.

Debug info has been saved to /var/folders/d2/68pmzfrx1szc6n15w73bfjjh0000gn/T/qiime2-q2cli-err-8t\_7uesb.log  
(qiime2-2023.5) bhagwanrekadwad@Bhagwans-MacBook-Pro postdoc\_data\_ana % qiime composition ancom --i-table comp-area-table.qza --m-metadata-file sample-metadata-28-june-2023.tsv --m-metadata-column area --o-visualization ancom-area-table.qzv  
Plugin error from composition:

`ids_to_keep` must contain at least one ID.

Debug info has been saved to /var/folders/d2/68pmzfrx1szc6n15w73bfjjh0000gn/T/qiime2-q2cli-err-zyb4odid.log  
(qiime2-2023.5) bhagwanrekadwad@Bhagwans-MacBook-Pro postdoc\_data\_ana % qiime composition ancom --i-table comp-area-table.qza --m-metadata-file sample-metadata-28-june-2023.tsv --m-metadata-column area --o-visualization ancom-area-table.qzv \

> 

Plugin error from composition:

`ids_to_keep` must contain at least one ID.

Debug info has been saved to /var/folders/d2/68pmzfrx1szc6n15w73bfjjh0000gn/T/qiime2-q2cli-err-6k7s16br.log

(qiime2-2023.5) bhagwanrekadwad@Bhagwans-MacBook-Pro postdoc\_data\_ana % qiime composition ancom --i-table comp-area-table.qza --m-metadata-file sample-metadata-28-june-2023.tsv --m-metadata-column area --o-visualization ancom-area-table.qzv --verbose  
Traceback (most recent call last):  
File "/opt/homebrew/Caskroom/miniconda/base/envs/qiime2-2023.5/lib/python3.8/site-packages/q2cli/commands.py", line 468, in **call**  
results = action(\*\*arguments)  
File "", line 2, in ancom  
File "/opt/homebrew/Caskroom/miniconda/base/envs/qiime2-2023.5/lib/python3.8/site-packages/qiime2/sdk/action.py", line 274, in bound\_callable  
outputs = self._callable\_executor_(  
File "/opt/homebrew/Caskroom/miniconda/base/envs/qiime2-2023.5/lib/python3.8/site-packages/qiime2/sdk/action.py", line 558, in _callable\_executor_  
ret\_val = self.\_callable(output\_dir=temp\_dir, \*\*view\_args)  
File "/opt/homebrew/Caskroom/miniconda/base/envs/qiime2-2023.5/lib/python3.8/site-packages/q2\_composition/\_ancom.py", line 47, in ancom  
metadata = metadata.filter\_ids(table.index)  
File "/opt/homebrew/Caskroom/miniconda/base/envs/qiime2-2023.5/lib/python3.8/site-packages/qiime2/metadata/metadata.py", line 1244, in filter\_ids  
filtered\_series = self.\_filter\_ids\_helper(self.\_series, self.get\_ids(),  
File "/opt/homebrew/Caskroom/miniconda/base/envs/qiime2-2023.5/lib/python3.8/site-packages/qiime2/metadata/metadata.py", line 188, in \_filter\_ids\_helper  
raise ValueError("`ids_to_keep` must contain at least one ID.")  
ValueError: `ids_to_keep` must contain at least one ID.

Plugin error from composition:

`ids_to_keep` must contain at least one ID.

See above for debug info.  
(qiime2-2023.5) bhagwanrekadwad@Bhagwans-MacBook-Pro postdoc\_data\_ana %

---

<div class="post-metadata">

### Author: ![gregcaporaso](https://forum.qiime2.org/user_avatar/forum.qiime2.org/gregcaporaso/32/17769_2.png) [@gregcaporaso](https://forum.qiime2.org/u/gregcaporaso)
#### Post date: [June 28, 2023, 1:06pm UTC](https://forum.qiime2.org/t/i-receive-error-with-command-qiime-composition-ancom/26890/12 "2023-06-28T13:06:02Z")

</div>



---

<div class="post-metadata">

### Author: ![lizgehret](https://forum.qiime2.org/user_avatar/forum.qiime2.org/lizgehret/32/17128_2.png) [@lizgehret](https://forum.qiime2.org/u/lizgehret)
#### Post date: [June 28, 2023, 3:27pm UTC](https://forum.qiime2.org/t/i-receive-error-with-command-qiime-composition-ancom/26890/15 "2023-06-28T15:27:27Z")

</div>

Hi @Bhagwan,

Thanks for sending those files over - I took a look at both of the tables you shared, and they are both empty. I took a quick look at the provenance for both tables in QIIME 2 View (i.e. what commands you ran on these artifacts) and I am fairly certain the issue is coming from this parameter within `filter-samples`:

```auto
where:"[sampleID]='vegetation'"

```

What you're saying with this command is to only retain samples where the sampleID column is equal to vegetation - which will never be true, since your sampleID column contains the IDs for all of your samples. You'll want to re-run this with something like '[vegetation]="yes"' which will filter your samples based on the metadata column 'vegetation' on all samples that have 'yes' in that column.

Hope this helps! Cheers 🦎

---

<div class="post-metadata">

### Author: ![lizgehret](https://forum.qiime2.org/user_avatar/forum.qiime2.org/lizgehret/32/17128_2.png) [@lizgehret](https://forum.qiime2.org/u/lizgehret)
#### Post date: [June 28, 2023, 3:28pm UTC](https://forum.qiime2.org/t/i-receive-error-with-command-qiime-composition-ancom/26890/16 "2023-06-28T15:28:10Z")

</div>



---

<div class="post-metadata">

### Author: ![Bhagwan](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/b/f9ae1b/32.png) [@Bhagwan](https://forum.qiime2.org/u/Bhagwan)
#### Post date: [July 4, 2023, 8:41am UTC](https://forum.qiime2.org/t/i-receive-error-with-command-qiime-composition-ancom/26890/17 "2023-07-04T08:41:18Z")

</div>

@lizgehret Dear Liz,  
I tried to re-run these commands after redoing the QIIME2 analysis with the suggested changes.  
'[vegetation]="yes"'

After trying a couple of times. The computing power used for analysis is a Macbook Pro M2 Pro with 16 GB of RAM.  
I didn't get any output, and the command was running for more than 33 hours. Later, I terminated it. What will the reason be for it? How much time it will take for 66 samples having initial size of fastq file 4 gb in total.

---

<div class="post-metadata">

### Author: ![Keegan-Evans](https://forum.qiime2.org/user_avatar/forum.qiime2.org/keegan-evans/32/10422_2.png) [@Keegan-Evans](https://forum.qiime2.org/u/Keegan-Evans)
#### Post date: [July 5, 2023, 2:59pm UTC](https://forum.qiime2.org/t/i-receive-error-with-command-qiime-composition-ancom/26890/18 "2023-07-05T14:59:14Z")

</div>



---

<div class="post-metadata">

### Author: ![lizgehret](https://forum.qiime2.org/user_avatar/forum.qiime2.org/lizgehret/32/17128_2.png) [@lizgehret](https://forum.qiime2.org/u/lizgehret)
#### Post date: [July 6, 2023, 7:22pm UTC](https://forum.qiime2.org/t/i-receive-error-with-command-qiime-composition-ancom/26890/19 "2023-07-06T19:22:39Z")

</div>

@Bhagwan,

> [@Bhagwan](#):
>
> After trying a couple of times. The computing power used for analysis is a Macbook Pro M2 Pro with 16 GB of RAM.

This is a reasonable amount of RAM.

> [@Bhagwan](#):
>
> I didn't get any output, and the command was running for more than 33 hours. Later, I terminated it. What will the reason be for it? How much time it will take for 66 samples having initial size of fastq file 4 gb in total.

There isn't a hard and fast answer for how long it should take, but that's much longer than I would expect. Even though your initial FASTQ size is a bit large, this command is running on the feature table - which should be much smaller than your initial sequencing file.

Do you mind sharing your feature table with me (either here or DM is fine) that you're using as input for `filter-samples`? I'd like to examine it and also try to replicate the issue on my machine. Thanks! 🦎

---

<div class="post-metadata">

### Author: ![lizgehret](https://forum.qiime2.org/user_avatar/forum.qiime2.org/lizgehret/32/17128_2.png) [@lizgehret](https://forum.qiime2.org/u/lizgehret)
#### Post date: [July 6, 2023, 7:22pm UTC](https://forum.qiime2.org/t/i-receive-error-with-command-qiime-composition-ancom/26890/20 "2023-07-06T19:22:42Z")

</div>



---

<div class="post-metadata">

### Author: ![lizgehret](https://forum.qiime2.org/user_avatar/forum.qiime2.org/lizgehret/32/17128_2.png) [@lizgehret](https://forum.qiime2.org/u/lizgehret)
#### Post date: [July 23, 2023, 6:31pm UTC](https://forum.qiime2.org/t/i-receive-error-with-command-qiime-composition-ancom/26890/21 "2023-07-23T18:31:40Z")

</div>



---

<div class="post-metadata">

### Author: ![lizgehret](https://forum.qiime2.org/user_avatar/forum.qiime2.org/lizgehret/32/17128_2.png) [@lizgehret](https://forum.qiime2.org/u/lizgehret)
#### Post date: [July 24, 2023, 4:48pm UTC](https://forum.qiime2.org/t/i-receive-error-with-command-qiime-composition-ancom/26890/22 "2023-07-24T16:48:27Z")

</div>

Hi @Bhagwan,

Thanks for sharing your table and metadata file with me - I've run `filter-samples` and `add-pseudocount` on your table, and am currently running `ancom`. You do have quite a large table, and something to remember is that ancom is making comparisons across every entry in your table, so I do expect that it will take a while to run. I'll let you know if it completes within a reasonable amount of time, otherwise I might recommend running `ancombc` for differential abundance analysis - the compute time is much lower than with `ancom`, and with a larger table like yours, this might be a better way forward. Cheers 🦎

[Next page](https://forum.qiime2.org/t/i-receive-error-with-command-qiime-composition-ancom/26890.md?page=2)
