From 8b469147d1b5990afa152a14800417e8aeb59ebe Mon Sep 17 00:00:00 2001 From: Scott Cain Date: Thu, 2 May 2024 08:57:48 -0700 Subject: [PATCH 1/2] fixes undefined problem, but not the ui problem (the jbrowse orthology panel shouldn't display for sars) --- src/constants.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/constants.js b/src/constants.js index 094f20a8d..d3bf9c93e 100644 --- a/src/constants.js +++ b/src/constants.js @@ -409,6 +409,7 @@ export const SPECIES = [ jBrowseurltemplate: 'tracks/All Genes/{refseq}/trackData.jsonz', jBrowsefastaurl: 'https://s3.amazonaws.com/agrjbrowse/fasta/GCF_000001405.40_GRCh38.p14_genomic.fna.gz', jBrowsetracks: '_all_genes', + jBrowseOrthologyTracks:'', suppressFlatten: true, vertebrate: false, enableSingleCellExpressionAtlasLink: false, From 5164a60f31e1742cf46a59469c96cad052e78f35 Mon Sep 17 00:00:00 2001 From: Scott Cain Date: Thu, 2 May 2024 09:02:52 -0700 Subject: [PATCH 2/2] removes the jbrowse orthology link panel for sars-cov-2 --- src/components/orthology/orthologyJBrowseLinkPanel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/orthology/orthologyJBrowseLinkPanel.js b/src/components/orthology/orthologyJBrowseLinkPanel.js index f794eff43..3285a0d15 100644 --- a/src/components/orthology/orthologyJBrowseLinkPanel.js +++ b/src/components/orthology/orthologyJBrowseLinkPanel.js @@ -15,7 +15,7 @@ const geneLocationIsInvalid = (geneLocation) => { const OrthologyJBrowseLinkPanel = ({geneLocation, taxonid}) => { return ( - geneLocationIsInvalid(geneLocation) ? null : + (geneLocationIsInvalid(geneLocation) || taxonid === 'NCBITaxon:2697049') ? null :
Links to orthology data in JBrowse by filter level: