embprop.c


Function embPropEaminoRead

Read amino acid properties from Eamino.dat

Prototype

EmbPPropAmino* embPropEaminoRead (
      AjPFile mfptr
);

TypeNameRead/WriteDescription
AjPFilemfptrModifyInput file object
EmbPPropAmino* RETURNarray of amino acid properties

From EMBOSS 6.0.0


Function embPropGetProperties

Returns a string containing a list of defined properties

Prototype

AjBool embPropGetProperties (
      const EmbPPropAmino prop,
      AjPStr* Pstr
);

TypeNameRead/WriteDescription
const EmbPPropAminopropInputInput properties object
AjPStr*PstrOutputString of properties separated by commas
AjBool RETURNTrue if properties are defined

From EMBOSS 6.0.0


Function embPropEmolwtRead

Read molecular weights from Emolwt.dat

Prototype

EmbPPropMolwt* embPropEmolwtRead (
      AjPFile mfptr
);

TypeNameRead/WriteDescription
AjPFilemfptrModifyInput file object
EmbPPropMolwt* RETURNarray of amino acid molecular weights

From EMBOSS 6.0.0


Function embPropMolwtGetMolwt

Return molecular weight

Prototype

float embPropMolwtGetMolwt (
      const EmbPPropMolwt prop
);

TypeNameRead/WriteDescription
const EmbPPropMolwtpropInputInput molecular weights object
float RETURNmolecular weight

From EMBOSS 6.0.0


Function embPropGetCharge

Return charge value

Prototype

float embPropGetCharge (
      const EmbPPropAmino prop
);

TypeNameRead/WriteDescription
const EmbPPropAminopropInputInput properties object
float RETURNcharge

From EMBOSS 6.0.0


Function embPropGetTiny

Return tiny value

Prototype

ajint embPropGetTiny (
      const EmbPPropAmino prop
);

TypeNameRead/WriteDescription
const EmbPPropAminopropInputInput properties object
ajint RETURNtiny

From EMBOSS 6.0.0


Function embPropGetSmall

Return small value

Prototype

ajint embPropGetSmall (
      const EmbPPropAmino prop
);

TypeNameRead/WriteDescription
const EmbPPropAminopropInputInput properties object
ajint RETURNsmall

From EMBOSS 6.0.0


Function embPropGetAliphatic

Return aliphatic value

Prototype

ajint embPropGetAliphatic (
      const EmbPPropAmino prop
);

TypeNameRead/WriteDescription
const EmbPPropAminopropInputInput properties object
ajint RETURNaliphatic

From EMBOSS 6.0.0


Function embPropGetAromatic

Return aromatic value

Prototype

ajint embPropGetAromatic (
      const EmbPPropAmino prop
);

TypeNameRead/WriteDescription
const EmbPPropAminopropInputInput properties object
ajint RETURNaromatic

From EMBOSS 6.0.0


Function embPropGetNonpolar

Return nonpolar value

Prototype

ajint embPropGetNonpolar (
      const EmbPPropAmino prop
);

TypeNameRead/WriteDescription
const EmbPPropAminopropInputInput properties object
ajint RETURNnonpolar

From EMBOSS 6.0.0


Function embPropGetPolar

Return polar value

Prototype

ajint embPropGetPolar (
      const EmbPPropAmino prop
);

TypeNameRead/WriteDescription
const EmbPPropAminopropInputInput properties object
ajint RETURNpolar

From EMBOSS 6.0.0


Function embPropGetPve

Return pve value

Prototype

ajint embPropGetPve (
      const EmbPPropAmino prop
);

TypeNameRead/WriteDescription
const EmbPPropAminopropInputInput properties object
ajint RETURNpve

From EMBOSS 6.0.0


Function embPropGetNve

Return nve value

Prototype

ajint embPropGetNve (
      const EmbPPropAmino prop
);

TypeNameRead/WriteDescription
const EmbPPropAminopropInputInput properties object
ajint RETURNnve

From EMBOSS 6.0.0


Function embPropGetExtcoeff

Return extcoeff value

Prototype

ajint embPropGetExtcoeff (
      const EmbPPropAmino prop
);

TypeNameRead/WriteDescription
const EmbPPropAminopropInputInput properties object
ajint RETURNextcoeff

From EMBOSS 6.0.0


Function embPropCalcMolwt

Calculate the molecular weight of a protein sequence This is a shell around embPropCalcMolwtMod using water as the modifier.

Prototype

double embPropCalcMolwt (
      const char* s,
      ajint start,
      ajint end,
      EmbPPropMolwt const* mwdata,
      AjBool mono
);

TypeNameRead/WriteDescription
const char*sInputsequence
ajintstartInputstart position
ajintendInputend position
EmbPPropMolwt const*mwdataInputmolecular weight data
AjBoolmonoInputtrue for monoisotopic values
double RETURNmolecular weight

From EMBOSS 1.0.0


Function embPropCalcMolwtMod

Calculate the molecular weight of a protein sequence with chemically modified termini

Prototype

double embPropCalcMolwtMod (
      const char* s,
      ajint start,
      ajint end,
      EmbPPropMolwt const* mwdata,
      AjBool mono,
      double nmass,
      double cmass
);

TypeNameRead/WriteDescription
const char*sInputsequence
ajintstartInputstart position
ajintendInputend position
EmbPPropMolwt const*mwdataInputmolecular weight data
AjBoolmonoInputtrue for monoisotopic values
doublenmassInputmass of the N-terminal group
doublecmassInputmass of the C-terminal group
double RETURNmolecular weight

From EMBOSS 2.1.0


Function embPropCalcMolextcoeff

Calculate the molecular extinction coefficient of a protein sequence

Prototype

double embPropCalcMolextcoeff (
      const char* s,
      ajint start,
      ajint end,
      AjBool cystine,
      EmbPPropAmino const* aadata
);

TypeNameRead/WriteDescription
const char*sInputsequence
ajintstartInputstart position
ajintendInputend position
AjBoolcystineInputTreat C residues as cystine pairs
EmbPPropAmino const*aadataInputamino acid data
double RETURNmolar extinction coefficient

From EMBOSS 2.8.0


Function embPropCharToThree

Return 3 letter amino acid code A=Ala B=Asx C=Cys etc

Prototype

const char* embPropCharToThree (
      char c
);

TypeNameRead/WriteDescription
charcInputinteger code
const char* RETURNthree letter amino acid code

From EMBOSS 1.0.0


Function embPropIntToThree

Return 3 letter amino acid code 0=Ala 1=Asx 2=Cys etc

Prototype

const char* embPropIntToThree (
      ajint c
);

TypeNameRead/WriteDescription
ajintcInputinteger code
const char* RETURNthree letter amino acid code

From EMBOSS 1.0.0


Function embPropCalcFragments

Read amino acd properties

Prototype

void embPropCalcFragments (
      const char* s,
      ajint n,
      AjPList* l,
      AjPList* pa,
      AjBool unfavoured,
      AjBool overlap,
      AjBool allpartials,
      ajint* ncomp,
      ajint* npart,
      AjPStr* rname,
      AjBool nterm,
      AjBool cterm,
      AjBool dorag,
      EmbPPropMolwt const* mwdata,
      AjBool mono
);

TypeNameRead/WriteDescription
const char*sInputsequence
ajintnInput"enzyme" number
AjPList*lOutputlist to push hits to
AjPList*paOutputlist to push partial hits to
AjBoolunfavouredInputallow unfavoured cuts
AjBooloverlapInputshow overlapping partials
AjBoolallpartialsInputshow all possible partials
ajint*ncompOutputnumber of complete digest fragments
ajint*npartOutputnumber of partial digest fragments
AjPStr*rnameOutputname of reagent
AjBoolntermInputnterm ragging
AjBoolctermInputcterm ragging
AjBooldoragInputtrue if ragging
EmbPPropMolwt const*mwdataInputmolecular weight data
AjBoolmonoInputtrue for monoisotopic weights
void RETURN

From EMBOSS 1.0.0


Function embPropProtGaps

Creates a string of a protein sequence which has been padded out with two spaces after every residue to aid aligning a translation under a nucleic sequence

Prototype

AjPStr embPropProtGaps (
      AjPSeq seq,
      ajint pad
);

TypeNameRead/WriteDescription
AjPSeqseqModifyprotein sequence to add spaces into
ajintpadInputnumber of spaces to insert at the start of the result
AjPStr RETURNNew string with the padded sequence

From EMBOSS 1.0.0


Function embPropProt1to3

Creates a a 3-letter sequence protein string from single-letter sequence EMBOSS is bad at reading 3-letter sequences, but this may be useful when displaying translations.

Prototype

AjPStr embPropProt1to3 (
      AjPSeq seq,
      ajint pad
);

TypeNameRead/WriteDescription
AjPSeqseqModifyprotein sequence to convert to 3-letter codes
ajintpadInputnumber of spaces to insert at the start of the result
AjPStr RETURNstring containing 3-letter protein sequence

From EMBOSS 1.0.0


Function embPropProt1to3Rev

Creates a a 3-letter sequence protein string from single-letter sequence in the reverse direction. EMBOSS is bad at reading 3-letter sequences, but this may be useful when displaying translations.

Prototype

AjPStr embPropProt1to3Rev (
      AjPSeq seq,
      ajint pad
);

TypeNameRead/WriteDescription
AjPSeqseqModifyprotein sequence to convert to 3-letter codes
ajintpadInputnumber of characters to skip at the start of the result
AjPStr RETURNstring containing 3-letter protein sequence

From EMBOSS 6.1.0


Function embPropPurine

Returns ajTrue if the input base is a Purine. Returns ajFalse if it is a Pyrimidine or it is ambiguous.

Prototype

AjBool embPropPurine (
      char base
);

TypeNameRead/WriteDescription
charbaseInputbase
AjBool RETURNreturn ajTrue if this is a Purine

From EMBOSS 1.4.3


Function embPropPyrimidine

Returns ajTrue if the input base is a Pyrimidine. Returns ajFalse if it is a Purine or it is ambiguous.

Prototype

AjBool embPropPyrimidine (
      char base
);

TypeNameRead/WriteDescription
charbaseInputbase
AjBool RETURNreturn ajTrue if this is a Pyrimidine

From EMBOSS 1.4.3


Function embPropTransversion

Returns ajTrue if the input two bases have undergone a tranversion. (Pyrimidine to Purine, or vice versa) Returns ajFalse if this is not a transversion or it can not be determined (e.g. no change A->A, transition C->T, unknown A->N)

Prototype

AjBool embPropTransversion (
      char base1,
      char base2
);

TypeNameRead/WriteDescription
charbase1Inputfirst base
charbase2Inputsecond base
AjBool RETURNreturn ajTrue if this is a transversion

From EMBOSS 1.4.3


Function embPropTransition

Returns ajTrue if the input two bases have undergone a transition. (Pyrimidine to Pyrimidine, or Purine to Purine) Returns ajFalse if this is not a transition or it can not be determined (e.g. no change A->A, transversion A->T, unknown A->N)

Prototype

AjBool embPropTransition (
      char base1,
      char base2
);

TypeNameRead/WriteDescription
charbase1Inputfirst base
charbase2Inputsecond base
AjBool RETURNreturn ajTrue if this is a transition

From EMBOSS 1.4.3


Function embPropFixF

Fix for missing properties data in a float array

Prototype

void embPropFixF (
      float[] matrix,
      float missing
);

TypeNameRead/WriteDescription
float[]matrixModifyMatrix
floatmissingInputMissing data value
void RETURN

From EMBOSS 4.1.0


Function embPropNormalF

Normalize data values in a float array to have mean 0.0 and standard deviation 1.0

Prototype

void embPropNormalF (
      float[] matrix,
      float missing
);

TypeNameRead/WriteDescription
float[]matrixModifyMatrix
floatmissingInputMissing data value
void RETURN

From EMBOSS 6.1.0


Function embPropAminoDel

Delete array of amino acid properties

Prototype

void embPropAminoDel (
      EmbPPropAmino** thys
);

TypeNameRead/WriteDescription
EmbPPropAmino**thysOutputamino acid properties
void RETURN

From EMBOSS 6.0.0


Function embPropMolwtDel

Delete array of molwts

Prototype

void embPropMolwtDel (
      EmbPPropMolwt** thys
);

TypeNameRead/WriteDescription
EmbPPropMolwt**thysOutputmolwts
void RETURN

From EMBOSS 6.0.0