-
Notifications
You must be signed in to change notification settings - Fork 36
Description
Dear professor,
I successfully ran the following codes and got several outputs.
/datapool/software/anaconda3/bin/CAT_pack reads --mode mcr -b ./ab_01_11/bin_refinement/metawrap_50_10_bins/ -c ab_01_11.filter.fa -1 ab_01_11_1.fastq -2 ab_01_11_2.fastq -d /datapool/db/CAT_BAT/database/prepare_database/db -t /datapool/db/CAT_BAT/database/prepare_database/tax --c2c second_CAT_run.contig2classification.txt --b2c second_BAT_run.bin2classification.txt --path_to_samtools /datapool/software/anaconda3/bin/samtools -s .fa --force
The outputs were as follows:
out.RAT.ab_01_11.filter.fa.ab_01_11_1.fastq.bwamem.sorted
out.RAT.bin.reads.txt
out.RAT.complete.abundance.txt
out.RAT.contig.abundance.txt
out.RAT.log
out.RAT.read2classification.txt
out.RAT.unclassified_unmapped.alignment.diamond
out.RAT.unclassified_unmapped.fasta
out.RAT.unmapped2classification.txt
After a RAT run is finished, I want add names on the abundance files (only for RAT runs with nr database), but it failed.
/datapool/software/anaconda3/bin/CAT_pack add_names -i out.RAT.complete.abundance.txt -o out.RAT.completete_abundance_file_with_names.txt -t /datapool/db/CAT_BAT/database/prepare_database/tax
The error was:
CAT_pack v6.0.
[2025-07-18 12:46:24] Loading file /datapool/db/CAT_BAT/database/prepare_database/tax/nodes.dmp.
[2025-07-18 12:46:29] Loading file /datapool/db/CAT_BAT/database/prepare_database/tax/names.dmp.
[2025-07-18 12:46:34] Appending names...
[2025-07-18 12:46:34] ERROR: ./out.RAT.complete.abundance.txt is not a supported classification file.
Please tell me how to fix it. Thank you.