Uses of Class
org.biojava.nbio.structure.align.model.AFPChain
-
-
Uses of AFPChain in org.biojava.nbio.structure.align
Methods in org.biojava.nbio.structure.align that return AFPChain Modifier and Type Method Description abstract AFPChainAbstractStructureAlignment. align(Atom[] ca1, Atom[] ca2)abstract AFPChainAbstractStructureAlignment. align(Atom[] ca1, Atom[] ca2, Object params)AFPChainBioJavaStructureAlignment. align(Atom[] ca1, Atom[] ca2)AFPChainBioJavaStructureAlignment. align(Atom[] ca1, Atom[] ca2, Object params)AFPChainStructureAlignment. align(Atom[] ca1, Atom[] ca2)Run an alignment while specifying the atoms to be aligned.AFPChainStructureAlignment. align(Atom[] ca1, Atom[] ca2, Object params)run an alignment and also send a bean containing the parameters.AFPChainCallableStructureAlignment. call()Methods in org.biojava.nbio.structure.align with parameters of type AFPChain Modifier and Type Method Description static intAFPTwister. afp2Res(AFPChain afpChain, int afpn, int[] afpPositions, int listStart)Set the list of equivalent residues in the two proteins given a list of AFPs WARNING: changes the values for FocusRes1, focusRes2 and FocusResn in afpChain!static Group[]AFPTwister. twistOptimized(AFPChain afpChain, Atom[] ca1, Atom[] ca2)superimposing according to the optimized alignmentstatic Group[]AFPTwister. twistPDB(AFPChain afpChain, Atom[] ca1, Atom[] ca2)calculate the total rmsd of the blocks output a merged pdb file for both proteins protein 1, in chain A protein 2 is twisted according to the twists detected, in chain B -
Uses of AFPChain in org.biojava.nbio.structure.align.ce
Methods in org.biojava.nbio.structure.align.ce that return AFPChain Modifier and Type Method Description AFPChainCeCPMain. align(Atom[] ca1, Atom[] ca2, Object param)Aligns ca1 and ca2 using a heuristic to check for CPs.AFPChainCeMain. align(Atom[] ca1, Atom[] ca2)AFPChainCeMain. align(Atom[] ca1, Atom[] ca2, Object param)Align ca2 onto ca1.AFPChainOptimalCECPMain. align(Atom[] ca1, Atom[] ca2, Object param)Finds the optimal alignment between two proteins allowing for a circular permutation (CP).AFPChainOptimalCECPMain. alignOptimal(Atom[] ca1, Atom[] ca2, Object param, AFPChain[] alignments)Finds the optimal alignment between two proteins allowing for a circular permutation (CP).AFPChainOptimalCECPMain. alignPermuted(Atom[] ca1, Atom[] ca2, Object param, int cp)Aligns ca1 with ca2 permuted by cp residues.AFPChainCECalculator. extractFragments(AFPChain afpChain, Atom[] ca1, Atom[] ca2)AFPChainCeCalculatorEnhanced. extractFragments(AFPChain afpChain, Atom[] ca1, Atom[] ca2)static AFPChainCeCPMain. filterDuplicateAFPs(AFPChain afpChain, CECalculator ceCalc, Atom[] ca1, Atom[] ca2duplicated)Takes as input an AFPChain where ca2 has been artificially duplicated.static AFPChainCeCPMain. filterDuplicateAFPs(AFPChain afpChain, CECalculator ceCalc, Atom[] ca1, Atom[] ca2duplicated, CECPParameters params)AFPChainCeCPMain. invertAlignment(AFPChain a)Swaps the order of structures in an AFPChainstatic AFPChainCeCPMain. postProcessAlignment(AFPChain afpChain, Atom[] ca1, Atom[] ca2m, CECalculator calculator)Circular permutation specific code to be run after the standard CE alignmentstatic AFPChainCeCPMain. postProcessAlignment(AFPChain afpChain, Atom[] ca1, Atom[] ca2m, CECalculator calculator, CECPParameters param)Circular permutation specific code to be run after the standard CE alignmentMethods in org.biojava.nbio.structure.align.ce with parameters of type AFPChain Modifier and Type Method Description AFPChainOptimalCECPMain. alignOptimal(Atom[] ca1, Atom[] ca2, Object param, AFPChain[] alignments)Finds the optimal alignment between two proteins allowing for a circular permutation (CP).voidCECalculator. convertAfpChain(AFPChain afpChain, Atom[] ca1, Atom[] ca2)copy data from this class into AFPChain container object.voidCeCalculatorEnhanced. convertAfpChain(AFPChain afpChain, Atom[] ca1, Atom[] ca2)copy data from this class into AFPChain container object.static ObjectGuiWrapper. display(AFPChain afpChain, Atom[] ca1, Atom[] ca2)AFPChainCECalculator. extractFragments(AFPChain afpChain, Atom[] ca1, Atom[] ca2)AFPChainCeCalculatorEnhanced. extractFragments(AFPChain afpChain, Atom[] ca1, Atom[] ca2)static AFPChainCeCPMain. filterDuplicateAFPs(AFPChain afpChain, CECalculator ceCalc, Atom[] ca1, Atom[] ca2duplicated)Takes as input an AFPChain where ca2 has been artificially duplicated.static AFPChainCeCPMain. filterDuplicateAFPs(AFPChain afpChain, CECalculator ceCalc, Atom[] ca1, Atom[] ca2duplicated, CECPParameters params)StringAbstractUserArgumentProcessor. getDbSearchResult(AFPChain afpChain)AFPChainCeCPMain. invertAlignment(AFPChain a)Swaps the order of structures in an AFPChainvoidCECalculator. nextStep(AFPChain afpChain, Atom[] ca1, Atom[] ca2)voidCeCalculatorEnhanced. nextStep(AFPChain afpChain, Atom[] ca1, Atom[] ca2)static AFPChainCeCPMain. postProcessAlignment(AFPChain afpChain, Atom[] ca1, Atom[] ca2m, CECalculator calculator)Circular permutation specific code to be run after the standard CE alignmentstatic AFPChainCeCPMain. postProcessAlignment(AFPChain afpChain, Atom[] ca1, Atom[] ca2m, CECalculator calculator, CECPParameters param)Circular permutation specific code to be run after the standard CE alignmentstatic voidGuiWrapper. showAlignmentImage(AFPChain afpChain, Atom[] ca1, Atom[] ca2, Object jmol)voidCECalculator. traceFragmentMatrix(AFPChain afpChain, Atom[] ca1, Atom[] ca2)voidCeCalculatorEnhanced. traceFragmentMatrix(AFPChain afpChain, Atom[] ca1, Atom[] ca2) -
Uses of AFPChain in org.biojava.nbio.structure.align.fatcat
Methods in org.biojava.nbio.structure.align.fatcat that return AFPChain Modifier and Type Method Description protected AFPChainFatCat. align(Atom[] ca1, Atom[] ca2, FatCatParameters params, boolean doRigid)AFPChainFatCatFlexible. align(Atom[] ca1, Atom[] ca2)AFPChainFatCatFlexible. align(Atom[] ca1, Atom[] ca2, Object param)AFPChainFatCatRigid. align(Atom[] ca1, Atom[] ca2)AFPChainFatCatRigid. align(Atom[] ca1, Atom[] ca2, Object param)AFPChainFatCat. alignFlexible(Atom[] ca1, Atom[] ca2, FatCatParameters params)AFPChainFatCat. alignRigid(Atom[] ca1, Atom[] ca2)AFPChainFatCat. alignRigid(Atom[] ca1, Atom[] ca2, FatCatParameters params) -
Uses of AFPChain in org.biojava.nbio.structure.align.fatcat.calc
Methods in org.biojava.nbio.structure.align.fatcat.calc that return AFPChain Modifier and Type Method Description AFPChainFatCatAligner. getAfpChain()Methods in org.biojava.nbio.structure.align.fatcat.calc with parameters of type AFPChain Modifier and Type Method Description static booleanAFPChainer. afpPairConn(int afp1, int afp2, FatCatParameters params, AFPChain afpChain)//Key function: calculate the connectivity of AFP pairs //no compatibility criteria is executed //note: afp1 is previous to afp2 in terms of the position //this module must be optimizedstatic voidAFPOptimizer. blockInfo(AFPChain afpChain)get the afp list and residue list for each blockprotected static doubleAFPChainer. calAfpRmsd(int afpn, int[] afpPositions, int listStart, AFPChain afpChain, Atom[] ca1, Atom[] ca2)//return the rmsd of the residues from the segments that form the given AFP list //this value can be a measurement (1) for the connectivity of the AFPsdoubleSigEva. calNS(FatCatParameters params, AFPChain afpChain)doubleSigEva. calSigAll(FatCatParameters params, AFPChain afpChain)static voidAFPChainer. doChainAfp(FatCatParameters params, AFPChain afpChain, Atom[] ca1, Atom[] ca2)// Key function: chain (assembly) the AFPs // a AFP (k) is defined as (i, j, k), with i and j are staring points // AFP extension (eg.static voidAFPCalculator. extractAFPChains(FatCatParameters params, AFPChain afpChain, Atom[] ca1, Atom[] ca2)static voidAFPOptimizer. optimizeAln(FatCatParameters params, AFPChain afpChain, Atom[] ca1, Atom[] ca2)optimize the alignment by dynamic programmingstatic voidAFPPostProcessor. postProcess(FatCatParameters params, AFPChain afpChain, Atom[] ca1, Atom[] ca2)static voidAFPCalculator. sortAfps(AFPChain afpChain, Atom[] ca1, Atom[] ca2)static voidAFPOptimizer. updateScore(FatCatParameters params, AFPChain afpChain)to update the chaining score after block delete and merge processed the blockScore value is important for significance evaluation -
Uses of AFPChain in org.biojava.nbio.structure.align.gui
Methods in org.biojava.nbio.structure.align.gui with parameters of type AFPChain Modifier and Type Method Description static StructureDisplayAFP. createArtificalStructure(AFPChain afpChain, Atom[] ca1, Atom[] ca2)Create a "fake" Structure objects that contains the two sets of atoms aligned on top of each other.static StructureAlignmentJmolDisplayAFP. display(AFPChain afpChain, Group[] twistedGroups, Atom[] ca1, Atom[] ca2, List<Group> hetatms1, List<Group> hetatms2)Note: ca2, hetatoms2 and nucleotides2 should not be rotated.static StructureAlignmentJmolStructureAlignmentDisplay. display(AFPChain afpChain, Atom[] ca1, Atom[] ca2)Display an AFPChain alignmentstatic JMenuBarMenuCreator. getAlignmentPanelMenu(JFrame frame, ActionListener actionListener, AFPChain afpChain, MultipleAlignment msa)Create the menu for the Alignment Panel representation of Structural Alignments.static JMenuBarMenuCreator. getAlignmentTextMenu(JFrame frame, ActionListener actionListener, AFPChain afpChain, MultipleAlignment msa)Create the menu for the Text representations of Structural Alignments.static AtomDisplayAFP. getAtomForAligPos(AFPChain afpChain, int chainNr, int aligPos, Atom[] ca, boolean getPrevious)Return the atom at alignment position aligPos. at the present only works with block 0static List<Integer>DisplayAFP. getEQRAlignmentPos(AFPChain afpChain)static List<String>DisplayAFP. getPDBresnum(int aligPos, AFPChain afpChain, Atom[] ca)Return a list of pdb Strings corresponding to the aligned positions of the molecule.static JMenuItemMenuCreator. getSaveAlignmentMenuItem(AFPChain afpChain, MultipleAlignment msa)static JMenuBarMenuCreator. initJmolMenu(JFrame frame, AbstractAlignmentJmol parent, AFPChain afpChain, MultipleAlignment msa)Provide a JMenuBar that can be added to a JFrame containing a JmolPanel.static voidDisplayAFP. showAlignmentImage(AFPChain afpChain, String result)static voidDisplayAFP. showAlignmentPanel(AFPChain afpChain, Atom[] ca1, Atom[] ca2, AbstractAlignmentJmol jmol)Constructors in org.biojava.nbio.structure.align.gui with parameters of type AFPChain Constructor Description DotPlotListener(AFPChain afpChain)DotPlotPanel(AFPChain alignment)MySaveFileListener(AFPChain afpChain)MySaveFileListener(AFPChain afpChain, MultipleAlignment msa)Constructor to avoid checking which of the two is null before instantiating this class. -
Uses of AFPChain in org.biojava.nbio.structure.align.gui.aligpanel
Methods in org.biojava.nbio.structure.align.gui.aligpanel that return AFPChain Modifier and Type Method Description AFPChainStatusDisplay. getAfpChain()AFPChainAligPanel. getAFPChain()Methods in org.biojava.nbio.structure.align.gui.aligpanel with parameters of type AFPChain Modifier and Type Method Description voidStatusDisplay. setAfpChain(AFPChain afpChain)voidAFPChainCoordManager. setAFPChain(AFPChain afpChain)voidAligPanel. setAFPChain(AFPChain afpChain)Constructors in org.biojava.nbio.structure.align.gui.aligpanel with parameters of type AFPChain Constructor Description MultipleAligPanel(AFPChain afpChain, Atom[] ca1, Atom[] ca2, AbstractAlignmentJmol jmol)Constructor using an afpChain and the atom arrays for pairwise alignments. -
Uses of AFPChain in org.biojava.nbio.structure.align.gui.jmol
Methods in org.biojava.nbio.structure.align.gui.jmol with parameters of type AFPChain Modifier and Type Method Description static StringStructureAlignmentJmol. getJmolScript4Block(AFPChain afpChain, Atom[] ca1, Atom[] ca2, int blockNr)static StringStructureAlignmentJmol. getJmolString(AFPChain afpChain, Atom[] ca1, Atom[] ca2)Constructors in org.biojava.nbio.structure.align.gui.jmol with parameters of type AFPChain Constructor Description StructureAlignmentJmol(AFPChain afpChain, Atom[] ca1, Atom[] ca2) -
Uses of AFPChain in org.biojava.nbio.structure.align.model
Methods in org.biojava.nbio.structure.align.model with parameters of type AFPChain Modifier and Type Method Description static voidAfpChainWriter. printScoresInLines(AFPChain afpChain, int blockNum, int optLength, double totalRmsdOpt, double alignScore, int alnLength, int gapLen, double identity, double similarity, StringBuffer txt)static StringAfpChainWriter. toAlignedPairs(AFPChain afpChain, Atom[] ca1, Atom[] ca2)Prints the alignment in the simplest form: a list of aligned residues.static StringAfpChainWriter. toCE(AFPChain afpChain, Atom[] ca1, Atom[] ca2)static StringAfpChainWriter. toDBSearchResult(AFPChain afpChain)static StringAfpChainWriter. toFatCat(AFPChain afpChain, Atom[] ca1, Atom[] ca2)static StringAfpChainWriter. toFatCatCore(AFPChain afpChain, Atom[] ca1, Atom[] ca2, boolean printLegend, boolean longHeader, boolean showHTML, boolean showAlignmentBlock)Output in FatCatCore formatstatic StringAfpChainWriter. toPrettyAlignment(AFPChain afpChain, Atom[] ca1, Atom[] ca2, boolean showHTML, boolean showAlignmentBlock)static StringAfpChainWriter. toRotMat(AFPChain afpChain)static StringAfpChainWriter. toScoresList(AFPChain afpChain)static StringAfpChainWriter. toWebSiteDisplay(AFPChain afpChain, Atom[] ca1, Atom[] ca2)Prints the afpChain as a nicely formatted alignment, including alignment statistics, the aligned sequences themselves, and information about the superposition.static StringAfpChainWriter. toWebSiteDisplay(AFPChain afpChain, Atom[] ca1, Atom[] ca2, boolean showAlignmentBlock)Prints the afpChain as a nicely formatted alignment, including alignment statistics, the aligned sequences themselves, and information about the superposition.Constructors in org.biojava.nbio.structure.align.model with parameters of type AFPChain Constructor Description AFPChain(AFPChain o)Copy constructor -
Uses of AFPChain in org.biojava.nbio.structure.align.multiple
Constructors in org.biojava.nbio.structure.align.multiple with parameters of type AFPChain Constructor Description MultipleAlignmentEnsembleImpl(AFPChain afp, Atom[] ca1, Atom[] ca2, boolean flexible)Constructor from an AFPChain instance. -
Uses of AFPChain in org.biojava.nbio.structure.align.seq
Methods in org.biojava.nbio.structure.align.seq that return AFPChain Modifier and Type Method Description AFPChainSmithWaterman3Daligner. align(Atom[] ca1, Atom[] ca2)AFPChainSmithWaterman3Daligner. align(Atom[] ca1, Atom[] ca2, Object parameters) -
Uses of AFPChain in org.biojava.nbio.structure.align.util
Methods in org.biojava.nbio.structure.align.util that return AFPChain Modifier and Type Method Description static AFPChainAlignmentTools. createAFPChain(Atom[] ca1, Atom[] ca2, ResidueNumber[] aligned1, ResidueNumber[] aligned2)Fundamentally, an alignment is just a list of aligned residues in each protein.static AFPChainAlignmentTools. deleteColumn(AFPChain afpChain, Atom[] ca1, Atom[] ca2, int block, int pos)Delete an alignment position from the original alignment object.static AFPChainAlignmentTools. deleteHighestDistanceColumn(AFPChain afpChain, Atom[] ca1, Atom[] ca2)Find the alignment position with the highest atomic distance between the equivalent atomic positions of the arrays and remove it from the alignment.static AFPChainAlignmentTools. replaceOptAln(int[][][] newAlgn, AFPChain afpChain, Atom[] ca1, Atom[] ca2)It replaces an optimal alignment of an AFPChain and calculates all the new alignment scores and variables.static AFPChainAlignmentTools. replaceOptAln(AFPChain afpChain, Atom[] ca1, Atom[] ca2, int blockNum, int[] optLens, int[][][] optAln)static AFPChainAlignmentTools. replaceOptAln(AFPChain afpChain, Atom[] ca1, Atom[] ca2, Map<Integer,Integer> alignment)Takes an AFPChain and replaces the optimal alignment based on an alignment mapstatic AFPChainAlignmentTools. splitBlocksByTopology(AFPChain a, Atom[] ca1, Atom[] ca2)Methods in org.biojava.nbio.structure.align.util with parameters of type AFPChain Modifier and Type Method Description static Map<Integer,Integer>AlignmentTools. alignmentAsMap(AFPChain afpChain)Creates a Map specifying the alignment as a mapping between residue indices of protein 1 and residue indices of protein 2.static voidAlignmentTools. alignmentToSIF(Writer out, AFPChain afpChain, Atom[] ca1, Atom[] ca2, String backboneInteraction, String alignmentInteraction)Creates a simple interaction format (SIF) file for an alignment.static StructureAFPAlignmentDisplay. createArtificalStructure(AFPChain afpChain, Atom[] ca1, Atom[] ca2)static AFPChainAlignmentTools. deleteColumn(AFPChain afpChain, Atom[] ca1, Atom[] ca2, int block, int pos)Delete an alignment position from the original alignment object.static AFPChainAlignmentTools. deleteHighestDistanceColumn(AFPChain afpChain, Atom[] ca1, Atom[] ca2)Find the alignment position with the highest atomic distance between the equivalent atomic positions of the arrays and remove it from the alignment.static voidAlignmentTools. fillAlignedAtomArrays(AFPChain afpChain, Atom[] ca1, Atom[] ca2, Atom[] ca1aligned, Atom[] ca2aligned)Fill the aligned Atom arrays with the equivalent residues in the afpChain.static voidAFPAlignmentDisplay. getAlign(AFPChain afpChain, Atom[] ca1, Atom[] ca2)Extract the alignment outputstatic voidAFPAlignmentDisplay. getAlign(AFPChain afpChain, Atom[] ca1, Atom[] ca2, boolean showSeq)static Atom[]AFPAlignmentDisplay. getAlignedAtoms1(AFPChain afpChain, Atom[] ca1)static Atom[]AFPAlignmentDisplay. getAlignedAtoms2(AFPChain afpChain, Atom[] ca2)static doubleRotationAxis. getAngle(AFPChain afpChain)Calculate the rotation angle for a structurestatic intAFPAlignmentDisplay. getBlockNrForAlignPos(AFPChain afpChain, int aligPos)get the block number for an aligned positionstatic List<List<List<Integer>>>AlignmentTools. getOptAlnAsList(AFPChain afpChain)Retrieves the optimum alignment from an AFPChain and returns it as a java collection.static MatrixAFPAlignmentDisplay. getRotMax(AFPChain afpChain, Atom[] ca1, Atom[] ca2)static intAlignmentTools. getSymmetryOrder(AFPChain afpChain, int maxSymmetry, float minimumMetricChange)Guesses the order of symmetry in an alignmentstatic doubleAFPChainScorer. getTMScore(AFPChain align, Atom[] ca1, Atom[] ca2)static doubleAFPChainScorer. getTMScore(AFPChain align, Atom[] ca1, Atom[] ca2, boolean normalizeMin)static AtomAFPAlignmentDisplay. getTranslation(AFPChain afpChain, Atom[] ca1, Atom[] ca2)static booleanAlignmentTools. isSequentialAlignment(AFPChain afpChain, boolean checkWithinBlocks)Checks that the alignment given by afpChain is sequential.static Group[]AlignmentTools. prepareGroupsForDisplay(AFPChain afpChain, Atom[] ca1, Atom[] ca2)Rotate the Atoms/Groups so they are aligned for the 3D visualisationstatic AFPChainAlignmentTools. replaceOptAln(int[][][] newAlgn, AFPChain afpChain, Atom[] ca1, Atom[] ca2)It replaces an optimal alignment of an AFPChain and calculates all the new alignment scores and variables.static AFPChainAlignmentTools. replaceOptAln(AFPChain afpChain, Atom[] ca1, Atom[] ca2, int blockNum, int[] optLens, int[][][] optAln)static AFPChainAlignmentTools. replaceOptAln(AFPChain afpChain, Atom[] ca1, Atom[] ca2, Map<Integer,Integer> alignment)Takes an AFPChain and replaces the optimal alignment based on an alignment mapstatic voidAlignmentTools. shiftCA2(AFPChain afpChain, Atom[] ca2, Matrix m, Atom shift, Group[] twistedGroups)only shift CA positions.static AFPChainAlignmentTools. splitBlocksByTopology(AFPChain a, Atom[] ca1, Atom[] ca2)static voidAlignmentTools. updateSuperposition(AFPChain afpChain, Atom[] ca1, Atom[] ca2)After the alignment changes (optAln, optLen, blockNum, at a minimum), many other properties which depend on the superposition will be invalid.Constructors in org.biojava.nbio.structure.align.util with parameters of type AFPChain Constructor Description RotationAxis(AFPChain afpChain)Calculate the rotation axis for the first block of an AFPChain -
Uses of AFPChain in org.biojava.nbio.structure.align.xml
Methods in org.biojava.nbio.structure.align.xml that return AFPChain Modifier and Type Method Description static AFPChainAFPChainFlipper. flipChain(AFPChain o)Flip the position of name1 and name2 (as well as all underlying data) in an AFPChain.static AFPChainAFPChainXMLParser. fromXML(String xml, String name1, String name2, Atom[] ca1, Atom[] ca2)new utility method that checks that the order of the pair in the XML alignment is correct and flips the direction if neededstatic AFPChainAFPChainXMLParser. fromXML(String xml, Atom[] ca1, Atom[] ca2)static AFPChain[]AFPChainXMLParser. parseMultiXML(String xml)Methods in org.biojava.nbio.structure.align.xml with parameters of type AFPChain Modifier and Type Method Description static AFPChainAFPChainFlipper. flipChain(AFPChain o)Flip the position of name1 and name2 (as well as all underlying data) in an AFPChain.static voidAFPChainXMLConverter. printXMLEQRInferPositions(PrettyXMLWriter xml, AFPChain afpChain, int bk, Atom[] ca1, Atom[] ca2)static voidAFPChainXMLConverter. printXMLHeader(PrettyXMLWriter xml, AFPChain afpChain)static voidAFPChainXMLParser. rebuildAFPChain(AFPChain afpChain, Atom[] ca1, Atom[] ca2)replace the PDB res nums with atom positions:static StringAFPChainXMLConverter. toXML(AFPChain afpChain)static voidAFPChainXMLConverter. toXML(AFPChain afpChain, StringWriter swriter, Atom[] ca1, Atom[] ca2)Write the XML representation to a StringWriterstatic StringAFPChainXMLConverter. toXML(AFPChain afpChain, Atom[] ca1, Atom[] ca2)Convert an afpChain to a simple XML representation -
Uses of AFPChain in org.biojava.nbio.structure.io
Methods in org.biojava.nbio.structure.io that return AFPChain Modifier and Type Method Description static AFPChainFastaAFPChainConverter. cpFastaToAfpChain(File fastaFile, Structure structure, int cpSite)Takes a structure and sequence corresponding to an alignment between a structure or sequence and itself (or even a structure with a sequence), where the result has a circular permutation sitecpSiteresidues to the right.static AFPChainFastaAFPChainConverter. cpFastaToAfpChain(String first, String second, Structure structure, int cpSite)static AFPChainFastaAFPChainConverter. cpFastaToAfpChain(ProteinSequence first, ProteinSequence second, Structure structure, int cpSite)Takes a structure and sequence corresponding to an alignment between a structure or sequence and itself (or even a structure with a sequence), where the result has a circular permutation sitecpSiteresidues to the right.static AFPChainFastaAFPChainConverter. fastaFileToAfpChain(File fastaFile, Structure structure1, Structure structure2)Reads the filefastaFile, expecting exactly two sequences which give a pairwise alignment.static AFPChainFastaAFPChainConverter. fastaStringToAfpChain(String sequence1, String sequence2, Structure structure1, Structure structure2)Returns an AFPChain corresponding to the alignment betweenstructure1andstructure2, which is given by the gapped protein sequencessequence1andsequence2.static AFPChainFastaAFPChainConverter. fastaToAfpChain(String sequence1, String sequence2, Structure structure1, Structure structure2)TODO Write commentstatic AFPChainFastaAFPChainConverter. fastaToAfpChain(Map<String,ProteinSequence> sequences, Structure structure1, Structure structure2)Uses two sequences each with a corresponding structure to create an AFPChain corresponding to the alignment.static AFPChainFastaAFPChainConverter. fastaToAfpChain(SequencePair<Sequence<AminoAcidCompound>,AminoAcidCompound> alignment, Structure structure1, Structure structure2)Provided only for convenience.static AFPChainFastaAFPChainConverter. fastaToAfpChain(ProteinSequence sequence1, ProteinSequence sequence2, Structure structure1, Structure structure2)Returns an AFPChain corresponding to the alignment betweenstructure1andstructure2, which is given by the gapped protein sequencessequence1andsequence2. -
Uses of AFPChain in org.biojava.nbio.structure.symmetry.internal
Methods in org.biojava.nbio.structure.symmetry.internal that return AFPChain Modifier and Type Method Description AFPChainCeSymmResult. getSelfAlignment()static AFPChainSequenceFunctionRefiner. refineSymmetry(AFPChain afpChain, Atom[] ca1, Atom[] ca2, int k)Refines a CE-Symm alignment so that it is perfectly symmetric.Methods in org.biojava.nbio.structure.symmetry.internal with parameters of type AFPChain Modifier and Type Method Description intAngleOrderDetectorPlus. calculateOrder(AFPChain afpChain, Atom[] ca)intGraphComponentOrderDetector. calculateOrder(AFPChain selfAlignment, Atom[] ca)intOrderDetector. calculateOrder(AFPChain afpChain, Atom[] ca)intSequenceFunctionOrderDetector. calculateOrder(AFPChain afpChain, Atom[] ca)MultipleAlignmentGraphComponentRefiner. refine(AFPChain selfAlignment, Atom[] atoms, int order)MultipleAlignmentSequenceFunctionRefiner. refine(AFPChain selfAlignment, Atom[] atoms, int order)MultipleAlignmentSymmetryRefiner. refine(AFPChain selfAlignment, Atom[] atoms, int order)Returns a refined symmetry alignment, where the repeat residues are aligned consistently in a MultipleAlignment.static AFPChainSequenceFunctionRefiner. refineSymmetry(AFPChain afpChain, Atom[] ca1, Atom[] ca2, int k)Refines a CE-Symm alignment so that it is perfectly symmetric.voidCeSymmResult. setSelfAlignment(AFPChain selfAlignment) -
Uses of AFPChain in org.biojava.nbio.structure.symmetry.utils
Methods in org.biojava.nbio.structure.symmetry.utils with parameters of type AFPChain Modifier and Type Method Description static boolean[][]SymmetryTools. blankOutBreakFlag(AFPChain afpChain, Atom[] ca2, int rows, int cols, CECalculator calculator, boolean[][] breakFlag, int blankWindowSize)static MatrixSymmetryTools. blankOutPreviousAlignment(AFPChain afpChain, Atom[] ca2, int rows, int cols, CECalculator calculator, Matrix max, int blankWindowSize)static org.jgrapht.Graph<Integer,org.jgrapht.graph.DefaultEdge>SymmetryTools. buildSymmetryGraph(AFPChain selfAlignment)Converts a self alignment into a directed jGraphT of aligned residues, where each vertex is a residue and each edge means the equivalence between the two residues in the self-alignment.static MultipleAlignmentSymmetryTools. fromAFP(AFPChain symm, Atom[] atoms)Converts a refined symmetry AFPChain alignment into the standard representation of symmetry in a MultipleAlignment, that contains the entire Atom array of the strcuture and the symmetric repeats are orgaized in different rows in a single Block.static doubleSymmetryTools. getAngle(AFPChain afpChain, Atom[] ca1, Atom[] ca2)Returns the magnitude of the angle between the first and second blocks ofafpChain, measured in degrees.static MatrixSymmetryTools. grayOutPreviousAlignment(AFPChain afpChain, Atom[] ca2, int rows, int cols, CECalculator calculator, Matrix max, int blankWindowSize, double[] gradientPolyCoeff, double gradientExpCoeff)Method parameters in org.biojava.nbio.structure.symmetry.utils with type arguments of type AFPChain Modifier and Type Method Description static List<List<Integer>>SymmetryTools. buildSymmetryGraph(List<AFPChain> afps, Atom[] atoms, boolean undirected)Converts a set of AFP alignments into a Graph of aligned residues, where each vertex is a residue and each edge means the connection between the two residues in one of the alignments.
-