ajseqabi.c
Test file type is ABI format - look for 'ABIF' flag (which may be in one
of 2 places).
Synopsis
Prototype
AjBool ajSeqABITest (
AjPFile fp
);
Type | Name | Read/Write | Description |
AjPFile | fp | Modify | ABI format file |
AjBool | | RETURN | ajTrue on success |
Input & Output
fp: | (Modify) | ABI format file |
Returns
Description
Test file type is ABI format - look for 'ABIF' flag (which may be in one
of 2 places).
See Also
See other functions in this section
Availability
In release 6.4.0
Read in confidence values from an ABI trace file.
Synopsis
Prototype
AjBool ajSeqABIReadConfid (
AjPFile fp,
ajlong pconO,
ajlong numBases,
float* Pqual
);
Type | Name | Read/Write | Description |
AjPFile | fp | Modify | ABI format input file |
ajlong | pconO | Input | PCON offset in an ABI file |
ajlong | numBases | Input | number of bases |
float* | Pqual | Output | array of confidence values |
AjBool | | RETURN | ajTrue on success |
Input
pconO: | (Input) | PCON offset in an ABI file |
numBases: | (Input) | number of bases |
Output
Pqual: | (Output) | array of confidence values |
Input & Output
fp: | (Modify) | ABI format input file |
Returns
Description
Read in confidence values from an ABI trace file.
See Also
See other functions in this section
Availability
In release 6.4.0
Read in a sequence from an ABI trace file.
Synopsis
Prototype
AjBool ajSeqABIReadSeq (
AjPFile fp,
ajlong baseO,
ajlong numBases,
AjPStr* nseq
);
Type | Name | Read/Write | Description |
AjPFile | fp | Modify | ABI format input file |
ajlong | baseO | Input | PBAS offset in an ABI file |
ajlong | numBases | Input | number of bases |
AjPStr* | nseq | Output | read sequence |
AjBool | | RETURN | ajTrue on success |
Input
baseO: | (Input) | PBAS offset in an ABI file |
numBases: | (Input) | number of bases |
Output
nseq: | (Output) | read sequence |
Input & Output
fp: | (Modify) | ABI format input file |
Returns
Description
Read in a sequence from an ABI trace file.
See Also
See other functions in this section
Availability
In release 6.4.0
Get the name of the machine used to obtain an ABI trace file.
Synopsis
Prototype
AjBool ajSeqABIMachineName (
AjPFile fp,
AjPStr* machine
);
Type | Name | Read/Write | Description |
AjPFile | fp | Modify | ABI format file |
AjPStr* | machine | Output | machine name |
AjBool | | RETURN | ajTrue on success |
Output
machine: | (Output) | machine name |
Input & Output
fp: | (Modify) | ABI format file |
Returns
Description
Get the name of the machine used to obtain an ABI trace file.
See Also
See other functions in this section
Availability
In release 6.4.0
Find 'DATA' tag and get the number of data points.
Synopsis
Prototype
ajint ajSeqABIGetNData (
AjPFile fp
);
Type | Name | Read/Write | Description |
AjPFile | fp | Modify | ABI format file |
ajint | | RETURN | Number of data points in file |
Input & Output
fp: | (Modify) | ABI format file |
Returns
ajint: | Number of data points in file |
Description
Find 'DATA' tag and get the number of data points.
See Also
See other functions in this section
Availability
In release 6.4.0
Find the 'PBAS' tag in an ABI trace file and get the number of bases.
Synopsis
Prototype
ajint ajSeqABIGetNBase (
AjPFile fp
);
Type | Name | Read/Write | Description |
AjPFile | fp | Modify | ABI format file |
ajint | | RETURN | Number of bases in file |
Input & Output
fp: | (Modify) | ABI format file |
Returns
ajint: | Number of bases in file |
Description
Find the 'PBAS' tag in an ABI trace file and get the number of bases.
See Also
See other functions in this section
Availability
In release 6.4.0
Read in the processed trace data from an ABI file.
Synopsis
Prototype
void ajSeqABIGetData (
AjPFile fp,
const ajlong* Offset,
ajlong numPoints,
AjPInt2d trace
);
Type | Name | Read/Write | Description |
AjPFile | fp | Modify | ABI format file |
const ajlong* | Offset | Input | data offset in ABI file |
ajlong | numPoints | Input | number of data points |
AjPInt2d | trace | Output | (4xnumPoints) array of trace data |
void | | RETURN | |
Input
Offset: | (Input) | data offset in ABI file |
numPoints: | (Input) | number of data points |
Output
trace: | (Output) | (4xnumPoints) array of trace data |
Input & Output
fp: | (Modify) | ABI format file |
Returns
Description
Read in the processed trace data from an ABI file.
See Also
See other functions in this section
Availability
In release 6.4.0
Read in the base positions from an ABI file.
Synopsis
Prototype
void ajSeqABIGetBasePosition (
AjPFile fp,
ajlong numBases,
AjPShort* basePositions
);
Type | Name | Read/Write | Description |
AjPFile | fp | Modify | ABI format file |
ajlong | numBases | Input | number of bases to be read |
AjPShort* | basePositions | Output | base positions output |
void | | RETURN | |
Input
numBases: | (Input) | number of bases to be read |
Output
basePositions: | (Output) | base positions output |
Input & Output
fp: | (Modify) | ABI format file |
Returns
Description
Read in the base positions from an ABI file.
See Also
See other functions in this section
Availability
In release 6.4.0
Read in the signal strength information from an ABI file.
Synopsis
Prototype
void ajSeqABIGetSignal (
AjPFile fp,
ajlong fwo_,
ajshort* sigC,
ajshort* sigA,
ajshort* sigG,
ajshort* sigT
);
Type | Name | Read/Write | Description |
AjPFile | fp | Modify | ABI format file |
ajlong | fwo_ | Input | field order |
ajshort* | sigC | Output | average signal strength for C |
ajshort* | sigA | Output | average signal strength for A |
ajshort* | sigG | Output | average signal strength for G |
ajshort* | sigT | Output | average signal strength for T |
void | | RETURN | |
Input
Output
sigC: | (Output) | average signal strength for C |
sigA: | (Output) | average signal strength for A |
sigG: | (Output) | average signal strength for G |
sigT: | (Output) | average signal strength for T |
Input & Output
fp: | (Modify) | ABI format file |
Returns
Description
Read in the signal strength information from an ABI file.
See Also
See other functions in this section
Availability
In release 6.4.0
Read in the base spacing from an ABI file.
Synopsis
Prototype
float ajSeqABIGetBaseSpace (
AjPFile fp
);
Type | Name | Read/Write | Description |
AjPFile | fp | Modify | ABI format file |
float | | RETURN | base spacing |
Input & Output
fp: | (Modify) | ABI format file |
Returns
Description
Read in the base spacing from an ABI file.
See Also
See other functions in this section
Availability
In release 6.4.0
Routine to get the 'PBAS' tag offset in an ABI file.
Synopsis
Prototype
ajint ajSeqABIGetBaseOffset (
AjPFile fp
);
Type | Name | Read/Write | Description |
AjPFile | fp | Modify | ABI format file |
ajint | | RETURN | 'PBAS' tag offset in an ABI file |
Input & Output
fp: | (Modify) | ABI format file |
Returns
ajint: | 'PBAS' tag offset in an ABI file |
Description
Routine to get the 'PBAS' tag offset in an ABI file.
See Also
See other functions in this section
Availability
In release 6.4.0
Routine to get the 'PLOC', base position, tag offset in an ABI file
Synopsis
Prototype
ajint ajSeqABIGetBasePosOffset (
AjPFile fp
);
Type | Name | Read/Write | Description |
AjPFile | fp | Modify | ABI format file |
ajint | | RETURN | base position offset in an ABI file |
Input & Output
fp: | (Modify) | ABI format file |
Returns
ajint: | base position offset in an ABI file |
Description
Routine to get the 'PLOC', base position, tag offset in an ABI file
See Also
See other functions in this section
Availability
In release 6.4.0
Routine to get the 'PCON' confidence tag offset in an ABI file.
Synopsis
Prototype
ajint ajSeqABIGetConfidOffset (
AjPFile fp
);
Type | Name | Read/Write | Description |
AjPFile | fp | Modify | ABI format file |
ajint | | RETURN | 'PCON' tag offset in an ABI file |
Input & Output
fp: | (Modify) | ABI format file |
Returns
ajint: | 'PCON' tag offset in an ABI file |
Description
Routine to get the 'PCON' confidence tag offset in an ABI file.
See Also
See other functions in this section
Availability
In release 6.4.0
Routine to get the "FWO" tag, field order ("GATC"), tag.
Synopsis
Prototype
ajint ajSeqABIGetFWO (
AjPFile fp
);
Type | Name | Read/Write | Description |
AjPFile | fp | Modify | ABI format file |
ajint | | RETURN | field order |
Input & Output
fp: | (Modify) | ABI format file |
Returns
Description
Routine to get the "FWO" tag, field order ("GATC"), tag.
See Also
See other functions in this section
Availability
In release 6.4.0
Routine to get the primer offset in an ABI file.
Synopsis
Prototype
ajint ajSeqABIGetPrimerOffset (
AjPFile fp
);
Type | Name | Read/Write | Description |
AjPFile | fp | Modify | ABI format file |
ajint | | RETURN | primer offset |
Input & Output
fp: | (Modify) | ABI format file |
Returns
Description
Routine to get the primer offset in an ABI file.
See Also
See other functions in this section
Availability
In release 6.4.0
Routine to get the primer position in an ABI file.
Synopsis
Prototype
ajint ajSeqABIGetPrimerPosition (
AjPFile fp
);
Type | Name | Read/Write | Description |
AjPFile | fp | Modify | ABI format file |
ajint | | RETURN | primer position |
Input & Output
fp: | (Modify) | ABI format file |
Returns
Description
Routine to get the primer position in an ABI file.
See Also
See other functions in this section
Availability
In release 6.4.0
Get the processed trace data ('DATA' tag) offset in an ABI file.
Synopsis
Prototype
AjBool ajSeqABIGetTraceOffset (
AjPFile fp,
ajlong* Offset
);
Type | Name | Read/Write | Description |
AjPFile | fp | Modify | ABI format file |
ajlong* | Offset | Output | trace data offset, used in ajSeqABIGetData |
AjBool | | RETURN | ajTrue on success |
Output
Offset: | (Output) | trace data offset, used in ajSeqABIGetData |
Input & Output
fp: | (Modify) | ABI format file |
Returns
Description
Get the processed trace data ('DATA' tag) offset in an ABI file.
See Also
See other functions in this section
Availability
In release 6.4.0
Get the sample name from an ABI trace file.
Synopsis
Prototype
AjBool ajSeqABISampleName (
AjPFile fp,
AjPStr* sample
);
Type | Name | Read/Write | Description |
AjPFile | fp | Modify | ABI format file |
AjPStr* | sample | Output | sample name |
AjBool | | RETURN | true if read successfully |
Output
sample: | (Output) | sample name |
Input & Output
fp: | (Modify) | ABI format file |
Returns
AjBool: | true if read successfully |
Description
Get the sample name from an ABI trace file.
See Also
See other functions in this section
Availability
In release 6.4.0