merenlab / anvio

An analysis and visualization platform for 'omics data
http://merenlab.org/software/anvio
GNU General Public License v3.0
426 stars 145 forks source link

File Path Error #515

Closed adityabandla closed 7 years ago

adityabandla commented 7 years ago

Hi While running the cpr-classifier script, I run into the error, which says

File/Path Error: No input file is declared...

Though the error seems quite obvious, I can't find a mistake in the path to the files. For context, previous steps worked with these files

adityabandla commented 7 years ago

Seems to work when an output directory is mentioned through the -o option. However, the help for this script nor the error message displayed point to this

adityabandla commented 7 years ago

But I ran into the following error

Traceback (most recent call last): File "/.local/bin/anvi-script-predict-CPR-genomes", line 148, in main(args) File "/.local/bin/anvi-script-predict-CPR-genomes", line 81, in main rf.initialize_classifier() File "/.local/lib/python3.6/site-packages/anvio/learning.py", line 93, in initialize_classifier classifier_obj = pickle.load(open(self.classifier_object_path)) File "/miniconda3/lib/python3.6/codecs.py", line 321, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte