public static AFPChain filterDuplicateAFPs ( AFPChain afpChain , CECalculator ceCalc , Atom [ ] ca1 , Atom [ ] ca2duplicated ) throws StructureException { return filterDuplicateAFPs ( afpChain , ceCalc , ca1 , ca2duplicated , null ) ; }
Takes as input an AFPChain where ca2 has been artificially duplicated . This raises the possibility that some residues of ca2 will appear in multiple AFPs . This method filters out duplicates and makes sure that all AFPs are numbered relative to the original ca2 .