# Plugin error from SCNIC: 'fastspar'

**URL:** https://forum.qiime2.org/t/plugin-error-from-scnic-fastspar/30179
**Category:** Technical Support
**Tags:** network, scnic, correlation
**Created:** [May 13, 2024, 9:57am UTC](https://forum.qiime2.org/t/plugin-error-from-scnic-fastspar/30179 "2024-05-13T09:57:52Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Rashmi\_Ira](https://forum.qiime2.org/user_avatar/forum.qiime2.org/rashmi_ira/32/10224_2.png) [@Rashmi\_Ira](https://forum.qiime2.org/u/Rashmi_Ira)
#### Post date: [May 13, 2024, 9:57am UTC](https://forum.qiime2.org/t/plugin-error-from-scnic-fastspar/30179/1 "2024-05-13T09:57:52Z")

</div>

Hi,  
@michael.shaffer @eandersk @nhuda6 @llenzi @thermokarst @cquin @arwqiime @mneranjan31 @kohei-108 and other QIIME2 users & developers...

I am working on q2-SCNIC tutorial shared by "@michael.shaffer [q2-SCNIC: A tool for making correlation networks, finding modules of observations and summarizing them](https://forum.qiime2.org/t/q2-scnic-a-tool-for-making-correlation-networks-finding-modules-of-observations-and-summarizing-them/6116?page=2)" & [q2-SCNIC: Community Tutorial](https://github.com/lozuponelab/q2-SCNIC/blob/master/community_tutorial.md).

Currently, I am using QIIME2-2023.5 and was able to install q2-SCNIC using

> [@q2-SCNIC: A tool for making correlation networks, finding modules of observations and summarizing them](https://forum.qiime2.org/t/q2-scnic-a-tool-for-making-correlation-networks-finding-modules-of-observations-and-summarizing-them/6116/1):
>
> ```auto
> conda install -c conda-forge blas=1.1
> 
> ```

then

\*\*

> pip install scnic

> Next to install the plugin:

```auto
pip install git+https://github.com/lozuponelab/q2-SCNIC.git
qiime dev refresh-cache

```

\*\*  
&  
Finally to see what functions are available, you can use:

```auto
qiime SCNIC --help

```

(it is working fine)

as command

> [@q2-SCNIC: A tool for making correlation networks, finding modules of observations and summarizing them](https://forum.qiime2.org/t/q2-scnic-a-tool-for-making-correlation-networks-finding-modules-of-observations-and-summarizing-them/6116/1):
>
> q2-SCNIC is available via bioconda so installing is easy. Just enter into your qiime 2 conda environment and use this command:
> 
> ```auto
> conda install -c lozuponelab q2-SCNIC
> 
> ```

was not working and giving errors.

After installation of SCNIC using pip, I was able to perform importing of feature table

> [@q2-SCNIC: A tool for making correlation networks, finding modules of observations and summarizing them](https://forum.qiime2.org/t/q2-scnic-a-tool-for-making-correlation-networks-finding-modules-of-observations-and-summarizing-them/6116/1):
>
> ```auto
> qiime tools import \
> --input-path fake_data.biom \
> --type 'FeatureTable[Frequency]' \
> --input-format BIOMV210Format \
> --output-path fake_data.qza
> 
> ```

and filtering of data

> [@q2-SCNIC: A tool for making correlation networks, finding modules of observations and summarizing them](https://forum.qiime2.org/t/q2-scnic-a-tool-for-making-correlation-networks-finding-modules-of-observations-and-summarizing-them/6116/1):
>
> To use the sparcc filter use this command:
> 
> ```auto
> qiime SCNIC sparcc-filter \
> --i-table fake_data.qza \
> --o-table-filtered fake_data-filtered.qza
> 
> ```

but while running the next command for generating a correlation table

> [@q2-SCNIC: A tool for making correlation networks, finding modules of observations and summarizing them](https://forum.qiime2.org/t/q2-scnic-a-tool-for-making-correlation-networks-finding-modules-of-observations-and-summarizing-them/6116/1):
>
> ```auto
> qiime SCNIC calculate-correlations \
> --i-table fake_data-filtered.qza \
> --p-method sparcc \
> --o-correlation-table fake_correls.qza
> 
> ```

It is giving an error:

> **Plugin error from SCNIC:**
> 
> \*\* [Errno 2] No such file or directory: 'fastspar'\*\*
> 
> **Debug info has been saved to /tmp/qiime2-q2cli-err-s1pz8hhr.log**

I have also tried using  
**conda install -c bioconda -c conda-forge --override-channels fastspar**

**error: and loop loading for longer time**

> Collecting package metadata (current\_repodata.json): done  
> Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.  
> Solving environment: / unsuccessful attempt using repodata from current\_repodata.json, retrying with next repodata source.

Then tried using:  
\*\*

> > conda install -q scnic
> 
> \*\*  
> Collecting package metadata (current\_repodata.json): ...working... done  
> Solving environment: ...working... unsuccessful initial attempt using frozen solve. Retrying with flexible solve.  
> Collecting package metadata (repodata.json): ...working... done  
> Solving environment: ...working... unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
> 
> PackagesNotFoundError: The following packages are not available from current channels:
> 
> - scnic
> 
> Current channels:
> 
> - [main/linux-64](https://repo.anaconda.com/pkgs/main/linux-64)
> - [main/noarch](https://repo.anaconda.com/pkgs/main/noarch)
> - [r/linux-64](https://repo.anaconda.com/pkgs/r/linux-64)
> - [r/noarch](https://repo.anaconda.com/pkgs/r/noarch)
> 
> To search for alternate channels that may provide the conda package you're  
> looking for, navigate to
> 
> ```
> https://anaconda.org
> 
> ```
> 
> and use the search bar at the top of the page.

Please suggest me how to proceed further? or is their another alternative to perform correlation network using qiime2???

Thanks in advance.

Best Regards,  
Rashmi

---

<div class="post-metadata">

### Author: ![cherman2](https://forum.qiime2.org/user_avatar/forum.qiime2.org/cherman2/32/17129_2.png) [@cherman2](https://forum.qiime2.org/u/cherman2)
#### Post date: [May 13, 2024, 3:46pm UTC](https://forum.qiime2.org/t/plugin-error-from-scnic-fastspar/30179/2 "2024-05-13T15:46:56Z")

</div>

Hi @Rashmi_Ira,  
Have you tried pip installing fastspar?  
That worked for me previously. Hope that helps!

---

<div class="post-metadata">

### Author: ![Rashmi\_Ira](https://forum.qiime2.org/user_avatar/forum.qiime2.org/rashmi_ira/32/10224_2.png) [@Rashmi\_Ira](https://forum.qiime2.org/u/Rashmi_Ira)
#### Post date: [May 19, 2024, 6:15pm UTC](https://forum.qiime2.org/t/plugin-error-from-scnic-fastspar/30179/3 "2024-05-19T18:15:36Z")

</div>

Hi @cherman2

Sorry for late response. I have used pip for scnic

> [@Rashmi\_Ira](#):
>
> pip install scnic

But for

> [@cherman2](#):
>
> pip installing fastspar

No not yet. I'll try and let you know the status.

---

<div class="post-metadata">

### Author: ![system](https://forum-qiime2-org.s3.dualstack.us-west-2.amazonaws.com/original/3X/2/1/21af5fe23cb6f4579467c66a9ed94e55274ca7bd.svg) [@system](https://forum.qiime2.org/u/system)
#### Post date: [June 20, 2024, 12:16am UTC](https://forum.qiime2.org/t/plugin-error-from-scnic-fastspar/30179/4 "2024-06-20T00:16:34Z")

</div>

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