ajnexus.c
Parses a nexus buffered file
Synopsis
Prototype
AjPNexus ajNexusParse (
AjPFilebuff buff
);
Type | Name | Read/Write | Description |
AjPFilebuff | buff | Modify | Input buffered file |
AjPNexus | | RETURN | Nexus data object |
Input & Output
buff: | (Modify) | Input buffered file |
Returns
AjPNexus: | Nexus data object |
Description
Parses a nexus buffered file
See Also
See other functions in this section
Availability
In release 6.4.0
Constructor for AjPNexus
Synopsis
Prototype
AjPNexus ajNexusNew (
void
);
Type | Name | Read/Write | Description |
AjPNexus | | RETURN | New AjPNexus object |
Returns
AjPNexus: | New AjPNexus object |
Description
Constructor for AjPNexus
See Also
See other functions in this section
Availability
In release 6.4.0
Destructor for AjPNexus
Synopsis
Prototype
void ajNexusDel (
AjPNexus* pthys
);
Type | Name | Read/Write | Description |
AjPNexus* | pthys | Delete | AjPNexus object |
void | | RETURN | |
Output
pthys: | (Delete) | AjPNexus object |
Returns
Description
Destructor for AjPNexus
See Also
See other functions in this section
Availability
In release 6.4.0
Reports the contents of a Nexus object to the debug file
Synopsis
Prototype
void ajNexusTrace (
const AjPNexus thys
);
Type | Name | Read/Write | Description |
const AjPNexus | thys | Input | nexus object |
void | | RETURN | |
Input
Returns
Description
Reports the contents of a Nexus object to the debug file
See Also
See other functions in this section
Availability
In release 6.4.0
Returns the taxa as a string array
Synopsis
Prototype
AjPStr* ajNexusGetTaxa (
const AjPNexus thys
);
Type | Name | Read/Write | Description |
const AjPNexus | thys | Input | Nexus object |
AjPStr* | | RETURN | taxa string array, NULL terminated, read only |
Input
Returns
AjPStr*: | taxa string array, NULL terminated, read only |
Description
Returns the taxa as a string array
See Also
See other functions in this section
Availability
In release 6.4.0
Returns the number of taxa
Synopsis
Prototype
ajuint ajNexusGetNtaxa (
const AjPNexus thys
);
Type | Name | Read/Write | Description |
const AjPNexus | thys | Input | Nexus object |
ajuint | | RETURN | Number of taxa |
Input
Returns
Description
Returns the number of taxa
See Also
See other functions in this section
Availability
In release 6.4.0
Returns the sequences from the character matrix as a string array.
Sequences are in the same order as the taxa returned by ajNexusGetTaxa.
Sequences may need to be set if not already done.
Synopsis
Prototype
AjPStr* ajNexusGetSequences (
AjPNexus thys
);
Type | Name | Read/Write | Description |
AjPNexus | thys | Modify | Nexus object |
AjPStr* | | RETURN | taxa string array, NULL terminated, read only |
Input & Output
thys: | (Modify) | Nexus object |
Returns
AjPStr*: | taxa string array, NULL terminated, read only |
Description
Returns the sequences from the character matrix as a string array.
Sequences are in the same order as the taxa returned by ajNexusGetTaxa.
Sequences may need to be set if not already done.
See Also
See other functions in this section
Availability
In release 6.4.0