Skip to content

Commit

Permalink
feat(ncbi): Update NCBI links to data-hub page.
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronmussig committed Feb 18, 2023
1 parent 4d8f871 commit a874c9d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion components/genome/GenomeExternalLinks.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
class="d-flex mx-auto my-auto"
>
<a
:href="`https://www.ncbi.nlm.nih.gov/assembly/${genomeCard.metadata_ncbi.ncbi_genbank_assembly_accession}`"
:href="`https://www.ncbi.nlm.nih.gov/data-hub/genome/${genomeCard.metadata_ncbi.ncbi_genbank_assembly_accession}`"
target="_blank"
>
<img
Expand Down
4 changes: 2 additions & 2 deletions components/genome/GenomeNcbiMetadata.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</template>
<template v-else>
<a
:href="`https://www.ncbi.nlm.nih.gov/assembly/${genomeCard.genome.accession}/`"
:href="`https://www.ncbi.nlm.nih.gov/data-hub/genome/${genomeCard.genome.accession}/`"
target="_blank"
>
{{ genomeCard.metadata_ncbi.ncbi_assembly_name }}
Expand Down Expand Up @@ -115,7 +115,7 @@
</template>
<template v-else>
<a
:href="`https://www.ncbi.nlm.nih.gov/assembly/${genomeCard.metadata_ncbi.ncbi_genbank_assembly_accession}/`"
:href="`https://www.ncbi.nlm.nih.gov/data-hub/genome/${genomeCard.metadata_ncbi.ncbi_genbank_assembly_accession}/`"
target="_blank"
>
{{ genomeCard.metadata_ncbi.ncbi_genbank_assembly_accession }}
Expand Down
2 changes: 1 addition & 1 deletion components/search/IsSurveillanceGenome.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
described taxa.</p>

<p class="mb-0">For more information, search the NCBI assembly database: NCBI - <a
:href="`https://www.ncbi.nlm.nih.gov/assembly/${surveyAccession}/`" target="_blank">{{ surveyAccession }}</a></p cla>
:href="`https://www.ncbi.nlm.nih.gov/data-hub/genome/${surveyAccession}/`" target="_blank">{{ surveyAccession }}</a></p cla>
</v-card-text>
</v-card>
</template>
Expand Down
2 changes: 1 addition & 1 deletion components/taxon-history/TaxonHistorySankeyTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Database and version numbers have been removed from NCBI accessions (e.g. GCA_002347985.1 becomes G002347985).
Genomes which had a UBA accession in prior GTDB releases are referenced by their NCBI
accession once available (e.g. UBA2234 is indicated as
<a href="https://www.ncbi.nlm.nih.gov/assembly/GCA_002347985.1" target="_blank">G002347985</a>).
<a href="https://www.ncbi.nlm.nih.gov/data-hub/genome/GCA_002347985.1" target="_blank">G002347985</a>).

<!-- Show the skeleton loader when the query is running -->
<template v-if="loading">
Expand Down

0 comments on commit a874c9d

Please sign in to comment.