|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.strbio.util.db.Info
org.strbio.util.db.ProteinInfo
org.strbio.util.db.ProteinStructureInfo
org.strbio.util.db.CATHInfo
public class CATHInfo
This is a class containing info that is found in CATH.
Version 1.0, 7/21/99 - original version.
Field Summary | |
---|---|
java.lang.String |
domainCode
CATH code for the domain; i.e. 1abcA1 |
int |
endRes
ending residue in domain, or -1 for whole chain. |
java.lang.String |
number
CATH number; i.e. 2.20.200.10... |
int |
startRes
starting residue number in domain, or -1 for whole chain. |
Fields inherited from class org.strbio.util.db.ProteinInfo |
---|
protein |
Fields inherited from class org.strbio.util.db.Info |
---|
related |
Constructor Summary | |
---|---|
CATHInfo()
Default initialization has -1 for start/end res, and null for everything else. |
Method Summary | |
---|---|
int |
getA()
return the architecture number |
int |
getC()
return the class number. |
int |
getH()
return the homologous superfamily number |
int |
getLevel(int n)
Get the part of the number corresponding to the classification at level N (starting at 0 to mean the leftmost, or Class). |
int |
getT()
return the topology number |
int |
matchesLevel(CATHInfo y)
What is the highest level this matches another record at? |
boolean |
matchesUpTo(CATHInfo y,
int n)
Does this match another CATH record up to level N? |
void |
processYAPF(java.lang.String buffer)
Initialize this Info from a line in a YAPF file, if applicable. |
void |
stripLeading0()
strip leading 0's from the number. |
void |
writeYAPF(Printf outfile)
write this info to a single line of a file, so it can be read later. |
Methods inherited from class org.strbio.util.db.Info |
---|
getClass |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String domainCode
public java.lang.String number
public int startRes
public int endRes
Constructor Detail |
---|
public CATHInfo()
Method Detail |
---|
public int getLevel(int n)
public int getC()
public int getA()
public int getT()
public int getH()
public boolean matchesUpTo(CATHInfo y, int n)
public int matchesLevel(CATHInfo y)
public void writeYAPF(Printf outfile) throws java.io.IOException
writeYAPF
in class Info
java.io.IOException
public void processYAPF(java.lang.String buffer)
processYAPF
in class Info
public void stripLeading0()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |