The purpose of this program is to affiliate tRNA gene sequences in an anvi'o contigs database with taxonomic names. A properly setup local tRNA taxonomy database is required for this program to perform properly. After its successful run, anvi-estimate-trna-taxonomy will be useful to estimate taxonomy at genome-, collection-, or metagenome-level)..
🔙 To the main page of anvi’o programs and artifacts.
This program associates the tRNA reads found in your contigs-db with taxonomy information.
Once these associations are stored in your contigs-db (represented by a trna-taxonomy artifact), you’ll be able to run anvi-estimate-trna-taxonomy to use the associations to estimate taxonomy on a larger scale (i.e. for a genome or metagenome).
To run this program, you’ll need to have set up two things:
This program will then go through the tRNA hits in your contigs database and search them against the sequences in the GTDB databases that you downloaded to assign them taxonomy.
The following is a basic run of this program:
anvi-run-trna-taxonomy -c contigs-db
If you have set up the two requirements listed above, this should run smoothly.
If your contigs-db is a trnaseq-contigs-db, the sequences it holds are tRNA-seq seeds, which are labeled with the anticodons read from tRNA transcripts rather than encoded in genes. Reverse transcription reads inosine (I), a modified nucleotide, as G, and bacterial tRNA-Arg-ACG and tRNA-Leu-AAG can carry inosine at wobble position 34, so their seeds can be labeled GCG and GAG. This program therefore searches seeds labeled GCG against both GCG and ACG genes and seeds labeled GAG against both GAG and AAG genes, keeping the hits of the genes whose best alignment has the higher bitscore. The taxonomy of a seed is always stored under its labeled anticodon. In the table this program prints, a column called as_I34 shows how many seeds were annotated with ACG or AAG genes. The percent identity of a seed with I34 counts its G at position 34 as a mismatch to the A of the genes, so a seed that differs from a gene only at that position has an identity of about 98.6% for tRNA-Arg and 98.8% for the longer tRNA-Leu.
When changing these parameters, it might be a good idea to run anvi-estimate-trna-taxonomy with the --debug flag so that you can see what your results look like under the hood.
--max-num-target-sequences: the number of hits that this program considers for each tRNA sequence before making a final decision for the taxonomy association. The default is 100, but if you want to ensure that you have accurate data at the expense of some runtime, you can increase it.--min-percent-identity: the minimum percent alignment needed to consider something a hit. The default is 90, but if you’re not getting any hits on a specific sequence, you can decrease it at the risk of getting some nonsense results.Finally, this program does not usually have an output file, but if desired you can add the parameter --all-hits-output-file to store the list of hits that anvi’o looked at to determine the consensus hit for each sequence. The searched_anticodon column in this file gives the anticodon of the genes each hit comes from, which differs from the column anticodon only for the tRNA-seq seeds with I34 that are enumerated above.
Edit this file to update this information.
The following is the list of parameters and their descriptions in the latest version of anvi-run-trna-taxonomy.
The code that generates this web page ensures that this information is the latest available in 9-dev (eunice). Which means, in some cases the information in this section (generated automatically) might be more comprehensive or up-to-date compared to the descriptions above (written by humans).
-c, --contigs-db CONTIGS_DB required--trna-taxonomy-data-dir PATH--min-percent-identity PERCENT_IDENTITY90--max-num-target-sequences NUMBER100-P, --num-parallel-processes NUM_PROCESSES1-T, --num-threads NUM_THREADS1--write-buffer-size INT5000--all-hits-output-file FILE_PATHAre you aware of resources that may help users better understand the utility of this program? Please feel free to edit this file on GitHub. If you are not sure how to do that, find the __resources__ tag in this file to see an example.