Skip to content
Snippets Groups Projects
Commit c81fe6bd authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

add Assembly

parent 8d2ae860
No related branches found
No related tags found
1 merge request!222Refseq no sys
Pipeline #123135 failed
...@@ -109,16 +109,13 @@ const scaleTypes = ref<string[]>(['linear', 'sqrt', 'log', 'symlog']) ...@@ -109,16 +109,13 @@ const scaleTypes = ref<string[]>(['linear', 'sqrt', 'log', 'symlog'])
const selectedTaxoRank = ref("Superkingdom"); const selectedTaxoRank = ref("Superkingdom");
const headers = ref([ const headers = ref([
{ title: "Assembly", key: "Assembly" },
{ title: "Replicon", key: "replicon" },
{ {
title: "System", title: "System",
key: "type", key: "type",
fixed: true fixed: true
}, },
{ title: "Assembly", key: "Assembly" },
{ title: "Replicon", key: "replicon" }, { title: "Replicon", key: "replicon" },
{ {
title: "Subsystem", title: "Subsystem",
key: "subtype", key: "subtype",
...@@ -581,7 +578,20 @@ async function downloadPng(component: ComponentPublicInstance | null, filename: ...@@ -581,7 +578,20 @@ async function downloadPng(component: ComponentPublicInstance | null, filename:
item.type }} item.type }}
</v-chip> </v-chip>
</template> </template>
<template #[`item.Assembly`]="{ item }">
<v-chip color="info" link size="small"
:href="`https://www.ncbi.nlm.nih.gov/datasets/genome/${item.Assembly}`" target="_blank"> {{
item.Assembly }}
</v-chip>
</template>
<template #[`item.replicon`]="{ item }">
<v-chip color="info" link size="small"
:href="`https://www.ncbi.nlm.nih.gov/nuccore/${item.replicon}`" target="_blank"> {{
item.replicon }}
</v-chip>
</template>
<!-- -->
<template #[`item.subtype`]="{ item }"> <template #[`item.subtype`]="{ item }">
<v-chip color="info" link size="small" :to="`/defense-systems/${item.type.toLowerCase()}`" <v-chip color="info" link size="small" :to="`/defense-systems/${item.type.toLowerCase()}`"
target="_blank"> {{ target="_blank"> {{
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment