generate_plot

Machine learning can sometimes feel like a “black box”. generate_plot lets you see exactly why the model made a certain call. It creates an interactive HTML dashboard where you can see your genomes mapped out. You can visually explore how they cluster based on their Trp/Gly ratios and coding density, making it much easier to verify outliers or double-check tricky predictions.

Arguments

usage: gtranslate generate_plot --feature_file FEATURE_FILE --output_file
                                OUTPUT_FILE
                                [--selected_genome_file SELECTED_GENOME_FILE]
                                [-h]

required named arguments

--feature_file

path to TSV file containing features for each genome

--output_file

path to output file

optional arguments

--selected_genome_file

path to file containing the list of selected genomes.One genome ID per line.

Files output

Example

Input

gtranslate generate_plot --feature_file gtranslate_featured.tsv --output_file gtranslate_plot.html

Output

[2026-04-27 22:30:33] INFO: gTranslate v0.0.2
[2026-04-27 22:30:33] INFO: gtranslate generate_plot --feature_file gtranslate_featured.tsv --output_file gtranslate_plot.html
[2026-04-27 22:30:33] INFO: Running generate_plot
[2026-04-27 22:30:49] INFO: Interactive HTML dashboard generated: gtranslate_plot.html
[2026-04-27 22:30:49] INFO: Done.