Repository navigation
CAT
CAT assigns taxonomy to each contig in an assembly. It predicts proteins, searches them against the reference database, Where the lineage is the full taxonomic lineage of the classification of the ORF, and the bit-score the top-hit bit-score that is assigned to the ORF for voting.
You need a nucleotide contig FASTA and the database files. The default aligner is DIAMOND.
CAT_pack cat -c {contigs fasta} -d {database folder}Multiple output files and a log file will be generated. The final classification files will be called out.CAT.ORF2LCA.txt and out.CAT.contig2classification.txt. Learn more here about output files and folders
Alternatively, if you already have a predicted proteins fasta file and/or an alignment table for example from previous runs, you can supply them to CAT, which will then skip the steps that have already been done and start from there:
CAT_pack cat -c {contigs fasta} -d {database folder} -p {predicted proteins fasta} -a {alignment file}The headers in the predicted proteins fasta file must look like this >{contig}_{ORFnumber}, so that CAT can couple contigs to ORFs. The alignment file must be tab-separated, with queried ORF in the first column, protein accession number in the second, and the bitscore in the twelfth or third. (changed since version 7.0.0b0)
Note
CAT pack recognizes standard compact and BLAST6 tables. For a custom layout, keep query and target IDs in the first two columns and select the bitscore column with --bit_score_column. The index starts at zero, so 2 means the third column and 11 the twelfth.
If you plan to run BAT after a CAT run on the set of contigs from which the MAGs originate, you can use the already predicted protein and alignment files to classify the MAGs much faster.
- Change
-ror-fto adjust how CAT combines evidence. - Use
add_namesto append names orsummariseto aggregate a named classification table.
See CAT commands and options for flags and defaults.