code: @Override
  	public ScopDomain getDomainByScopID(String scopId) {
  
  		try {
  			ensureClaInstalled();
  		} catch (IOException e) {
  			throw new ScopIOException(e);
  		}
  
  		if ( scopId.length() < 6) {
  			throw new ScopIOException("Does not look like a scop ID! " + scopId);
  		}
  		String pdbId = scopId.substring(1,5);
  		List<ScopDomain> doms = getDomainsForPDB(pdbId);
  		if ( doms == null)
  			return null;
  		for ( ScopDomain d : doms){
  			if ( d.getScopId().equalsIgnoreCase(scopId))
  				return d;
  		}
  
  		return null;
  	}
docs: /* (non-Javadoc)
  @see org.biojava.nbio.structure.scop.ScopDatabase#getDomainByScopID(java.lang.String)