|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.strbio.util.db.Info org.strbio.util.db.ProteinInfo org.strbio.util.db.ProteinStructureInfo org.strbio.util.db.SCOPInfo
public class SCOPInfo
This is a class containing info that is found in SCOP.
Version 1.0, 3/6/1 - original version.
Field Summary | |
---|---|
java.lang.String |
domainCode
SCOP code for the domain; i.e. d3sdha_ |
java.lang.String |
number
SCOP number; i.e. 1.1.1.1.1 |
Fields inherited from class org.strbio.util.db.ProteinInfo |
---|
protein |
Fields inherited from class org.strbio.util.db.Info |
---|
related |
Constructor Summary | |
---|---|
SCOPInfo()
|
Method Summary | |
---|---|
int |
getC()
return the class number. |
int |
getFamily()
return the family number |
int |
getFold()
return the fold 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 |
getProtein()
return the protein number |
int |
getSuperfamily()
return the superfamily number. |
int |
matchesLevel(SCOPInfo y)
What is the highest level this matches another record at? |
boolean |
matchesUpTo(SCOPInfo y,
int n)
Does this match another SCOP 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
Constructor Detail |
---|
public SCOPInfo()
Method Detail |
---|
public int getLevel(int n)
public int getC()
public int getFold()
public int getSuperfamily()
public int getFamily()
public int getProtein()
public boolean matchesUpTo(SCOPInfo y, int n)
public int matchesLevel(SCOPInfo 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 |