Class PDBDomainProvider

  • All Implemented Interfaces:
    DomainProvider

    public class PDBDomainProvider
    extends Object
    implements DomainProvider
    Class to fetch domains through the RCSB's REST API.
    Author:
    Spencer Bliven
    • Constructor Detail

      • PDBDomainProvider

        public PDBDomainProvider()
      • PDBDomainProvider

        public PDBDomainProvider​(String base,
                                 int cutoff)
        Parameters:
        base -
        cutoff -
    • Method Detail

      • getDomainNames

        public SortedSet<String> getDomainNames​(String name)
        Gets a list of domain representatives for a given PDB ID.
        Specified by:
        getDomainNames in interface DomainProvider
        Parameters:
        name - a structure identifier
        Returns:
        A list of domain names
      • getRepresentativeDomains

        public SortedSet<String> getRepresentativeDomains()
        Gets a list of all domain representatives
        Specified by:
        getRepresentativeDomains in interface DomainProvider
        Returns:
        A full list of all representative domains recognized by this provider
      • main

        public static void main​(String[] args)