charite.christo
Class PDB_separateChains
java.lang.Object
charite.christo.AbstractInteractiveFileProcessor
charite.christo.PDB_separateChains
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener
public class PDB_separateChains
- extends AbstractInteractiveFileProcessor
HELP
Proteins read from a PDB-file are selected.
When a protein has more than one chain a new protein file is written for each chain.
An underscore and the chain identifier letter is appended to the file name.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PDB_separateChains
public PDB_separateChains()
fileEntry
public java.lang.String fileEntry(BA byteArray,
java.io.File f)
- Specified by:
fileEntry
in class AbstractInteractiveFileProcessor
processFile
public java.io.File[] processFile(BA byteArray,
java.io.File f,
boolean overwrite)
- Specified by:
processFile
in class AbstractInteractiveFileProcessor
chainsInPDBfile
public static boolean[] chainsInPDBfile(BA byteArray)
writePdbOnlyChain
public static boolean writePdbOnlyChain(java.io.File f,
char chain,
BA ba)
'The most important classes are StrapAlign, Protein and StrapEvent.'