Skip to content

Output files

Chloë Cornelissen edited this page Nov 17, 2026 · 1 revision

The ORF2LCA output looks like this:

ORF number of hits (r: 10) lineage top bit-score
contig_1_ORF1 7 1;131567;2;1783272 574.7

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. The BAT ORF2LCA output file has an extra column where ORFs are linked to the MAG in which they are found.

The contig2classification and bin2classification output looks like this:

contig or bin classification reason lineage lineage scores (f: 0.3)
contig_1 taxid assigned based on 14/15 ORFs 1;131567;2;1783272 1.00; 1.00; 1.00; 0.78
contig_2 taxid assigned (1/2) based on 10/10 ORFs 1;131567;2;1783272;1798711;1117;
307596;307595;1890422;33071;
1416614;1183438*
1.00;1.00;1.00;1.00;1.00;1.00;1.00;1.00;1.00;1.00;0.23;0.23
contig_2 taxid assigned (2/2) based on 10/10 ORFs 1;131567;2;1783272;1798711;1117;
307596;307595;1890422;33071;33072
1.00;1.00;1.00;1.00;1.00;1.00;1.00;1.00;1.00;1.00;0.77
contig_3 no taxid assigned no ORFs found

Where the lineage scores represent the fraction of bit-score support for each classification. contig_2 has two classifications. This can happen if the f parameter is chosen below 0.5. For an explanation of the starred classification, see Marking suggestive taxonomic assignments with an asterisk.

To add names to the taxids in either output file, run:

CAT_pack add_names -i {ORF2LCA / classification file} -o {output file} -d {database folder}

This will show you that for example contig_1 is classified as Terrabacteria group. To only get official rank (i.e. superkingdom, phylum, ...):

CAT_pack add_names -i {ORF2LCA / classification file} -o {output file} -d {database folder} --only_official

Or, alternatively:

CAT_pack add_names -i {ORF2LCA / classification file} -o {output file} -d {database folder} --only_official --exclude_scores

If you have named a CAT or BAT classification file with official names, you can get a summary of the classification, where total length and number of ORFs supporting a taxon are calculated for contigs:

CAT_pack summarise -c {contigs fasta} -i {named CAT classification file} -o {output file}

And the number of MAGs per encountered taxon for MAG classification:

CAT_pack summarise -i {named BAT classification file} -o {output file}

CAT_pack summarise currently does not support classification files wherein some contigs / MAGs have multiple classifications (as contig_2 above).

Marking suggestive taxonomic assignments with an asterisk

When we want to confidently go down to the lowest taxonomic level possible for a classification, an important assumption is that on that level conflict between classifications could have arisen. Namely, if there were conflicting classifications, the algorithm would have made the classification more conservative by moving up a level. Since it did not, we can trust the low-level classification. However, it is not always possible for conflict to arise, because in some cases no other sequences from the clade are present in the database. This is true for example for the family Dehalococcoidaceae, which in our databases is the sole representative of the order Dehalococcoidales. Thus, here we cannot confidently state that an classification on the family level is more correct than an classification on the order level. For these cases, CAT and BAT mark the lineage with asterisks, starting from the lowest level classification up to the level where conflict could have arisen because the clade contains multiple taxa with database entries. The user is advised to examine starred taxa more carefully, for example by analysing sequence identity between predicted ORFs and hits, or move up the lineage to a confident classification (i.e. the first classification without an asterisk).

If you do not want the asterisks in your output files, you can add the --no_stars flag to CAT or BAT.

Clone this wiki locally