Uploaded image for project: 'Jalview'
  1. Jalview
  2. JAL-1064

refactor sequence fetcher/database name registry to support canonical database names for multiple sequence and alignment data sources

    XMLWordPrintable

    Details

      Description

      This arose when fixing JAL-1062.

      DAS source coordinate systems have a complex set of interrelationships. All Ensembl coordinate systems have their own URI, but the same authority string 'Ensembl' - which is what Jalview would normally use if it were to store the database name associated with a DAS source. However, in the 2.7 architecture, this results in a conflict, since Jalview uses the same 'DBName' string to lookup a particular SequenceFetcher for a database - and if multiple das sources have the same name, each one will overwrite the entry in Jalview's database fetcher registry for any previously registered 'Ensembl' sources.

      In order to fix this, we need to generalise the registry to allow a new tier:
      Top Tier: Primary authority { source 1 for authority, source 2 for authority, source 3 for authority }
       - Jalview would then iterate through all sources for an authority, trying to retrieve each ID in turn.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jprocter James Procter
              Reporter:
              jprocter James Procter
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: