Hi @kthurimella,
Sorry that I did not reply to your earlier message on this string. I got diverted onto some other data analysis and am just coming back around to this now. If it would still be helpful, I can go back and find some of the coding and error messages from that time from my attempts at installing using the tutorial.
I do have one question for you though. I was able to get SCNIC to run. However, ideally, you would run the correlations with sparcc as the method. This does not work and produces an error. I have included the full code and error message below. However, everything works fine if I set the method to Spearman rather than sparcc. Can you provide a suggestion as to how I could get the sparcc correlation to run? Thanks!
Code and Error Message:
(qiime2-2020.2) jenweinert@x86_64-apple-darwin13 protein % qiime SCNIC calculate-correlations
--i-table scnic-rarefied-table.qza
--p-method sparcc
--o-correlation-table scnic-rarefied-correls.qza
--verbose
Correlating with sparcc
/Users/jenweinert/miniconda3/envs/qiime2-2020.2/lib/python3.6/site-packages/biom/table.py:4068: FutureWarning: SparseDataFrame is deprecated and will be removed in a future version.
Use a regular DataFrame whose columns are SparseArrays instead.
See Sparse data structures — pandas 2.2.3 documentation for more.
return constructor(mat, index=index, columns=columns)
/Users/jenweinert/miniconda3/envs/qiime2-2020.2/lib/python3.6/site-packages/pandas/core/sparse/frame.py:257: FutureWarning: SparseSeries is deprecated and will be removed in a future version.
Use a Series with sparse values instead.
>>> series = pd.Series(pd.SparseArray(...))
See Sparse data structures — pandas 2.2.3 documentation for more.
sparse_index=BlockIndex(N, blocs, blens),
/Users/jenweinert/miniconda3/envs/qiime2-2020.2/lib/python3.6/site-packages/pandas/core/generic.py:4583: FutureWarning: SparseSeries is deprecated and will be removed in a future version.
Use a Series with sparse values instead.
>>> series = pd.Series(pd.SparseArray(...))
See Sparse data structures — pandas 2.2.3 documentation for more.
return self._constructor(new_data).finalize(self)
/Users/jenweinert/miniconda3/envs/qiime2-2020.2/lib/python3.6/site-packages/pandas/core/frame.py:3471: FutureWarning: SparseSeries is deprecated and will be removed in a future version.
Use a Series with sparse values instead.
>>> series = pd.Series(pd.SparseArray(...))
See Sparse data structures — pandas 2.2.3 documentation for more.
return klass(values, index=self.index, name=items, fastpath=True)
Traceback (most recent call last):
File "/Users/jenweinert/miniconda3/envs/qiime2-2020.2/lib/python3.6/site-packages/q2cli/commands.py", line 328, in call
results = action(**arguments)
File "</Users/jenweinert/miniconda3/envs/qiime2-2020.2/lib/python3.6/site-packages/decorator.py:decorator-gen-863>", line 2, in calculate_correlations
File "/Users/jenweinert/miniconda3/envs/qiime2-2020.2/lib/python3.6/site-packages/qiime2/sdk/action.py", line 245, in bound_callable
output_types, provenance)
File "/Users/jenweinert/miniconda3/envs/qiime2-2020.2/lib/python3.6/site-packages/qiime2/sdk/action.py", line 390, in callable_executor
output_views = self._callable(**view_args)
File "/Users/jenweinert/miniconda3/envs/qiime2-2020.2/lib/python3.6/site-packages/q2_SCNIC/_SCNIC_methods.py", line 29, in calculate_correlations
correls = ca.fastspar_correlation(table, verbose=True, nprocs=n_procs)
File "/Users/jenweinert/miniconda3/envs/qiime2-2020.2/lib/python3.6/site-packages/SCNIC/correlation_analysis.py", line 83, in fastspar_correlation
path.join(temp, 'covar_table.tsv'), stdout, nprocs)
File "/Users/jenweinert/miniconda3/envs/qiime2-2020.2/lib/python3.6/site-packages/SCNIC/correlation_analysis.py", line 71, in run_fastspar
covar_table_loc, '-t', str(nprocs)], stdout=stdout, check=True)
File "/Users/jenweinert/miniconda3/envs/qiime2-2020.2/lib/python3.6/subprocess.py", line 403, in run
with Popen(*popenargs, **kwargs) as process:
File "/Users/jenweinert/miniconda3/envs/qiime2-2020.2/lib/python3.6/subprocess.py", line 709, in init
restore_signals, start_new_session)
File "/Users/jenweinert/miniconda3/envs/qiime2-2020.2/lib/python3.6/subprocess.py", line 1344, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'fastspar': 'fastspar'
Plugin error from SCNIC:
[Errno 2] No such file or directory: 'fastspar': 'fastspar'
See above for debug info.