diff --git a/anvio/data/static/template/inversions.tmpl b/anvio/data/static/template/inversions.tmpl index 49cd8bf8fc..23816d14c1 100644 --- a/anvio/data/static/template/inversions.tmpl +++ b/anvio/data/static/template/inversions.tmpl @@ -62,7 +62,86 @@
-

Basic information :: What we know about this inversion

+ +

Genomic context :: What we know about the genes that surrounds it.

+ +

The figure below shows the location of the inversion and the genes that surround it in the genome. You can find a table with more information about the genes and their functions. + +

+ + + {% if meta.genomic_context_recovered %} + + + {{ inversion|humanize}} + + + {% for gene in inversions|lookup:inversion|lookup:"genes" %} + {% if gene|lookup:"direction" == "r" %}{% else %}{% endif %} + + + + + {% if forloop.counter0|even_odd == 0 %} + {{ gene|lookup:"gene_callers_id" }} + {% else %} + {{ gene|lookup:"gene_callers_id" }} + {% endif %} + {% endfor %} + {% else %} + We don't know anything about the genomic context since you have used the flag `--skip-recovering-genomic-context` (#SAD) + {% endif %} + + + + {% if meta.genomic_context_recovered %} + + {% for gene in inversions|lookup:inversion|lookup:"genes" %} + + + {% endfor %} + {% endif %} + +
+ +

Activity :: How does it behave across samples

+ +

The figures below show the relative proportion of the orientation of this inversion in each sample. For each sample, anvi'o produces two plots to quantify the + proportion of each end of the inversion based on short read recruitment results. For more information, see the help page + + {% if meta.inversion_activity_computed %} + {% for sample in inversions|lookup:inversion|lookup:"activity" %} +

+ + {{ sample }} + {% for oligo_primer in inversions|lookup:inversion|lookup:"activity"|lookup:sample %} + {% for oligo in inversions|lookup:inversion|lookup:"activity"|lookup:sample|lookup:oligo_primer %} + + {% endfor %} + {% endfor %} + +
+ {% endfor %} +
+ + + Reference + + Inversion + +
+ {% else %} +
+ + We don't know anything about the activity since you have used the flag `--skip-compute-inversion-activity` (#SAD) + +
+ {% endif %} + +

Details :: What we know about this inversion

@@ -97,7 +176,7 @@
- +
Inverted Repeats @@ -202,78 +281,6 @@
- -

Genomic context :: What we know about the genes that surrounds it. Here you can find a table with more information about the genes, and their functions.

- -
- - - {% if meta.genomic_context_recovered %} - - - {{ inversion|humanize}} - - - {% for gene in inversions|lookup:inversion|lookup:"genes" %} - {% if gene|lookup:"direction" == "r" %}{% else %}{% endif %} - - - - - {% if forloop.counter0|even_odd == 0 %} - {{ gene|lookup:"gene_callers_id" }} - {% else %} - {{ gene|lookup:"gene_callers_id" }} - {% endif %} - {% endfor %} - {% else %} - We don't know anything about the genomic context since you have used the flag `--skip-recovering-genomic-context` (#SAD) - {% endif %} - - - - {% if meta.genomic_context_recovered %} - - {% for gene in inversions|lookup:inversion|lookup:"genes" %} - - - {% endfor %} - {% endif %} - -
- -

Activity :: The relative proportion of this inversion's orientation in each sample. Two barplot are reported per samples as anvi'o compute the proportions for each end of an inversion. For more information, see the help page.

- - {% if meta.inversion_activity_computed %} - {% for sample in inversions|lookup:inversion|lookup:"activity" %} -
- - {{ sample }} - {% for oligo_primer in inversions|lookup:inversion|lookup:"activity"|lookup:sample %} - {% for oligo in inversions|lookup:inversion|lookup:"activity"|lookup:sample|lookup:oligo_primer %} - - {% endfor %} - {% endfor %} - -
- {% endfor %} -
- - - Reference - - Inversion - -
- {% else %} -
- - We don't know anything about the activity since you have used the flag `--skip-compute-inversion-activity` (#SAD) - - {% endif %}