'STRAP:multiple sequence alignments '

charite.christo.protein
Interface ProteinWriter

All Known Implementing Classes:
ProteinWriter1

public interface ProteinWriter

A ProteinWriter is used to export a protein to a text file using a certain format such as pdb or fasta.


Field Summary
static long ATOM_LINES
           
static long CHAIN_A
           
static long CHAIN_B
           
static long CHAIN_SPACE
           
static long COMPLETE_PDB
           
static long FASTA
           
static long HELIX_SHEET
           
static long HETEROS
           
static long IDX_FOR_RESNUM
           
static long MET_INSTEAD_OF_MSE
           
static long NUCLEOTIDE_STRUCTURE
           
static long NUCLEOTIDES
           
static long PDB
           
static long SEQRES
           
static long SEQRES_IF_COORDINATES
           
static long SIDE_CHAIN_ATOMS
           
 
Method Summary
 java.lang.String getFileSuffix()
          Extension ".pdb" forPDB-files and ".fa" for fasta-files
 void selectResidues(boolean[] isSelected)
          do not write all residues but only a certain subset.
 void setResidueRange(int indexOfFirstAmino, int indexOfLastPlus1)
          index of first and last amino acid
 boolean toText(Protein p, Matrix3D[] m3d, long mode, BA sb)
          Writes the protein data e.g.
 

Field Detail

PDB

static final long PDB
See Also:
Constant Field Values

FASTA

static final long FASTA
See Also:
Constant Field Values

ATOM_LINES

static final long ATOM_LINES
See Also:
Constant Field Values

SIDE_CHAIN_ATOMS

static final long SIDE_CHAIN_ATOMS
See Also:
Constant Field Values

SEQRES

static final long SEQRES
See Also:
Constant Field Values

SEQRES_IF_COORDINATES

static final long SEQRES_IF_COORDINATES
See Also:
Constant Field Values

HETEROS

static final long HETEROS
See Also:
Constant Field Values

NUCLEOTIDE_STRUCTURE

static final long NUCLEOTIDE_STRUCTURE
See Also:
Constant Field Values

NUCLEOTIDES

static final long NUCLEOTIDES
See Also:
Constant Field Values

HELIX_SHEET

static final long HELIX_SHEET
See Also:
Constant Field Values

MET_INSTEAD_OF_MSE

static final long MET_INSTEAD_OF_MSE
See Also:
Constant Field Values

CHAIN_SPACE

static final long CHAIN_SPACE
See Also:
Constant Field Values

CHAIN_A

static final long CHAIN_A
See Also:
Constant Field Values

CHAIN_B

static final long CHAIN_B
See Also:
Constant Field Values

IDX_FOR_RESNUM

static final long IDX_FOR_RESNUM
See Also:
Constant Field Values

COMPLETE_PDB

static final long COMPLETE_PDB
See Also:
Constant Field Values
Method Detail

toText

boolean toText(Protein p,
               Matrix3D[] m3d,
               long mode,
               BA sb)
Writes the protein data e.g. in fasta or PDB format

Returns:
true: was able to produce the text, false: unable to produce the text because information is not set in the protein model. A ProteinWriter for protein structures returns false if the coordinate fields in the Protein instance are empty.

getFileSuffix

java.lang.String getFileSuffix()
Extension ".pdb" forPDB-files and ".fa" for fasta-files


setResidueRange

void setResidueRange(int indexOfFirstAmino,
                     int indexOfLastPlus1)
index of first and last amino acid


selectResidues

void selectResidues(boolean[] isSelected)
do not write all residues but only a certain subset.


'STRAP:multiple sequence alignments '

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