diff --git a/components/content/RefseqDb.vue b/components/content/RefseqDb.vue index b5e33f8794361fd0ff9163a2a47703851710ce87..230e0dce4ddee87131a6173d615ccb06fbc41ad1 100644 --- a/components/content/RefseqDb.vue +++ b/components/content/RefseqDb.vue @@ -109,16 +109,13 @@ const scaleTypes = ref<string[]>(['linear', 'sqrt', 'log', 'symlog']) const selectedTaxoRank = ref("Superkingdom"); const headers = ref([ - { title: "Assembly", key: "Assembly" }, - - { title: "Replicon", key: "replicon" }, { title: "System", key: "type", fixed: true }, + { title: "Assembly", key: "Assembly" }, { title: "Replicon", key: "replicon" }, - { title: "Subsystem", key: "subtype", @@ -581,7 +578,20 @@ async function downloadPng(component: ComponentPublicInstance | null, filename: item.type }} </v-chip> </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 }"> <v-chip color="info" link size="small" :to="`/defense-systems/${item.type.toLowerCase()}`" target="_blank"> {{