|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.strbio.mol.Molecule
org.strbio.mol.Polymer
org.strbio.mol.Protein
org.strbio.mol.Profile
org.strbio.mol.ProfilePSI
public class ProfilePSI
Class to represent a profile with position specific information (PSI), such as PSI-BLAST info and JMC's backbone potential.
Version 1.4, 7/13/00 - added getPSIBlastMatrix Version 1.3, 6/7/99 - changed name from JMCProtein to ProfilePSI, documented things more Version 1.2, 6/4/99 - added constructor from ProfilePSI Version 1.1, 1/28/99 - added positionSpecificScore Version 1.0, 4/22/98 - original version
ProfResPSI
Field Summary |
---|
Fields inherited from class org.strbio.mol.Profile |
---|
blastBits, blastLog10E, seqName |
Fields inherited from class org.strbio.mol.Polymer |
---|
chainID, includeFile, includingFile, monDistance, monomers, properties |
Fields inherited from class org.strbio.mol.Molecule |
---|
atoms, data, MAX_NAME_LENGTH, name |
Constructor Summary | |
---|---|
ProfilePSI()
Default constructor. |
|
ProfilePSI(Profile q)
Create from a regular profile. |
|
ProfilePSI(Protein q)
Create from a single protein. |
|
ProfilePSI(ProteinSet q)
Create from a set of proteins. |
Method Summary | |
---|---|
void |
blast(Printf outfile,
Blast blastServer)
Run BLAST on this profile, using a specified server. |
Polymer |
copy()
Return a copy of yourself. |
void |
deleteBackbonePotential(boolean alpha)
delete the BackbonePotential scoring matrices for all residues. |
void |
deletePSIBlastMatrix()
Delete PSI-blast matrices at each position. |
PSIBlastMatrices |
getPSIBlastMatrix()
Get the psi-blast matrix back from this profile. |
Monomer |
newMonomer()
This returns a new ProfResPSI. |
Monomer |
newMonomer(char t)
This returns a new ProfResPSI. |
Monomer |
newMonomer(java.lang.String s)
This returns a new ProfResPSI. |
void |
processYAPF(java.lang.String buffer)
Process a line from a YAPF file... this should ignore the line if it doesn't know what it is. |
void |
setupBackbonePotential(boolean alpha,
BackbonePotential pot)
set up the BackbonePotential scoring matrices for all residues. |
void |
setupBackbonePotential(boolean alpha,
BackbonePotential pot,
double offset,
double scale)
set up the BackbonePotential scoring matrices for all residues |
void |
setupFakePSIBlastMatrix()
Set up fake PSI-blast matrices at each position, using the BLAST (blosum62) matrix. |
void |
setupPSIBlastMatrix(PSIBlastMatrices p)
Set up PSI-blast matrices at each position. |
protected Polymer |
splitCopy()
When a Profile is split, sequence names should go to each child. |
protected void |
writeYAPFInfo(Printf outfile)
Write applicable sections of YAPF info. |
Methods inherited from class org.strbio.mol.Protein |
---|
AA, actualAccuracy, copyPredSSFrom, expectedAccuracy, filterPred, filterPred, filterReal, filterReal, findAccess, findDSSP, findDSSPResult, findPDB, firstRes, fixDistanceGaps, getDSSPResults, getInfo, hasGaps, isCATHMatch, makeMonDistance, makeMonDistanceCB, makeVirtualCB, molecularWeight, preCalculateAlphaTau, preCalculateAngles, preCalculatePhiPsi, predictSS, predictSS, readAccess, readCASP, readConv, readDSSP, readEA, readPDB, readPDBAtom, readProf, readSwissProt, readVar, readVar2, residues, reverse, runDSSP, showGaps, smoothHE, stripAllButCA, thread, thread, translateEA, writeCASP, writeConv, writeEA, writePDB, writePDB, writeVar2 |
Methods inherited from class org.strbio.mol.Molecule |
---|
atomSearch, copyAtoms |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProfilePSI()
public ProfilePSI(Protein q)
public ProfilePSI(Profile q)
public ProfilePSI(ProteinSet q)
Method Detail |
---|
public Monomer newMonomer()
newMonomer
in class Profile
public Monomer newMonomer(char t)
newMonomer
in class Profile
public Monomer newMonomer(java.lang.String s)
newMonomer
in class Profile
protected Polymer splitCopy()
Profile
splitCopy
in class Profile
public Polymer copy()
copy
in class Profile
public final void setupPSIBlastMatrix(PSIBlastMatrices p)
public final void setupFakePSIBlastMatrix()
public final PSIBlastMatrices getPSIBlastMatrix()
public final void deletePSIBlastMatrix()
public final void setupBackbonePotential(boolean alpha, BackbonePotential pot, double offset, double scale)
alpha
- true if you want alpha/tau, false if you want phi/psipot
- an initialized BackbonePotentialoffset
- how much to offset the potential?scale
- how much to scale the potential?public final void setupBackbonePotential(boolean alpha, BackbonePotential pot)
alpha
- true if you want alpha/tau, false if you want phi/psipot
- an initialized BackbonePotentialpublic final void deleteBackbonePotential(boolean alpha)
alpha
- true if you want alpha/tau, false if you want phi/psiprotected void writeYAPFInfo(Printf outfile) throws java.io.IOException
writeYAPFInfo
in class Profile
java.io.IOException
public void blast(Printf outfile, Blast blastServer)
blast
in class Profile
public void processYAPF(java.lang.String buffer) throws java.io.IOException
processYAPF
in class Profile
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |