Skip to content

Update mutation mapper default PDB url to the new PDB endpoint #51

@pieterlukasse

Description

@pieterlukasse

PDB changed its endpoint for serving PDB data from http://www.rcsb.org/pdb/files/ to http://files.rcsb.org/view/ . See also cBioPortal/cbioportal#1434.

So it would be good to update mutationMapper.js code here as follows:

        function delayedInitMutationMapper(el, options, tabs, tabName)
        {
                var mutationMapper = new MutationMapper(options);
                var initialized = false;

@@ -13516,7 +13517,8 @@ function Mutation3dVis(name, options)
                        debug: false,
                        color: "white"
                },
-               pdbUri: "http://www.rcsb.org/pdb/files/", // default PDB database URI
+               //for https, use a proxy since rcsb.org is not serving https and browsers will complain about the mixed https/http content
+               pdbUri: "http://files.rcsb.org/view/",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions