ajseqread.c
All constructors return a new sequence input object by pointer. It
is the responsibility of the user to first destroy any previous
sequence input object. The target pointer does not need to be
initialised to NULL, but it is good programming practice to do so
anyway.
Functions: ajSeqinNew
Creates a new sequence input object.
Synopsis
Prototype
AjPSeqin ajSeqinNew (
void
);
| Type | Name | Read/Write | Description |
| AjPSeqin | | RETURN | New sequence input object. |
Returns
| AjPSeqin: | New sequence input object. |
Description
Creates a new sequence input object.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 5.0.0
Destruction destroys all internal data structures and frees the
memory allocated for the sequence input object.
Functions: ajSeqinDel
Deletes a sequence input object.
Synopsis
Prototype
void ajSeqinDel (
AjPSeqin* pthis
);
| Type | Name | Read/Write | Description |
| AjPSeqin* | pthis | Delete | Sequence input |
| void | | RETURN | |
Output
| pthis: | (Delete) | Sequence input |
Returns
Description
Deletes a sequence input object.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 5.0.0
These functions use the contents of a sequence input object and
update them.
Functions: ajSeqinUsa ajSeqinSetNuc ajSeqinSetProt ajSeqinSetRange
Creates or resets a sequence input object using a new Universal
Sequence Address
Synopsis
Prototype
void ajSeqinUsa (
AjPSeqin* pthis,
const AjPStr Usa
);
| Type | Name | Read/Write | Description |
| AjPSeqin* | pthis | Modify | Sequence input object. |
| const AjPStr | Usa | Input | USA |
| void | | RETURN | |
Input
Input & Output
| pthis: | (Modify) | Sequence input object. |
Returns
Description
Creates or resets a sequence input object using a new Universal
Sequence Address
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 5.0.0
Sets the type to be forced as nucleic for a sequence input object
Synopsis
Prototype
void ajSeqinSetNuc (
AjPSeqin seqin
);
| Type | Name | Read/Write | Description |
| AjPSeqin | seqin | Modify | Sequence input object to be set. |
| void | | RETURN | |
Input & Output
| seqin: | (Modify) | Sequence input object to be set. |
Returns
Description
Sets the type to be forced as nucleic for a sequence input object
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 5.0.0
Sets the type to be forced as protein for a sequence input object
Synopsis
Prototype
void ajSeqinSetProt (
AjPSeqin seqin
);
| Type | Name | Read/Write | Description |
| AjPSeqin | seqin | Modify | Sequence input object to be set. |
| void | | RETURN | |
Input & Output
| seqin: | (Modify) | Sequence input object to be set. |
Returns
Description
Sets the type to be forced as protein for a sequence input object
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 5.0.0
Sets the start and end positions for a sequence input object
Synopsis
Prototype
void ajSeqinSetRange (
AjPSeqin seqin,
ajint ibegin,
ajint iend
);
| Type | Name | Read/Write | Description |
| AjPSeqin | seqin | Modify | Sequence input object to be set. |
| ajint | ibegin | Input | Start position. Negative values are from the end. |
| ajint | iend | Input | End position. Negative values are from the end. |
| void | | RETURN | |
Input
| ibegin: | (Input) | Start position. Negative values are from the end. |
| iend: | (Input) | End position. Negative values are from the end. |
Input & Output
| seqin: | (Modify) | Sequence input object to be set. |
Returns
Description
Sets the start and end positions for a sequence input object
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 5.0.0
These functions use the contents of a sequence input object but do
not make any changes.
Functions: ajSeqAllRead ajSeqallFile ajSeqallNext ajSeqinClearPos ajSeqinClear
Parse a USA Uniform Sequence Address into format, access, file and entry
Split at delimiters. Check for the first part as a valid format
Check for the remaining first part as a database name or as a file
that can be opened.
Anything left is an entryname spec.
Return the results in the AjPSeq object but leave the file open for
future calls.
Synopsis
Prototype
AjBool ajSeqAllRead (
AjPSeq thys,
AjPSeqin seqin
);
| Type | Name | Read/Write | Description |
| AjPSeq | thys | Output | Sequence returned. |
| AjPSeqin | seqin | Modify | Sequence input definitions |
| AjBool | | RETURN | ajTrue on success. |
Output
| thys: | (Output) | Sequence returned. |
Input & Output
| seqin: | (Modify) | Sequence input definitions |
Returns
| AjBool: | ajTrue on success. |
Description
Parse a USA Uniform Sequence Address into format, access, file and entry
Split at delimiters. Check for the first part as a valid format
Check for the remaining first part as a database name or as a file
that can be opened.
Anything left is an entryname spec.
Return the results in the AjPSeq object but leave the file open for
future calls.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 5.0.0
Parse a USA Uniform Sequence Address
Return the results in the AjPSeqall object but leave the file open for
future calls.
Synopsis
Prototype
AjPSeqall ajSeqallFile (
const AjPStr usa
);
| Type | Name | Read/Write | Description |
| const AjPStr | usa | Input | sequence usa. |
| AjPSeqall | | RETURN | seqall object |
Input
Returns
Description
Parse a USA Uniform Sequence Address
Return the results in the AjPSeqall object but leave the file open for
future calls.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 5.0.0
Reads the next sequence into a sequence stream. For the first call this
simply returns the sequence already loaded. For later calls a new
sequence is read.
Synopsis
Prototype
AjBool ajSeqallNext (
AjPSeqall seqall,
AjPSeq* retseq
);
| Type | Name | Read/Write | Description |
| AjPSeqall | seqall | Modify | Sequence stream |
| AjPSeq* | retseq | Output | Sequence |
| AjBool | | RETURN | ajTrue if a sequence was refound. ajFalse when all is done. |
Output
Input & Output
| seqall: | (Modify) | Sequence stream |
Returns
| AjBool: | ajTrue if a sequence was refound. ajFalse when all is done. |
Description
Reads the next sequence into a sequence stream. For the first call this
simply returns the sequence already loaded. For later calls a new
sequence is read.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 5.0.0
Clears a Sequence input object position information as possibly read from
a USA that included the begni, end and direction
Synopsis
Prototype
void ajSeqinClearPos (
AjPSeqin thys
);
| Type | Name | Read/Write | Description |
| AjPSeqin | thys | Modify | Sequence input |
| void | | RETURN | |
Input & Output
| thys: | (Modify) | Sequence input |
Returns
Description
Clears a Sequence input object position information as possibly read from
a USA that included the begni, end and direction
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 5.0.0
Clears a Sequence input object back to "as new" condition, except
for the USA list and the features setting which must be preserved.
Synopsis
Prototype
void ajSeqinClear (
AjPSeqin thys
);
| Type | Name | Read/Write | Description |
| AjPSeqin | thys | Output | Sequence input |
| void | | RETURN | |
Output
| thys: | (Output) | Sequence input |
Returns
Description
Clears a Sequence input object back to "as new" condition, except
for the USA list and the features setting which must be preserved.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 5.0.0
These functions read the sequence provdied by the first argument
Functions: ajSeqRead
If the file is not yet open, calls seqUsaProcess to convert the USA into
an open file stream.
Uses seqRead for the actual file reading.
Returns the results in the AjPSeq object.
Synopsis
Prototype
AjBool ajSeqRead (
AjPSeq thys,
AjPSeqin seqin
);
| Type | Name | Read/Write | Description |
| AjPSeq | thys | Output | Sequence returned. |
| AjPSeqin | seqin | Modify | Sequence input definitions |
| AjBool | | RETURN | ajTrue on success. |
Output
| thys: | (Output) | Sequence returned. |
Input & Output
| seqin: | (Modify) | Sequence input definitions |
Returns
| AjBool: | ajTrue on success. |
Description
If the file is not yet open, calls seqUsaProcess to convert the USA into
an open file stream.
Uses seqRead for the actual file reading.
Returns the results in the AjPSeq object.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 5.0.0
These functions read the sequence set object provided as the
first argument.
Functions: ajSeqsetRead ajSeqsetallRead ajSeqsetFromList ajSeqsetFromPair ajSeqsetApp ajSeqPrintInFormat ajSeqFormatTest ajSeqUsaGetBase
Parse a USA Uniform Sequence Address into format, access, file and entry
Split at delimiters. Check for the first part as a valid format
Check for the remaining first part as a database name or as a file
that can be opened.
Anything left is an entryname spec.
Read all the sequences until done
Return the results in the AjPSeqset object.
Synopsis
Prototype
AjBool ajSeqsetRead (
AjPSeqset thys,
AjPSeqin seqin
);
| Type | Name | Read/Write | Description |
| AjPSeqset | thys | Output | Sequence set returned. |
| AjPSeqin | seqin | Modify | Sequence input definitions |
| AjBool | | RETURN | ajTrue on success. |
Output
| thys: | (Output) | Sequence set returned. |
Input & Output
| seqin: | (Modify) | Sequence input definitions |
Returns
| AjBool: | ajTrue on success. |
Description
Parse a USA Uniform Sequence Address into format, access, file and entry
Split at delimiters. Check for the first part as a valid format
Check for the remaining first part as a database name or as a file
that can be opened.
Anything left is an entryname spec.
Read all the sequences until done
Return the results in the AjPSeqset object.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 5.0.0
Parse a USA Uniform Sequence Address into format, access, file and entry
Split at delimiters. Check for the first part as a valid format
Check for the remaining first part as a database name or as a file
that can be opened.
Anything left is an entryname spec.
Read all the sequences into sequence sets until done
Start a new set for each multiple sequence input
Return the results in the AjPList object with AjPSeqset nodes
Synopsis
Prototype
AjBool ajSeqsetallRead (
AjPList thys,
AjPSeqin seqin
);
| Type | Name | Read/Write | Description |
| AjPList | thys | Output | List of sequence sets returned. |
| AjPSeqin | seqin | Modify | Sequence input definitions |
| AjBool | | RETURN | ajTrue on success. |
Output
| thys: | (Output) | List of sequence sets returned. |
Input & Output
| seqin: | (Modify) | Sequence input definitions |
Returns
| AjBool: | ajTrue on success. |
Description
Parse a USA Uniform Sequence Address into format, access, file and entry
Split at delimiters. Check for the first part as a valid format
Check for the remaining first part as a database name or as a file
that can be opened.
Anything left is an entryname spec.
Read all the sequences into sequence sets until done
Start a new set for each multiple sequence input
Return the results in the AjPList object with AjPSeqset nodes
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 5.0.0
Builds a sequence set from a list of sequences
Synopsis
Prototype
ajint ajSeqsetFromList (
AjPSeqset thys,
const AjPList list
);
| Type | Name | Read/Write | Description |
| AjPSeqset | thys | Output | Sequence set |
| const AjPList | list | Input | List of sequence objects |
| ajint | | RETURN | Number of sequences in the set. |
Input
| list: | (Input) | List of sequence objects |
Output
| thys: | (Output) | Sequence set |
Returns
| ajint: | Number of sequences in the set. |
Description
Builds a sequence set from a list of sequences
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 5.0.0
Builds a sequence set from a pair of sequences
Synopsis
Prototype
ajint ajSeqsetFromPair (
AjPSeqset thys,
const AjPSeq seqa,
const AjPSeq seqb
);
| Type | Name | Read/Write | Description |
| AjPSeqset | thys | Output | Sequence set |
| const AjPSeq | seqa | Input | Sequence 1 |
| const AjPSeq | seqb | Input | Sequence 2 |
| ajint | | RETURN | Number of sequences in the set. |
Input
| seqa: | (Input) | Sequence 1 |
| seqb: | (Input) | Sequence 2 |
Output
| thys: | (Output) | Sequence set |
Returns
| ajint: | Number of sequences in the set. |
Description
Builds a sequence set from a pair of sequences
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 5.0.0
Adds a sequence to a sequence set
Synopsis
Prototype
ajint ajSeqsetApp (
AjPSeqset thys,
const AjPSeq seq
);
| Type | Name | Read/Write | Description |
| AjPSeqset | thys | Output | Sequence set |
| const AjPSeq | seq | Input | Sequence |
| ajint | | RETURN | Number of sequences in the set. |
Input
Output
| thys: | (Output) | Sequence set |
Returns
| ajint: | Number of sequences in the set. |
Description
Adds a sequence to a sequence set
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 5.0.0
Reports the internal data structures
Synopsis
Prototype
void ajSeqPrintInFormat (
AjPFile outf,
AjBool full
);
| Type | Name | Read/Write | Description |
| AjPFile | outf | Modify | Output file |
| AjBool | full | Input | Full report (usually ajFalse) |
| void | | RETURN | |
Input
| full: | (Input) | Full report (usually ajFalse) |
Input & Output
Returns
Description
Reports the internal data structures
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 5.0.0
tests whether a named format is known
Synopsis
Prototype
AjBool ajSeqFormatTest (
const AjPStr format
);
| Type | Name | Read/Write | Description |
| const AjPStr | format | Input | Format |
| AjBool | | RETURN | ajTrue if formats was accepted |
Input
Returns
| AjBool: | ajTrue if formats was accepted |
Description
tests whether a named format is known
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 5.0.0
Extracts the base part from a USA, suitable for use in fetching other
sequences from the same source
Synopsis
Prototype
AjBool ajSeqUsaGetBase (
const AjPStr usa,
AjPStr* Pbaseusa
);
| Type | Name | Read/Write | Description |
| const AjPStr | usa | Input | Original USA |
| AjPStr* | Pbaseusa | Modify | Base part of USA |
| AjBool | | RETURN | True on success |
Input
Input & Output
| Pbaseusa: | (Modify) | Base part of USA |
Returns
Description
Extracts the base part from a USA, suitable for use in fetching other
sequences from the same source
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 5.0.0
All constructors return a new sequence query object by pointer. It
is the responsibility of the user to first destroy any previous
sequenceoutput object. The target pointer does not need to be
initialised to NULL, but it is good programming practice to do so
anyway.
Functions: ajSeqQueryNew
Creates a new sequence query object
Synopsis
Prototype
AjPSeqQuery ajSeqQueryNew (
void
);
| Type | Name | Read/Write | Description |
| AjPSeqQuery | | RETURN | New sequence query object. |
Returns
| AjPSeqQuery: | New sequence query object. |
Description
Creates a new sequence query object
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 5.0.0
Destruction destroys all internal data structures and frees the
memory allocated for the sequence query object.
Functions: ajSeqQueryDel
Deletes a sequence query object
Synopsis
Prototype
void ajSeqQueryDel (
AjPSeqQuery* pthis
);
| Type | Name | Read/Write | Description |
| AjPSeqQuery* | pthis | Delete | Address of sequence query object |
| void | | RETURN | |
Output
| pthis: | (Delete) | Address of sequence query object |
Returns
Description
Deletes a sequence query object
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 5.0.0
These functions use the contents of a sequence query object and
update them.
Functions: ajSeqQueryClear
Resets a Sequence query object to a clean state for reuse
Synopsis
Prototype
void ajSeqQueryClear (
AjPSeqQuery thys
);
| Type | Name | Read/Write | Description |
| AjPSeqQuery | thys | Modify | Sequence query object |
| void | | RETURN | |
Input & Output
| thys: | (Modify) | Sequence query object |
Returns
Description
Resets a Sequence query object to a clean state for reuse
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 5.0.0
These functions use the contents of a sequence query object but do
not make any changes.
Functions: ajSeqQueryWild ajSeqQueryStarclear ajSeqQueryIs ajSeqQueryTrace
Tests whether a query includes wild cards in any element,
or can return more than one entry (keyword and some other search terms
will find multiple entries)
Synopsis
Prototype
AjBool ajSeqQueryWild (
AjPSeqQuery qry
);
| Type | Name | Read/Write | Description |
| AjPSeqQuery | qry | Modify | Query object. |
| AjBool | | RETURN | ajTrue if query had wild cards. |
Input & Output
| qry: | (Modify) | Query object. |
Returns
| AjBool: | ajTrue if query had wild cards. |
Description
Tests whether a query includes wild cards in any element,
or can return more than one entry (keyword and some other search terms
will find multiple entries)
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 5.0.0
Clears elements of a query object if they are simply "*" because this
is equivalent to a null string.
Synopsis
Prototype
void ajSeqQueryStarclear (
AjPSeqQuery qry
);
| Type | Name | Read/Write | Description |
| AjPSeqQuery | qry | Modify | Query object. |
| void | | RETURN | |
Input & Output
| qry: | (Modify) | Query object. |
Returns
Description
Clears elements of a query object if they are simply "*" because this
is equivalent to a null string.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 5.0.0
Tests whether any element of a query has been set. Elements which
are simply '*' are cleared as this has the same meaning.
Synopsis
Prototype
AjBool ajSeqQueryIs (
const AjPSeqQuery qry
);
| Type | Name | Read/Write | Description |
| const AjPSeqQuery | qry | Input | Query object. |
| AjBool | | RETURN | ajTrue if query should be made. ajFalse if the query
includes all entries. |
Input
Returns
| AjBool: | ajTrue if query should be made. ajFalse if the query
includes all entries. |
Description
Tests whether any element of a query has been set. Elements which
are simply '*' are cleared as this has the same meaning.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 5.0.0
Debug calls to trace the data in a sequence query object.
Synopsis
Prototype
void ajSeqQueryTrace (
const AjPSeqQuery thys
);
| Type | Name | Read/Write | Description |
| const AjPSeqQuery | thys | Input | Sequence query object. |
| void | | RETURN | |
Input
| thys: | (Input) | Sequence query object. |
Returns
Description
Debug calls to trace the data in a sequence query object.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 5.0.0
These functions examine the contents of a sequence query object
and return some derived information. Some of them provide access to
the internal components of a sequence query object. They are
provided for programming convenience but should be used with
caution.
Functions: ajSeqParseFasta ajSeqParseNcbi ajSeqParseFastq ajSeqGetFromUsa ajSeqsetGetFromUsa ajSeqReadExit ajSeqinTrace
Parse an NCBI format fasta line. Return id acc sv and description
Synopsis
Prototype
AjBool ajSeqParseFasta (
const AjPStr instr,
AjPStr* id,
AjPStr* acc,
AjPStr* sv,
AjPStr* desc
);
| Type | Name | Read/Write | Description |
| const AjPStr | instr | Input | fasta line. |
| AjPStr* | id | Output | id. |
| AjPStr* | acc | Output | accession number. |
| AjPStr* | sv | Output | sequence version number. |
| AjPStr* | desc | Output | description. |
| AjBool | | RETURN | ajTrue if fasta format |
Input
Output
| id: | (Output) | id. |
| acc: | (Output) | accession number. |
| sv: | (Output) | sequence version number. |
| desc: | (Output) | description. |
Returns
| AjBool: | ajTrue if fasta format |
Description
Parse an NCBI format fasta line. Return id acc sv and description
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 5.0.0
Parse an NCBI format fasta line. Return id acc and description.
Tries to cope with the amazing variety of identifiers NCBI inflicts
on us all - see the BLAST document README.formatdb from NCBI for
some of the gory detail, and look at some real files for clues
to what can really happen. Sadly,'real files' also includes
internal IDs in blast databases reformatted by formatdb.
Synopsis
Prototype
AjBool ajSeqParseNcbi (
const AjPStr instr,
AjPStr* id,
AjPStr* acc,
AjPStr* sv,
AjPStr* gi,
AjPStr* db,
AjPStr* desc
);
| Type | Name | Read/Write | Description |
| const AjPStr | instr | Input | fasta line. |
| AjPStr* | id | Output | id. |
| AjPStr* | acc | Output | accession number. |
| AjPStr* | sv | Output | sequence version number. |
| AjPStr* | gi | Output | GI version number. |
| AjPStr* | db | Output | NCBI database name |
| AjPStr* | desc | Output | description. |
| AjBool | | RETURN | ajTrue if ncbi format |
Input
Output
| id: | (Output) | id. |
| acc: | (Output) | accession number. |
| sv: | (Output) | sequence version number. |
| gi: | (Output) | GI version number. |
| db: | (Output) | NCBI database name |
| desc: | (Output) | description. |
Returns
| AjBool: | ajTrue if ncbi format |
Description
Parse an NCBI format fasta line. Return id acc and description.
Tries to cope with the amazing variety of identifiers NCBI inflicts
on us all - see the BLAST document README.formatdb from NCBI for
some of the gory detail, and look at some real files for clues
to what can really happen. Sadly,'real files' also includes
internal IDs in blast databases reformatted by formatdb.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 5.0.0
Parse a fastq id line. Return id acc sv and description
Synopsis
Prototype
AjBool ajSeqParseFastq (
const AjPStr instr,
AjPStr* id,
AjPStr* acc,
AjPStr* sv,
AjPStr* desc
);
| Type | Name | Read/Write | Description |
| const AjPStr | instr | Input | fastq line. |
| AjPStr* | id | Output | id. |
| AjPStr* | acc | Output | accession number. |
| AjPStr* | sv | Output | sequence version number. |
| AjPStr* | desc | Output | description. |
| AjBool | | RETURN | ajTrue if fastq format |
Input
Output
| id: | (Output) | id. |
| acc: | (Output) | accession number. |
| sv: | (Output) | sequence version number. |
| desc: | (Output) | description. |
Returns
| AjBool: | ajTrue if fastq format |
Description
Parse a fastq id line. Return id acc sv and description
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 5.0.0
Returns a sequence given a USA
Synopsis
Prototype
AjBool ajSeqGetFromUsa (
const AjPStr thys,
AjBool protein,
AjPSeq seq
);
| Type | Name | Read/Write | Description |
| const AjPStr | thys | Input | USA |
| AjBool | protein | Input | True if protein |
| AjPSeq | seq | Modify | sequence |
| AjBool | | RETURN | ajTrue on success |
Input
| thys: | (Input) | USA |
| protein: | (Input) | True if protein |
Input & Output
Returns
Description
Returns a sequence given a USA
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 5.0.0
Return a seqset given a usa
Synopsis
Prototype
AjBool ajSeqsetGetFromUsa (
const AjPStr thys,
AjPSeqset* seq
);
| Type | Name | Read/Write | Description |
| const AjPStr | thys | Input | usa |
| AjPSeqset* | seq | Output | seqset |
| AjBool | | RETURN | ajTrue on success |
Input
Output
Returns
Description
Return a seqset given a usa
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 5.0.0
Cleans up sequence reading internal memory
Synopsis
Prototype
void ajSeqReadExit (
void
);
| Type | Name | Read/Write | Description |
| void | | RETURN | |
Returns
Description
Cleans up sequence reading internal memory
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 5.0.0
Debug calls to trace the data in a sequence input object.
Synopsis
Prototype
void ajSeqinTrace (
const AjPSeqin thys
);
| Type | Name | Read/Write | Description |
| const AjPSeqin | thys | Input | Sequence input object. |
| void | | RETURN | |
Input
| thys: | (Input) | Sequence input object. |
Returns
Description
Debug calls to trace the data in a sequence input object.
Usage
See source code
Example
In preparation
Errors
See source code
Dependencies
See source code
See Also
See other functions in this section
Availability
In release 5.0.0