'STRAP:multiple sequence alignments '

charite.christo
Class PDB_separateChains

java.lang.Object
  extended by charite.christo.AbstractInteractiveFileProcessor
      extended by 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.


Constructor Summary
PDB_separateChains()
           
 
Method Summary
static boolean[] chainsInPDBfile(BA byteArray)
           
 java.lang.String fileEntry(BA byteArray, java.io.File f)
           
 java.io.File[] processFile(BA byteArray, java.io.File f, boolean overwrite)
           
static boolean writePdbOnlyChain(java.io.File f, char chain, BA ba)
           
 
Methods inherited from class charite.christo.AbstractInteractiveFileProcessor
actionPerformed, getCreatedFiles, interactiveProcess, setErrorNonSelected, setTextNorth
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDB_separateChains

public PDB_separateChains()
Method Detail

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)

'STRAP:multiple sequence alignments '

'The most important classes are StrapAlign, Protein and StrapEvent.'