@Nicholas_Bokulich I was able to find the simulation code (I think it is the "empirical-samples" on the "paycheck_cv" command). The only issue I am currently facing is running the cross validation code; where this error is popping up:
paycheck_cv
--empirical-samples ./clawback/cross.validate/feature-table.biom
--ref-seqs ./clawback/readytowear/data/silva_138_1/515f-806r/ref-seqs.qza
--ref-taxa ./clawback/readytowear/data/silva_138_1/515f-806r/ref-tax.qza
--results-dir ./clawback/cross.validate
--intermediate-dir ./clawback/temp
--k 5
--log-file ./clawback/cross.validate/log
--log-level DEBUG
Traceback (most recent call last):
File "/home/me/anaconda3/envs/qiime2-2023.2/bin/paycheck_cv", line 8, in
sys.exit(cross_validate())
File "/home/me/anaconda3/envs/qiime2-2023.2/lib/python3.8/site-packages/click/core.py", line 1130, in call
return self.main(*args, **kwargs)
File "/home/me/anaconda3/envs/qiime2-2023.2/lib/python3.8/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/home/me/anaconda3/envs/qiime2-2023.2/lib/python3.8/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/me/anaconda3/envs/qiime2-2023.2/lib/python3.8/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/home/me/anaconda3/envs/qiime2-2023.2/lib/python3.8/site-packages/paycheck/cross_validate.py", line 778, in cross_validate
taxonomy_samples = map_svs_to_taxa(
File "/home/me/anaconda3/envs/qiime2-2023.2/lib/python3.8/site-packages/paycheck/cross_validate.py", line 1576, in map_svs_to_taxa
ref_taxa = Artifact.import_data(
File "/home/me/anaconda3/envs/qiime2-2023.2/lib/python3.8/site-packages/qiime2/sdk/result.py", line 321, in import_data
return cls.from_view(type, view, view_type, provenance_capture,
File "/home/me/anaconda3/envs/qiime2-2023.2/lib/python3.8/site-packages/qiime2/sdk/result.py", line 349, in _from_view
result = transformation(view, validate_level)
File "/home/me/anaconda3/envs/qiime2-2023.2/lib/python3.8/site-packages/qiime2/core/transform.py", line 68, in transformation
self.validate(view, level=validate_level)
File "/home/me/anaconda3/envs/qiime2-2023.2/lib/python3.8/site-packages/qiime2/core/transform.py", line 143, in validate
view.validate(level)
File "/home/me/anaconda3/envs/qiime2-2023.2/lib/python3.8/site-packages/qiime2/plugin/model/file_format.py", line 34, in validate
if not self.sniff():
File "/home/me/anaconda3/envs/qiime2-2023.2/lib/python3.8/site-packages/q2_types/feature_data/_format.py", line 50, in sniff
line = fh.readline()
File "/home/me/anaconda3/envs/qiime2-2023.2/lib/python3.8/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
File "/home/me/anaconda3/envs/qiime2-2023.2/lib/python3.8/encodings/utf_8_sig.py", line 69, in _buffer_decode
return codecs.utf_8_decode(input, errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xca in position 10: invalid continuation byte
I am not sure how to resolve this error, so any insight would be great!
Thank you,
Mike