code: public static List<Chain> getRepresentativeAtomsOnly(List<Chain> chains){
  		List<Chain> newChains = new ArrayList<Chain>();
  
  		for (Chain chain : chains){
  			Chain newChain = getRepresentativeAtomsOnly(chain);
  			newChains.add(newChain);
  		}
  
  		return newChains;
  	}
docs: Convert a List of chain objects to another List of chains, containing Representative atoms only.
  
  @param chains list of chains
  @return a list of chains
  @since Biojava 4.1.0