diff --git a/components/search/IsSurveillanceGenome.vue b/components/search/IsSurveillanceGenome.vue index f9cc5a5..6ece66f 100644 --- a/components/search/IsSurveillanceGenome.vue +++ b/components/search/IsSurveillanceGenome.vue @@ -14,14 +14,14 @@ -

You searched for the accession {{ accession }}, which is a known surveillance genome.

+

You searched for the accession {{ surveyAccession }}, which is a known surveillance genome.

The NCBI Pathogen Detection Assembly (surveillance) genomes have been excluded from the GTDB as they include extremely large quantities of well described taxa.

For more information, search the NCBI assembly database: NCBI - {{ accession }}

+ :href="`https://www.ncbi.nlm.nih.gov/assembly/${surveyAccession}/`" target="_blank">{{ surveyAccession }}

@@ -46,7 +46,8 @@ export default Vue.extend({ loading: false, lastAccession: '', isSurveillance: false, - mdiAlertCircleSvg: mdiAlertCircle + mdiAlertCircleSvg: mdiAlertCircle, + surveyAccession: '', }), mounted() { this.loadGenomeMetadata(this.accession); @@ -58,6 +59,7 @@ export default Vue.extend({ this.loading = true; this.$api.genome.getMetadata(accession).then(response => { this.isSurveillance = response.data.isNcbiSurveillance; + this.surveyAccession = response.data.accession; }) .finally(() => { this.loading = false;