Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RAT error in --mode mcr #128

Open
Pompamm opened this issue Aug 11, 2024 · 0 comments
Open

RAT error in --mode mcr #128

Pompamm opened this issue Aug 11, 2024 · 0 comments

Comments

@Pompamm
Copy link

Pompamm commented Aug 11, 2024

Hi,

I am using the RAT in the package which my code is
./CAT_pack reads --mode mcr -b $PWD$/metabat2_filtered/ -c $PWD$/K91/final_contigs.fasta -s fa -1 $PWD$/FILE_1.fq.gz -2 $PWD$/FILE_2.fq.gz -d $PWD$/20240422_CAT_nr/db -t $PWD$/20240422_CAT_nr/tax --c2c $PWD$/FILE.contig2classification.txt -o PREFIX_NAME

And i got this ERROR
Traceback (most recent call last):
File "./CAT_pack", line 101, in
main()
File "./CAT_pack", line 85, in main
reads.run()
File "/data/kodchaporn.kha/metagenome/CAT_pack/CAT_pack/reads.py", line 217, in run
args.path_to_samtools, args.log_file, args.quiet))
File "/data/kodchaporn.kha/metagenome/CAT_pack/CAT_pack/check.py", line 168, in check_samtools_binaries
output = c[0].decode().split('\n')[0].rstrip()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xab in position 286: invalid start byte

with the log file
seafood_10_RAT.log

I have been searching in the ISSUES in GitHub, but no one has been discussing this problem before, so I need your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant