EmbPSigdat embSigdatNew ( ajuint nres, ajuint ngap );
Type | Name | Read/Write | Description |
---|---|---|---|
ajuint | nres | Input | Number of emprical residues / environments. |
ajuint | ngap | Input | Number of emprical gaps. |
EmbPSigdat | RETURN | Pointer to a Sigdat object |
From EMBOSS 2.9.0
EmbPSigpos embSigposNew ( ajuint ngap );
Type | Name | Read/Write | Description |
---|---|---|---|
ajuint | ngap | Input | Number of permissible gaps. |
EmbPSigpos | RETURN | Pointer to a Sigpos object |
From EMBOSS 2.9.0
void embSigposDel ( EmbPSigpos* pthis );
Type | Name | Read/Write | Description |
---|---|---|---|
EmbPSigpos* | pthis | Output | Sigpos object pointer |
void | RETURN |
From EMBOSS 2.9.0
void embSigdatDel ( EmbPSigdat* pthis );
Type | Name | Read/Write | Description |
---|---|---|---|
EmbPSigdat* | pthis | Output | Sigdat object pointer |
void | RETURN |
From EMBOSS 2.9.0
Functions:
embHitlistNew | Hitlist object constructor. This is normally called by the embHitlistRead function. Fore-knowledge of the number of hits is required. |
embHitNew | Hit object constructor. This is normally called by the embHitlistNew function. |
embSignatureNew | Signature object constructor. This is normally called by the embSignatureReadNew function. Fore-knowledge of the number of signature positions is required. |
EmbPHitlist embHitlistNew ( ajuint n );
Type | Name | Read/Write | Description |
---|---|---|---|
ajuint | n | Input | Number of hits |
EmbPHitlist | RETURN | Pointer to a hitlist object |
From EMBOSS 2.9.0
EmbPHit embHitNew ( void );
Type | Name | Read/Write | Description |
---|---|---|---|
EmbPHit | RETURN | Pointer to a hit object |
From EMBOSS 2.9.0
EmbPSignature embSignatureNew ( ajuint n );
Type | Name | Read/Write | Description |
---|---|---|---|
ajuint | n | Input | Number of signature positions |
EmbPSignature | RETURN | Pointer to a Signature object |
From EMBOSS 2.9.0
Functions:
embHitlistDel | Destructor for hitlist object. |
embHitDel | Destructor for hit object. |
embSignatureDel | Destructor for Signature object. |
void embHitlistDel ( EmbPHitlist* ptr );
Type | Name | Read/Write | Description |
---|---|---|---|
EmbPHitlist* | ptr | Output | Hitlist object pointer |
void | RETURN |
From EMBOSS 2.9.0
void embHitDel ( EmbPHit* ptr );
Type | Name | Read/Write | Description |
---|---|---|---|
EmbPHit* | ptr | Output | Hit object pointer |
void | RETURN |
From EMBOSS 2.9.0
void embSignatureDel ( EmbPSignature* ptr );
Type | Name | Read/Write | Description |
---|---|---|---|
EmbPSignature* | ptr | Output | Signature object pointer |
void | RETURN |
From EMBOSS 2.9.0
Functions:
embHitMerge | Creates a new Hit object which corresponds to a merging of the two sequences from the Hit objects hit1 and hit2. |
EmbPHit embHitMerge ( const EmbPHit hit1, const EmbPHit hit2 );
Type | Name | Read/Write | Description |
---|---|---|---|
const EmbPHit | hit1 | Input | Hit 1 |
const EmbPHit | hit2 | Input | Hit 2 |
EmbPHit | RETURN | Pointer to Hit object. |
From EMBOSS 2.9.0
Functions:
embHitlistMatchFold | Function to sort Hitlist object by Fold element. |
embMatchScore | Function to sort Hit objects by score record. Usually called by ajListSort. |
embMatchinvScore | Function to sort Hit objects by score record. Usually called by ajListSort. The sorting order is inverted - i.e. it returns -1 if score1 > score2 (as opposed to embMatchScore). |
embMatchLigid | Function to sort Hit objects by Ligid record (referenced via Sig element). |
embMatchSN | Function to sort Hit objects by sn element within Sig element. Usually called by ajListSort. |
ajint embHitlistMatchFold ( const void* hit1, const void* hit2 );
Type | Name | Read/Write | Description |
---|---|---|---|
const void* | hit1 | Input | Pointer to Hitlist object 1 |
const void* | hit2 | Input | Pointer to Hitlist object 2 |
ajint | RETURN | -1 if Fold1 should sort before Fold2, +1 if the Fold2 should sort first. 0 if they are identical. |
From EMBOSS 2.9.0
ajint embMatchScore ( const void* hit1, const void* hit2 );
Type | Name | Read/Write | Description |
---|---|---|---|
const void* | hit1 | Input | Pointer to Hit object 1 |
const void* | hit2 | Input | Pointer to Hit object 2 |
ajint | RETURN | 1 if score1<score2, 0 if score1==score2, else -1. |
From EMBOSS 2.9.0
ajint embMatchinvScore ( const void* hit1, const void* hit2 );
Type | Name | Read/Write | Description |
---|---|---|---|
const void* | hit1 | Input | Pointer to Hit object 1 |
const void* | hit2 | Input | Pointer to Hit object 2 |
ajint | RETURN | 1 if score1<score2, 0 if score1==score2, else -1. |
From EMBOSS 2.9.0
ajint embMatchLigid ( const void* hit1, const void* hit2 );
Type | Name | Read/Write | Description |
---|---|---|---|
const void* | hit1 | Input | Pointer to Hit object 1 |
const void* | hit2 | Input | Pointer to Hit object 2 |
ajint | RETURN | -1 if Ligid1 should sort before Ligid2, +1 if the Ligid2 should sort first. 0 if they are identical. |
From EMBOSS 3.0.0
ajint embMatchSN ( const void* hit1, const void* hit2 );
Type | Name | Read/Write | Description |
---|---|---|---|
const void* | hit1 | Input | Pointer to Hit object 1 |
const void* | hit2 | Input | Pointer to Hit object 2 |
ajint | RETURN | 1 if sn1<sn2, 0 if sn1==sn2, else -1. |
From EMBOSS 3.0.0
Functions:
embHitsOverlap | Checks for overlap between two hits. |
AjBool embHitsOverlap ( const EmbPHit hit1, const EmbPHit hit2, ajuint n );
Type | Name | Read/Write | Description |
---|---|---|---|
const EmbPHit | hit1 | Input | Pointer to hit object 1 |
const EmbPHit | hit2 | Input | Pointer to hit object 2 |
ajuint | n | Input | Threshold number of residues for overlap |
AjBool | RETURN | True if the overlap between the sequences is at least as long as the threshold. False otherwise. |
From EMBOSS 2.9.0
Functions:
embHitReadFasta | Read a hit object from a file in extended FASTA format (see documentation for the DOMAINATRIX "seqsearch" application). |
embHitlistRead | Read a hitlist object from a file in embl-like format (see documentation for the DOMAINATRIX "seqsearch" application). |
embHitlistReadFasta | Read a hitlist object from a file in extended FASTA format (see documentation for the DOMAINATRIX "seqsearch" application). |
embHitlistReadNode | Reads a scop families file (see documentation for the EMBASSY DOMAINATRIX package) and writes a list of Hitlist objects containing all domains matching the scop classification provided. |
embHitlistReadNodeFasta | Reads a domain families file (see documentation for the EMBASSY DOMAINATRIX package) and writes a list of Hitlist objects containing all domains matching the domain classification provided. |
embHitlistWrite | Write contents of a Hitlist object to an output file in embl-like format (see documentation for the DOMAINATRIX "seqsearch" application). Text for Class, Fold, Superfamily and Family is only written if the text is available. |
embHitlistWriteSubset | Write contents of a Hitlist object to an output file in embl-like format (see documentation for the DOMAINATRIX "seqsearch" application). Only those hits are written for which a 1 is given in the corresponding position in array of integers. Text for Class, Architecture, Topology, Fold, Superfamily and Family is only written if the text is available. |
embHitlistWriteFasta | Write contents of a Hitlist object to an output file in embl-like format (see documentation for the DOMAINATRIX "seqsearch" application). Text for Class, Fold, Superfamily and Family is only written if the text is available. |
embHitlistWriteSubsetFasta | Write contents of a Hitlist object to an output file in embl-like format (see documentation for the DOMAINATRIX "seqsearch" application). Only those hits are written for which a 1 is given in the corresponding position in array of integers. Text for Class, Architecture, Topology, Fold, Superfamily and Family is only written if the text is available. |
embHitlistWriteHitFasta | Write contents of one Hitlist object to an output file in embl-like format (see documentation for the DOMAINATRIX "seqsearch" application). Text for Class, Fold, Superfamily and Family is only written if the text is available. |
embSignatureReadNew | Read a Signature object from a file in embl-like format (see documentation for the DOMAINATRIX "sigscan" application). |
embSignatureWrite | Write contents of a Signature object to an output file in embl-like format (see documentation for the DOMAINATRIX "sigscan" application). |
embSignatureHitsRead | Reads a signature hits file, allocates a Hitlist object and writes it with hits from a signature hits file (see documentation for the DOMAINATRIX "sigscan" application). In other words, this function reads the results of a scan of a signature against a protein sequence database. |
embSignatureHitsWrite | Writes a list of AjOHit objects to an output file (see documentation for the DOMAINATRIX "sigscan" application). This is intended for displaying the results from scans of a signature against a protein sequence database. The Hitlist must have first been classified by a call to embHitlistClassify. Hits up to the first user-specified number of false hits are written. |
EmbPHit embHitReadFasta ( AjPFile inf );
Type | Name | Read/Write | Description |
---|---|---|---|
AjPFile | inf | Modify | Input file stream |
EmbPHit | RETURN | Hit object, or NULL if the file was not in extended FASTA (DHF) format (indicated by a token count of the the lines beginning with '>'). |
From EMBOSS 3.0.0
EmbPHitlist embHitlistRead ( AjPFile inf );
Type | Name | Read/Write | Description |
---|---|---|---|
AjPFile | inf | Modify | Input file stream |
EmbPHitlist | RETURN | Hitlist object |
From EMBOSS 2.9.0
EmbPHitlist embHitlistReadFasta ( AjPFile inf );
Type | Name | Read/Write | Description |
---|---|---|---|
AjPFile | inf | Modify | Input file stream |
EmbPHitlist | RETURN | Hitlist object |
From EMBOSS 3.0.0
AjPList embHitlistReadNode ( AjPFile inf, const AjPStr fam, const AjPStr sfam, const AjPStr fold, const AjPStr klass );
Type | Name | Read/Write | Description |
---|---|---|---|
AjPFile | inf | Modify | File containing multiple Hitlist objects |
const AjPStr | fam | Input | Family. |
const AjPStr | sfam | Input | Superfamily. |
const AjPStr | fold | Input | Fold. |
const AjPStr | klass | Input | Class. |
AjPList | RETURN | List of Hitlist objects or NULL. |
From EMBOSS 2.9.0
AjPList embHitlistReadNodeFasta ( AjPFile inf, const AjPStr fam, const AjPStr sfam, const AjPStr fold, const AjPStr klass );
Type | Name | Read/Write | Description |
---|---|---|---|
AjPFile | inf | Modify | File containing multiple Hitlist objects |
const AjPStr | fam | Input | Family. |
const AjPStr | sfam | Input | Superfamily. |
const AjPStr | fold | Input | Fold. |
const AjPStr | klass | Input | Class. |
AjPList | RETURN | List of Hitlist objects or NULL. |
From EMBOSS 3.0.0
AjBool embHitlistWrite ( AjPFile outf, const EmbPHitlist obj );
Type | Name | Read/Write | Description |
---|---|---|---|
AjPFile | outf | Modify | Output file stream |
const EmbPHitlist | obj | Input | Hitlist object |
AjBool | RETURN | True on success |
From EMBOSS 2.9.0
AjBool embHitlistWriteSubset ( AjPFile outf, const EmbPHitlist obj, const AjPUint ok );
Type | Name | Read/Write | Description |
---|---|---|---|
AjPFile | outf | Modify | Output file stream |
const EmbPHitlist | obj | Input | Hitlist object |
const AjPUint | ok | Input | Whether hits are to be printed or not |
AjBool | RETURN | True on success |
From EMBOSS 2.9.0
AjBool embHitlistWriteFasta ( AjPFile outf, const EmbPHitlist obj );
Type | Name | Read/Write | Description |
---|---|---|---|
AjPFile | outf | Modify | Output file stream |
const EmbPHitlist | obj | Input | Hitlist object |
AjBool | RETURN | True on success |
From EMBOSS 3.0.0
AjBool embHitlistWriteSubsetFasta ( AjPFile outf, const EmbPHitlist obj, const AjPUint ok );
Type | Name | Read/Write | Description |
---|---|---|---|
AjPFile | outf | Modify | Output file stream |
const EmbPHitlist | obj | Input | Hitlist object |
const AjPUint | ok | Input | Whether hits are to be printed or not |
AjBool | RETURN | True on success |
From EMBOSS 3.0.0
AjBool embHitlistWriteHitFasta ( AjPFile outf, ajuint n, const EmbPHitlist obj );
Type | Name | Read/Write | Description |
---|---|---|---|
AjPFile | outf | Modify | Output file stream |
ajuint | n | Input | Number of hit |
const EmbPHitlist | obj | Input | Hitlist object |
AjBool | RETURN | True on success |
From EMBOSS 3.0.0
EmbPSignature embSignatureReadNew ( AjPFile inf );
Type | Name | Read/Write | Description |
---|---|---|---|
AjPFile | inf | Modify | Input file stream |
EmbPSignature | RETURN | Signature object |
From EMBOSS 2.9.0
AjBool embSignatureWrite ( AjPFile outf, const EmbPSignature obj );
Type | Name | Read/Write | Description |
---|---|---|---|
AjPFile | outf | Output | Output file stream |
const EmbPSignature | obj | Input | Signature object |
AjBool | RETURN | ajTrue on success |
From EMBOSS 2.9.0
EmbPHitlist embSignatureHitsRead ( AjPFile inf );
Type | Name | Read/Write | Description |
---|---|---|---|
AjPFile | inf | Modify | Input file stream |
EmbPHitlist | RETURN | Hitlist object that was allocated. |
From EMBOSS 2.9.0
AjBool embSignatureHitsWrite ( AjPFile outf, const EmbPSignature sig, const EmbPHitlist hitlist, ajuint n );
Type | Name | Read/Write | Description |
---|---|---|---|
AjPFile | outf | Modify | Output file stream |
const EmbPSignature | sig | Input | Signature object |
const EmbPHitlist | hitlist | Input | Hitlist objects with hits from scan |
ajuint | n | Input | Max. no. false hits to output |
AjBool | RETURN | True if file was written |
From EMBOSS 2.9.0
Functions:
embHitlistClassify | Classifies a list of signature-sequence hits (held in a Hitlist object) according to list of target sequences (a list of Hitlist objects). |
embSignatureCompile | Function to compile a signature: calls embSigposNew to allocate an array of AjOSigpos objects within an AjOSignature object, and then writes this array. The signature must first have been allocated by using the embSignatureNew function. |
embSignatureAlignSeq | Performs an alignment of a signature to a protein sequence. The signature must have first been compiled by calling the embSignatureCompile function. A Hit object is written. |
embSignatureAlignSeqall | Aligns a signature to a set of sequences and writes a Hitlist object with the results. The top-scoring <n> hits are written. The signature must have first been compiled by calling the embSignatureCompile function. Memory for an Hitlist object must be allocated beforehand by using the Hitlist constructor with an arg. of 0. |
embSigExit | Cleanup of signature function internals. |
AjBool embHitlistClassify ( EmbPHitlist hitlist, const AjPList targets, ajuint thresh );
Type | Name | Read/Write | Description |
---|---|---|---|
EmbPHitlist | hitlist | Modify | Hitlist object with hits |
const AjPList | targets | Input | List of AjOHitlist objects with targets |
ajuint | thresh | Input | Minimum length (residues) of overlap required for two hits with the same code to be counted as the same hit. |
AjBool | RETURN | True on success, else False |
From EMBOSS 2.9.0
AjBool embSignatureCompile ( EmbPSignature* S, float gapo, float gape, const AjPMatrixf matrix );
Type | Name | Read/Write | Description |
---|---|---|---|
EmbPSignature* | S | Output | Signature object |
float | gapo | Input | Gap opening penalty |
float | gape | Input | Gap extension penalty |
const AjPMatrixf | matrix | Input | Residue substitution matrix |
AjBool | RETURN | True if array was written succesfully. |
From EMBOSS 2.9.0
AjBool embSignatureAlignSeq ( const EmbPSignature S, const AjPSeq seq, EmbPHit* hit, ajuint nterm );
Type | Name | Read/Write | Description |
---|---|---|---|
const EmbPSignature | S | Input | Signature object |
const AjPSeq | seq | Input | Protein sequence |
EmbPHit* | hit | Output | Hit object pointer |
ajuint | nterm | Input | N-terminal matching option |
AjBool | RETURN | True if a signature-sequence alignment was successful and the Hit object was written. Returns False if there was an internal error, bad arg's etc. or in cases where a sequence is rejected because of N-terminal matching options). |
From EMBOSS 2.9.0
AjBool embSignatureAlignSeqall ( const EmbPSignature sig, AjPSeqall db, ajuint n, EmbPHitlist* hitlist, ajuint nterm );
Type | Name | Read/Write | Description |
---|---|---|---|
const EmbPSignature | sig | Input | Signature object |
AjPSeqall | db | Modify | Protein sequences |
ajuint | n | Input | Max. number of top-scoring hits to store |
EmbPHitlist* | hitlist | Output | Hitlist object pointer |
ajuint | nterm | Input | N-terminal matching option |
AjBool | RETURN | True if Hitlist object was written succesfully. |
From EMBOSS 2.9.0
void embSigExit ( void );
Type | Name | Read/Write | Description |
---|---|---|---|
void | RETURN |
From EMBOSS 6.1.0