{% from "oligonucleotides/macros/plot.html" import plot_profile %} {% macro table(entities) %}
ID | Label | Ordered on | Ordered by | Storage place | Length | Sequence |
---|---|---|---|---|---|---|
{{ oligonucleotide.id }} | {{ oligonucleotide.label }} | {{ oligonucleotide.date_ordered | format_date }} | {{ oligonucleotide.owner.username }} | {{ oligonucleotide.storage_place }} | {{ oligonucleotide|length }} | {{ oligonucleotide.formatted_seq(max_len=45)|safe }} |
ID | Label | Storage place | Length | Continous match | Best match | Profile |
---|---|---|---|---|---|---|
{{ oligonucleotide.id }} | {{ oligonucleotide.label }} | {{ oligonucleotide.storage_place }} | {{ oligonucleotide|length }} | {{ result.length }} | {{ result.lcs }} | {{ plot_profile(oligonucleotide.id, result.to_jsarray(), (result.profile | length)) }} |