ajmart.c
Initialise mart query object
Synopsis
Prototype
AjPMartquery ajMartqueryNew (
void
);
Type | Name | Read/Write | Description |
AjPMartquery | | RETURN | Mart query object |
Returns
AjPMartquery: | Mart query object |
Description
Initialise mart query object
See Also
See other functions in this section
Availability
In release 6.4.0
Delete Mart query object
Synopsis
Prototype
void ajMartqueryDel (
AjPMartquery* thys
);
Type | Name | Read/Write | Description |
AjPMartquery* | thys | Modify | Mary query object |
void | | RETURN | |
Input & Output
thys: | (Modify) | Mary query object |
Returns
Description
Delete Mart query object
See Also
See other functions in this section
Availability
In release 6.4.0
Delete Mart query object given a seqin object
Synopsis
Prototype
void ajMartquerySeqinFree (
AjPSeqin thys
);
Type | Name | Read/Write | Description |
AjPSeqin | thys | Modify | Seqin query object |
void | | RETURN | |
Input & Output
thys: | (Modify) | Seqin query object |
Returns
Description
Delete Mart query object given a seqin object
See Also
See other functions in this section
Availability
In release 6.4.0
Create object for holding Mart location data read from XML
Synopsis
Prototype
AjPMartLoc ajMartLocNew (
void
);
Type | Name | Read/Write | Description |
AjPMartLoc | | RETURN | MartLoc object |
Returns
AjPMartLoc: | MartLoc object |
Description
Create object for holding Mart location data read from XML
See Also
See other functions in this section
Availability
In release 6.4.0
Delete a Mart Location object
Synopsis
Prototype
void ajMartLocDel (
AjPMartLoc* thys
);
Type | Name | Read/Write | Description |
AjPMartLoc* | thys | Modify | MartLoc object |
void | | RETURN | |
Input & Output
thys: | (Modify) | MartLoc object |
Returns
Description
Delete a Mart Location object
See Also
See other functions in this section
Availability
In release 6.4.0
Create object for holding Mart Dataset read from XML (or tab-sep list)
Synopsis
Prototype
AjPMartDataset ajMartDatasetNew (
void
);
Type | Name | Read/Write | Description |
AjPMartDataset | | RETURN | MartDataset object |
Returns
AjPMartDataset: | MartDataset object |
Description
Create object for holding Mart Dataset read from XML (or tab-sep list)
See Also
See other functions in this section
Availability
In release 6.4.0
Delete a Mart Dataset object
Synopsis
Prototype
void ajMartDatasetDel (
AjPMartDataset* thys
);
Type | Name | Read/Write | Description |
AjPMartDataset* | thys | Modify | MartDataset object |
void | | RETURN | |
Input & Output
thys: | (Modify) | MartDataset object |
Returns
Description
Delete a Mart Dataset object
See Also
See other functions in this section
Availability
In release 6.4.0
Create object for holding Mart Attributes read from XML (or tab-sep list)
Synopsis
Prototype
AjPMartAttribute ajMartAttributeNew (
void
);
Type | Name | Read/Write | Description |
AjPMartAttribute | | RETURN | MartAttribute object |
Returns
AjPMartAttribute: | MartAttribute object |
Description
Create object for holding Mart Attributes read from XML (or tab-sep list)
See Also
See other functions in this section
Availability
In release 6.4.0
Delete a Mart Attribute object
Synopsis
Prototype
void ajMartAttributeDel (
AjPMartAttribute* thys
);
Type | Name | Read/Write | Description |
AjPMartAttribute* | thys | Modify | MartAttribute object |
void | | RETURN | |
Input & Output
thys: | (Modify) | MartAttribute object |
Returns
Description
Delete a Mart Attribute object
See Also
See other functions in this section
Availability
In release 6.4.0
Create object for holding Mart Filters read from XML (or tab-sep list)
Synopsis
Prototype
AjPMartFilter ajMartFilterNew (
void
);
Type | Name | Read/Write | Description |
AjPMartFilter | | RETURN | MartFilter object |
Returns
AjPMartFilter: | MartFilter object |
Description
Create object for holding Mart Filters read from XML (or tab-sep list)
See Also
See other functions in this section
Availability
In release 6.4.0
Delete a Mart Filter object
Synopsis
Prototype
void ajMartFilterDel (
AjPMartFilter* thys
);
Type | Name | Read/Write | Description |
AjPMartFilter* | thys | Modify | MartFilter object |
void | | RETURN | |
Input & Output
thys: | (Modify) | MartFilter object |
Returns
Description
Delete a Mart Filter object
See Also
See other functions in this section
Availability
In release 6.4.0
Create object for query dataset info
Synopsis
Prototype
AjPMartdsinfo ajMartDsinfoNew (
void
);
Type | Name | Read/Write | Description |
AjPMartdsinfo | | RETURN | Martdsinfo object |
Returns
AjPMartdsinfo: | Martdsinfo object |
Description
Create object for query dataset info
See Also
See other functions in this section
Availability
In release 6.4.0
Delete a Mart Dsinfo object
Synopsis
Prototype
void ajMartDsinfoDel (
AjPMartdsinfo* thys
);
Type | Name | Read/Write | Description |
AjPMartdsinfo* | thys | Modify | Mart Dsinfo object |
void | | RETURN | |
Input & Output
thys: | (Modify) | Mart Dsinfo object |
Returns
Description
Delete a Mart Dsinfo object
See Also
See other functions in this section
Availability
In release 6.4.0
Create object for query info
Synopsis
Prototype
AjPMartqinfo ajMartQinfoNew (
ajuint n
);
Type | Name | Read/Write | Description |
ajuint | n | Input | number of datasets |
AjPMartqinfo | | RETURN | Martqinfo object |
Input
n: | (Input) | number of datasets |
Returns
AjPMartqinfo: | Martqinfo object |
Description
Create object for query info
See Also
See other functions in this section
Availability
In release 6.4.0
Delete a Mart qinfo object
Synopsis
Prototype
void ajMartQinfoDel (
AjPMartqinfo* thys
);
Type | Name | Read/Write | Description |
AjPMartqinfo* | thys | Modify | Mart Qinfo object |
void | | RETURN | |
Input & Output
thys: | (Modify) | Mart Qinfo object |
Returns
Description
Delete a Mart qinfo object
See Also
See other functions in this section
Availability
In release 6.4.0
Read a mart registry file
Synopsis
Prototype
AjBool ajMartregistryParse (
AjPSeqin seqin
);
Type | Name | Read/Write | Description |
AjPSeqin | seqin | Modify | Seqin object holding mart info |
AjBool | | RETURN | True on success |
Input & Output
seqin: | (Modify) | Seqin object holding mart info |
Returns
Description
Read a mart registry file
See Also
See other functions in this section
Availability
In release 6.4.0
Return contents of a mart registry
Synopsis
Prototype
AjBool ajMartGetRegistry (
AjPSeqin seqin
);
Type | Name | Read/Write | Description |
AjPSeqin | seqin | Modify | "Sequence" input object |
AjBool | | RETURN | true on success |
Input & Output
seqin: | (Modify) | "Sequence" input object |
Returns
Description
Return contents of a mart registry
See Also
See other functions in this section
Availability
In release 6.4.0
Return datasets given a mart registry and a mart name within it
Synopsis
Prototype
AjBool ajMartGetDatasets (
AjPSeqin seqin,
const AjPStr mart
);
Type | Name | Read/Write | Description |
AjPSeqin | seqin | Modify | "Sequence" input object |
const AjPStr | mart | Input | "Sequence" mart name |
AjBool | | RETURN | true on success |
Input
mart: | (Input) | "Sequence" mart name |
Input & Output
seqin: | (Modify) | "Sequence" input object |
Returns
Description
Return datasets given a mart registry and a mart name within it
See Also
See other functions in this section
Availability
In release 6.4.0
Read a mart dataset buffer
Synopsis
Prototype
AjBool ajMartdatasetParse (
AjPSeqin seqin
);
Type | Name | Read/Write | Description |
AjPSeqin | seqin | Modify | Seqin object holding mart info |
AjBool | | RETURN | True on success |
Input & Output
seqin: | (Modify) | Seqin object holding mart info |
Returns
Description
Read a mart dataset buffer
See Also
See other functions in this section
Availability
In release 6.4.0
Return attributes given a mart dataset and a mart host/path/port
Synopsis
Prototype
AjBool ajMartGetAttributes (
AjPSeqin seqin,
const AjPStr dataset
);
Type | Name | Read/Write | Description |
AjPSeqin | seqin | Modify | "Sequence" input object |
const AjPStr | dataset | Input | "Sequence" mart dataset name |
AjBool | | RETURN | true on success |
Input
dataset: | (Input) | "Sequence" mart dataset name |
Input & Output
seqin: | (Modify) | "Sequence" input object |
Returns
Description
Return attributes given a mart dataset and a mart host/path/port
See Also
See other functions in this section
Availability
In release 6.4.0
Retry an attribute fetch using the main biomart registry site
This routine should only be called after an ajMartGetAttribute
call followed by a ajMartattributesParse has returned an error.
That typically means that an external server has not provided all
the attributes fields, possibly due to outdated biomart software.
As the main biomart registry site contains all the metadata for
external marts (but not the marts themselves) it can be
queried using the same dataset. The true mart server should always
be tried first to minimise load on the main biomart site
Synopsis
Prototype
AjBool ajMartGetAttributesRetry (
AjPSeqin seqin,
const AjPStr dataset
);
Type | Name | Read/Write | Description |
AjPSeqin | seqin | Modify | "Sequence" input object |
const AjPStr | dataset | Input | "Sequence" mart dataset name |
AjBool | | RETURN | true on success |
Input
dataset: | (Input) | "Sequence" mart dataset name |
Input & Output
seqin: | (Modify) | "Sequence" input object |
Returns
Description
Retry an attribute fetch using the main biomart registry site
This routine should only be called after an ajMartGetAttribute
call followed by a ajMartattributesParse has returned an error.
That typically means that an external server has not provided all
the attributes fields, possibly due to outdated biomart software.
As the main biomart registry site contains all the metadata for
external marts (but not the marts themselves) it can be
queried using the same dataset. The true mart server should always
be tried first to minimise load on the main biomart site
See Also
See other functions in this section
Availability
In release 6.4.0
Return attributes given a mart dataset, a mart host/path/port and a
schemaname.
This function will be deleted once virtual schemas
are phased out. Use with caution.
Synopsis
Prototype
AjBool ajMartGetAttributesSchema (
AjPSeqin seqin,
const AjPStr dataset,
const AjPStr schema
);
Type | Name | Read/Write | Description |
AjPSeqin | seqin | Modify | "Sequence" input object |
const AjPStr | dataset | Input | "Sequence" mart dataset name |
const AjPStr | schema | Input | Schema name |
AjBool | | RETURN | true on success |
Input
dataset: | (Input) | "Sequence" mart dataset name |
schema: | (Input) | Schema name |
Input & Output
seqin: | (Modify) | "Sequence" input object |
Returns
Description
Return attributes given a mart dataset, a mart host/path/port and a
schemaname.
This function will be deleted once virtual schemas
are phased out. Use with caution.
See Also
See other functions in this section
Availability
In release 6.4.0
Read a mart attributes buffer
Synopsis
Prototype
AjBool ajMartattributesParse (
AjPSeqin seqin
);
Type | Name | Read/Write | Description |
AjPSeqin | seqin | Modify | Seqin object holding mart info |
AjBool | | RETURN | True on success |
Input & Output
seqin: | (Modify) | Seqin object holding mart info |
Returns
Description
Read a mart attributes buffer
See Also
See other functions in this section
Availability
In release 6.4.0
Return filters given a mart dataset and a mart host/path/port
Synopsis
Prototype
AjBool ajMartGetFilters (
AjPSeqin seqin,
const AjPStr dataset
);
Type | Name | Read/Write | Description |
AjPSeqin | seqin | Modify | "Sequence" input object |
const AjPStr | dataset | Input | "Sequence" mart dataset name |
AjBool | | RETURN | true on success |
Input
dataset: | (Input) | "Sequence" mart dataset name |
Input & Output
seqin: | (Modify) | "Sequence" input object |
Returns
Description
Return filters given a mart dataset and a mart host/path/port
See Also
See other functions in this section
Availability
In release 6.4.0
Return filters given a mart dataset, a mart host/path/port and a schema
Synopsis
Prototype
AjBool ajMartGetFiltersSchema (
AjPSeqin seqin,
const AjPStr dataset,
const AjPStr schema
);
Type | Name | Read/Write | Description |
AjPSeqin | seqin | Modify | "Sequence" input object |
const AjPStr | dataset | Input | "Sequence" mart dataset name |
const AjPStr | schema | Input | "Sequence" mart schema name |
AjBool | | RETURN | true on success |
Input
dataset: | (Input) | "Sequence" mart dataset name |
schema: | (Input) | "Sequence" mart schema name |
Input & Output
seqin: | (Modify) | "Sequence" input object |
Returns
Description
Return filters given a mart dataset, a mart host/path/port and a schema
See Also
See other functions in this section
Availability
In release 6.4.0
Retry a filters fetch using the main biomart registry site
This routine should only be called after an ajMartGetFilters
call followed by a ajMartfiltersParse has returned an error.
That typically means that an external server has not provided all
the filters fields, possibly due to outdated biomart software.
As the main biomart registry site contains all the metadata for
external marts (but not the marts themselves) it can be
queried using the same dataset. The true mart server should always
be tried first to minimise load on the main biomart site
Synopsis
Prototype
AjBool ajMartGetFiltersRetry (
AjPSeqin seqin,
const AjPStr dataset
);
Type | Name | Read/Write | Description |
AjPSeqin | seqin | Modify | "Sequence" input object |
const AjPStr | dataset | Input | "Sequence" mart dataset name |
AjBool | | RETURN | true on success |
Input
dataset: | (Input) | "Sequence" mart dataset name |
Input & Output
seqin: | (Modify) | "Sequence" input object |
Returns
Description
Retry a filters fetch using the main biomart registry site
This routine should only be called after an ajMartGetFilters
call followed by a ajMartfiltersParse has returned an error.
That typically means that an external server has not provided all
the filters fields, possibly due to outdated biomart software.
As the main biomart registry site contains all the metadata for
external marts (but not the marts themselves) it can be
queried using the same dataset. The true mart server should always
be tried first to minimise load on the main biomart site
See Also
See other functions in this section
Availability
In release 6.4.0
Parse a mart filters buffer
Synopsis
Prototype
AjBool ajMartfiltersParse (
AjPSeqin seqin
);
Type | Name | Read/Write | Description |
AjPSeqin | seqin | Modify | Seqin object holding mart info |
AjBool | | RETURN | True on success |
Input & Output
seqin: | (Modify) | Seqin object holding mart info |
Returns
Description
Parse a mart filters buffer
See Also
See other functions in this section
Availability
In release 6.4.0
Associate filters with a given attribute table
Synopsis
Prototype
AjBool ajMartFilterMatch (
AjPTable atab,
const AjPMartFilter filt
);
Type | Name | Read/Write | Description |
AjPTable | atab | Modify | Attribute table |
const AjPMartFilter | filt | Input | filters |
AjBool | | RETURN | True on success |
Input
Input & Output
atab: | (Modify) | Attribute table |
Returns
Description
Associate filters with a given attribute table
See Also
See other functions in this section
Availability
In release 6.4.0
Associate filters with attributes thgat can use them
Synopsis
Prototype
AjBool ajMartAssociate (
AjPSeqin seqin
);
Type | Name | Read/Write | Description |
AjPSeqin | seqin | Modify | Seqin object holding mart info |
AjBool | | RETURN | True on success |
Input & Output
seqin: | (Modify) | Seqin object holding mart info |
Returns
Description
Associate filters with attributes thgat can use them
See Also
See other functions in this section
Availability
In release 6.4.0
Produce XML from an AjPMartqinfo object
Synopsis
Prototype
void ajMartMakeQueryXml (
const AjPMartqinfo qinfo,
AjPSeqin seqin
);
Type | Name | Read/Write | Description |
const AjPMartqinfo | qinfo | Input | Mart qinfo object |
AjPSeqin | seqin | Modify | Seqin object |
void | | RETURN | |
Input
qinfo: | (Input) | Mart qinfo object |
Input & Output
seqin: | (Modify) | Seqin object |
Returns
Description
Produce XML from an AjPMartqinfo object
See Also
See other functions in this section
Availability
In release 6.4.0
Send a query, given biomart query xml, to a mart server host/path/port
Synopsis
Prototype
AjBool ajMartSendQuery (
AjPSeqin seqin
);
Type | Name | Read/Write | Description |
AjPSeqin | seqin | Modify | "Sequence" input object |
AjBool | | RETURN | true on success |
Input & Output
seqin: | (Modify) | "Sequence" input object |
Returns
Description
Send a query, given biomart query xml, to a mart server host/path/port
See Also
See other functions in this section
Availability
In release 6.4.0
Return the Registry host name
Synopsis
Prototype
const AjPStr ajMartGetReghost (
const AjPSeqin seqin
);
Type | Name | Read/Write | Description |
const AjPSeqin | seqin | Input | Seqin object |
const AjPStr | | RETURN | Registry host name or NULL |
Input
seqin: | (Input) | Seqin object |
Returns
const AjPStr: | Registry host name or NULL |
Description
Return the Registry host name
See Also
See other functions in this section
Availability
In release 6.4.0
Return the Registry path name
Synopsis
Prototype
const AjPStr ajMartGetRegpath (
const AjPSeqin seqin
);
Type | Name | Read/Write | Description |
const AjPSeqin | seqin | Input | Seqin object |
const AjPStr | | RETURN | Registry host name or NULL |
Input
seqin: | (Input) | Seqin object |
Returns
const AjPStr: | Registry host name or NULL |
Description
Return the Registry path name
See Also
See other functions in this section
Availability
In release 6.4.0
Return the Registry port
Synopsis
Prototype
ajuint ajMartGetRegport (
const AjPSeqin seqin
);
Type | Name | Read/Write | Description |
const AjPSeqin | seqin | Input | Seqin object |
ajuint | | RETURN | Registry port or 0 |
Input
seqin: | (Input) | Seqin object |
Returns
ajuint: | Registry port or 0 |
Description
Return the Registry port
See Also
See other functions in this section
Availability
In release 6.4.0
Return the Mart host name
Synopsis
Prototype
const AjPStr ajMartGetMarthost (
const AjPSeqin seqin
);
Type | Name | Read/Write | Description |
const AjPSeqin | seqin | Input | Seqin object |
const AjPStr | | RETURN | Mart host name or NULL |
Input
seqin: | (Input) | Seqin object |
Returns
const AjPStr: | Mart host name or NULL |
Description
Return the Mart host name
See Also
See other functions in this section
Availability
In release 6.4.0
Return the Mart path name
Synopsis
Prototype
const AjPStr ajMartGetMartpath (
const AjPSeqin seqin
);
Type | Name | Read/Write | Description |
const AjPSeqin | seqin | Input | Seqin object |
const AjPStr | | RETURN | Mart host name or NULL |
Input
seqin: | (Input) | Seqin object |
Returns
const AjPStr: | Mart host name or NULL |
Description
Return the Mart path name
See Also
See other functions in this section
Availability
In release 6.4.0
Return the Mart port
Synopsis
Prototype
ajuint ajMartGetMartport (
const AjPSeqin seqin
);
Type | Name | Read/Write | Description |
const AjPSeqin | seqin | Input | Seqin object |
ajuint | | RETURN | Mart port or 0 |
Input
seqin: | (Input) | Seqin object |
Returns
Description
Return the Mart port
See Also
See other functions in this section
Availability
In release 6.4.0
Set the Registry host name
Synopsis
Prototype
AjBool ajMartSetReghostC (
AjPSeqin seqin,
const char* reghost
);
Type | Name | Read/Write | Description |
AjPSeqin | seqin | Modify | Seqin object |
const char* | reghost | Input | Registry name |
AjBool | | RETURN | True on success |
Input
reghost: | (Input) | Registry name |
Input & Output
seqin: | (Modify) | Seqin object |
Returns
Description
Set the Registry host name
See Also
See other functions in this section
Availability
In release 6.4.0
Return the Registry path name
Synopsis
Prototype
AjBool ajMartSetRegpathC (
AjPSeqin seqin,
const char* regpath
);
Type | Name | Read/Write | Description |
AjPSeqin | seqin | Modify | Seqin object |
const char* | regpath | Input | Registry path |
AjBool | | RETURN | True on success |
Input
regpath: | (Input) | Registry path |
Input & Output
seqin: | (Modify) | Seqin object |
Returns
Description
Return the Registry path name
See Also
See other functions in this section
Availability
In release 6.4.0
Set the Registry host name
Synopsis
Prototype
AjBool ajMartSetReghostS (
AjPSeqin seqin,
const AjPStr reghost
);
Type | Name | Read/Write | Description |
AjPSeqin | seqin | Modify | Seqin object |
const AjPStr | reghost | Input | Registry name |
AjBool | | RETURN | True on success |
Input
reghost: | (Input) | Registry name |
Input & Output
seqin: | (Modify) | Seqin object |
Returns
Description
Set the Registry host name
See Also
See other functions in this section
Availability
In release 6.4.0
Return the Registry path name
Synopsis
Prototype
AjBool ajMartSetRegpathS (
AjPSeqin seqin,
const AjPStr regpath
);
Type | Name | Read/Write | Description |
AjPSeqin | seqin | Modify | Seqin object |
const AjPStr | regpath | Input | Registry path |
AjBool | | RETURN | True on success |
Input
regpath: | (Input) | Registry path |
Input & Output
seqin: | (Modify) | Seqin object |
Returns
Description
Return the Registry path name
See Also
See other functions in this section
Availability
In release 6.4.0
Return the Registry port
Synopsis
Prototype
AjBool ajMartSetRegport (
AjPSeqin seqin,
ajuint regport
);
Type | Name | Read/Write | Description |
AjPSeqin | seqin | Modify | Seqin object |
ajuint | regport | Input | Registry port |
AjBool | | RETURN | True on success |
Input
regport: | (Input) | Registry port |
Input & Output
seqin: | (Modify) | Seqin object |
Returns
Description
Return the Registry port
See Also
See other functions in this section
Availability
In release 6.4.0
Set the Mart host name
Synopsis
Prototype
AjBool ajMartSetMarthostC (
AjPSeqin seqin,
const char* marthost
);
Type | Name | Read/Write | Description |
AjPSeqin | seqin | Modify | Seqin object |
const char* | marthost | Input | Mart name |
AjBool | | RETURN | True on success |
Input
marthost: | (Input) | Mart name |
Input & Output
seqin: | (Modify) | Seqin object |
Returns
Description
Set the Mart host name
See Also
See other functions in this section
Availability
In release 6.4.0
Set the Mart path name
Synopsis
Prototype
AjBool ajMartSetMartpathC (
AjPSeqin seqin,
const char* martpath
);
Type | Name | Read/Write | Description |
AjPSeqin | seqin | Modify | Seqin object |
const char* | martpath | Input | Mart path |
AjBool | | RETURN | True on success |
Input
martpath: | (Input) | Mart path |
Input & Output
seqin: | (Modify) | Seqin object |
Returns
Description
Set the Mart path name
See Also
See other functions in this section
Availability
In release 6.4.0
Set the Mart host name
Synopsis
Prototype
AjBool ajMartSetMarthostS (
AjPSeqin seqin,
const AjPStr marthost
);
Type | Name | Read/Write | Description |
AjPSeqin | seqin | Modify | Seqin object |
const AjPStr | marthost | Input | Mart name |
AjBool | | RETURN | True on success |
Input
marthost: | (Input) | Mart name |
Input & Output
seqin: | (Modify) | Seqin object |
Returns
Description
Set the Mart host name
See Also
See other functions in this section
Availability
In release 6.4.0
Set the Mart path name
Synopsis
Prototype
AjBool ajMartSetMartpathS (
AjPSeqin seqin,
const AjPStr martpath
);
Type | Name | Read/Write | Description |
AjPSeqin | seqin | Modify | Seqin object |
const AjPStr | martpath | Input | Mart path |
AjBool | | RETURN | True on success |
Input
martpath: | (Input) | Mart path |
Input & Output
seqin: | (Modify) | Seqin object |
Returns
Description
Set the Mart path name
See Also
See other functions in this section
Availability
In release 6.4.0
Set the Mart port
Synopsis
Prototype
AjBool ajMartSetMartport (
AjPSeqin seqin,
ajuint martport
);
Type | Name | Read/Write | Description |
AjPSeqin | seqin | Modify | Seqin object |
ajuint | martport | Input | Mart port |
AjBool | | RETURN | True on success |
Input
martport: | (Input) | Mart port |
Input & Output
seqin: | (Modify) | Seqin object |
Returns
Description
Set the Mart port
See Also
See other functions in this section
Availability
In release 6.4.0
Try to fill in missing registry fields
Synopsis
Prototype
void ajMartFixRegistry (
AjPSeqin seqin
);
Type | Name | Read/Write | Description |
AjPSeqin | seqin | Modify | Seqin object |
void | | RETURN | |
Input & Output
seqin: | (Modify) | Seqin object |
Returns
Description
Try to fill in missing registry fields
See Also
See other functions in this section
Availability
In release 6.4.0
Try to fill in missing mart fields
Synopsis
Prototype
void ajMartFixMart (
AjPSeqin seqin
);
Type | Name | Read/Write | Description |
AjPSeqin | seqin | Modify | Seqin object |
void | | RETURN | True if valid |
Input & Output
seqin: | (Modify) | Seqin object |
Returns
Description
Try to fill in missing mart fields
See Also
See other functions in this section
Availability
In release 6.4.0
Add a mart query object to a seqin object
Synopsis
Prototype
void ajMartAttachMartquery (
AjPSeqin seqin,
AjPMartquery mq
);
Type | Name | Read/Write | Description |
AjPSeqin | seqin | Modify | Seqin object |
AjPMartquery | mq | Modify | Martquery object |
void | | RETURN | |
Input & Output
seqin: | (Modify) | Seqin object |
mq: | (Modify) | Martquery object |
Returns
Description
Add a mart query object to a seqin object
See Also
See other functions in this section
Availability
In release 6.4.0
Return a seqin Query pointer
Synopsis
Prototype
AjPMartquery ajMartGetMartqueryPtr (
const AjPSeqin seqin
);
Type | Name | Read/Write | Description |
const AjPSeqin | seqin | Input | Seqin object |
AjPMartquery | | RETURN | Martquery |
Input
seqin: | (Input) | Seqin object |
Returns
Description
Return a seqin Query pointer
See Also
See other functions in this section
Availability
In release 6.4.0
Reentrant strtok that disallows tokenisation at delimiter
characters if they are within quotation chracters
e.g. tokenisation of -token1="a,b,c",-token2
will yield -token1="a,b,c" and -token2
if the delimstr contains ',' and the quotstr contains '"'
The source string is unchanged
Synopsis
Prototype
char* ajStrtokQuotR (
const char* srcstr,
const char* delimstr,
const char* quotstr,
const char** ptrptr,
AjPStr* buf
);
Type | Name | Read/Write | Description |
const char* | srcstr | Input | Source string |
const char* | delimstr | Input | Delimiter string |
const char* | quotstr | Input | Allowable quotes(s) |
const char** | ptrptr | Input | Saved position in srcstr |
AjPStr* | buf | Output | Results buffer (the token) |
char* | | RETURN | Pointer to start of token (in buf) or NULL |
Input
srcstr: | (Input) | Source string |
delimstr: | (Input) | Delimiter string |
quotstr: | (Input) | Allowable quotes(s) |
ptrptr: | (Input) | Saved position in srcstr |
Output
buf: | (Output) | Results buffer (the token) |
Returns
char*: | Pointer to start of token (in buf) or NULL |
Description
Reentrant strtok that disallows tokenisation at delimiter
characters if they are within quotation chracters
e.g. tokenisation of -token1="a,b,c",-token2
will yield -token1="a,b,c" and -token2
if the delimstr contains ',' and the quotstr contains '"'
The source string is unchanged
See Also
See other functions in this section
Availability
In release 6.4.0
Parses attribute and filter strings and load a given Qinfo object
with them
Synopsis
Prototype
AjBool ajMartParseParameters (
AjPMartqinfo qinfo,
const AjPStr atts,
const AjPStr filts,
ajuint idx
);
Type | Name | Read/Write | Description |
AjPMartqinfo | qinfo | Modify | Query object |
const AjPStr | atts | Input | Attributes |
const AjPStr | filts | Input | Filters |
ajuint | idx | Input | dataset index |
AjBool | | RETURN | False on parsing or loading error |
Input
atts: | (Input) | Attributes |
filts: | (Input) | Filters |
idx: | (Input) | dataset index |
Input & Output
qinfo: | (Modify) | Query object |
Returns
AjBool: | False on parsing or loading error |
Description
Parses attribute and filter strings and load a given Qinfo object
with them
See Also
See other functions in this section
Availability
In release 6.4.0
Set the Qinfo Virtual Schema field
Synopsis
Prototype
void ajMartSetQuerySchemaC (
AjPMartqinfo qinfo,
const char* schema
);
Type | Name | Read/Write | Description |
AjPMartqinfo | qinfo | Modify | Seqin object |
const char* | schema | Input | Virtual schema |
void | | RETURN | |
Input
schema: | (Input) | Virtual schema |
Input & Output
qinfo: | (Modify) | Seqin object |
Returns
Description
Set the Qinfo Virtual Schema field
See Also
See other functions in this section
Availability
In release 6.4.0
Set the Qinfo Software Version field
Synopsis
Prototype
void ajMartSetQueryVersionC (
AjPMartqinfo qinfo,
const char* version
);
Type | Name | Read/Write | Description |
AjPMartqinfo | qinfo | Modify | Seqin object |
const char* | version | Input | Version |
void | | RETURN | |
Input
Input & Output
qinfo: | (Modify) | Seqin object |
Returns
Description
Set the Qinfo Software Version field
See Also
See other functions in this section
Availability
In release 6.4.0
Set the Qinfo Format field
Synopsis
Prototype
void ajMartSetQueryFormatC (
AjPMartqinfo qinfo,
const char* format
);
Type | Name | Read/Write | Description |
AjPMartqinfo | qinfo | Modify | Seqin object |
const char* | format | Input | Format |
void | | RETURN | |
Input
Input & Output
qinfo: | (Modify) | Seqin object |
Returns
Description
Set the Qinfo Format field
See Also
See other functions in this section
Availability
In release 6.4.0
Set the Qinfo Count (unique ID count only) field
Synopsis
Prototype
void ajMartSetQueryCount (
AjPMartqinfo qinfo,
AjBool count
);
Type | Name | Read/Write | Description |
AjPMartqinfo | qinfo | Modify | Seqin object |
AjBool | count | Input | count |
void | | RETURN | |
Input
Input & Output
qinfo: | (Modify) | Seqin object |
Returns
Description
Set the Qinfo Count (unique ID count only) field
See Also
See other functions in this section
Availability
In release 6.4.0
Set the Qinfo Header (column title) field
Synopsis
Prototype
void ajMartSetQueryHeader (
AjPMartqinfo qinfo,
AjBool header
);
Type | Name | Read/Write | Description |
AjPMartqinfo | qinfo | Modify | Seqin object |
AjBool | header | Input | Header |
void | | RETURN | |
Input
Input & Output
qinfo: | (Modify) | Seqin object |
Returns
Description
Set the Qinfo Header (column title) field
See Also
See other functions in this section
Availability
In release 6.4.0
Set the Qinfo Unique rows field
Synopsis
Prototype
void ajMartSetQueryUnique (
AjPMartqinfo qinfo,
AjBool unique
);
Type | Name | Read/Write | Description |
AjPMartqinfo | qinfo | Modify | Seqin object |
AjBool | unique | Input | Unique |
void | | RETURN | |
Input
Input & Output
qinfo: | (Modify) | Seqin object |
Returns
Description
Set the Qinfo Unique rows field
See Also
See other functions in this section
Availability
In release 6.4.0
Set the Qinfo Completion Stamp ([success]) field
Synopsis
Prototype
void ajMartSetQueryStamp (
AjPMartqinfo qinfo,
AjBool stamp
);
Type | Name | Read/Write | Description |
AjPMartqinfo | qinfo | Modify | Seqin object |
AjBool | stamp | Input | Stamp |
void | | RETURN | |
Input
Input & Output
qinfo: | (Modify) | Seqin object |
Returns
Description
Set the Qinfo Completion Stamp ([success]) field
See Also
See other functions in this section
Availability
In release 6.4.0
Set the Qinfo verification field to test that given atts & filts
exist in the dataset
Synopsis
Prototype
void ajMartSetQueryVerify (
AjPMartqinfo qinfo,
AjBool verify
);
Type | Name | Read/Write | Description |
AjPMartqinfo | qinfo | Modify | Seqin object |
AjBool | verify | Input | verify flag |
void | | RETURN | |
Input
verify: | (Input) | verify flag |
Input & Output
qinfo: | (Modify) | Seqin object |
Returns
Description
Set the Qinfo verification field to test that given atts & filts
exist in the dataset
See Also
See other functions in this section
Availability
In release 6.4.0
Set a Qinfo dataset name field
Synopsis
Prototype
void ajMartSetQueryDatasetName (
AjPMartqinfo qinfo,
const AjPStr name,
ajuint idx
);
Type | Name | Read/Write | Description |
AjPMartqinfo | qinfo | Modify | Seqin object |
const AjPStr | name | Input | Name |
ajuint | idx | Input | Dataset number (0->n-1) |
void | | RETURN | |
Input
name: | (Input) | Name |
idx: | (Input) | Dataset number (0->n-1) |
Input & Output
qinfo: | (Modify) | Seqin object |
Returns
Description
Set a Qinfo dataset name field
See Also
See other functions in this section
Availability
In release 6.4.0
Set a Qinfo dataset interface field
Synopsis
Prototype
void ajMartSetQueryDatasetInterfaceC (
AjPMartqinfo qinfo,
const char* iface,
ajuint idx
);
Type | Name | Read/Write | Description |
AjPMartqinfo | qinfo | Modify | Seqin object |
const char* | iface | Input | Interface |
ajuint | idx | Input | Dataset number (0->n-1) |
void | | RETURN | |
Input
iface: | (Input) | Interface |
idx: | (Input) | Dataset number (0->n-1) |
Input & Output
qinfo: | (Modify) | Seqin object |
Returns
Description
Set a Qinfo dataset interface field
See Also
See other functions in this section
Availability
In release 6.4.0
Try to fill in missing fields and check user attributes/filters
Synopsis
Prototype
AjBool ajMartCheckQinfo (
AjPSeqin seqin,
AjPMartqinfo qinfo
);
Type | Name | Read/Write | Description |
AjPSeqin | seqin | Modify | Seqin object |
AjPMartqinfo | qinfo | Modify | Mart qinfo object |
AjBool | | RETURN | True if valid |
Input & Output
seqin: | (Modify) | Seqin object |
qinfo: | (Modify) | Mart qinfo object |
Returns
Description
Try to fill in missing fields and check user attributes/filters
See Also
See other functions in this section
Availability
In release 6.4.0
Return config info given a mart dataset and a mart host/path/port
Synopsis
Prototype
AjBool ajMartGetConfiguration (
AjPSeqin seqin,
const AjPStr dataset
);
Type | Name | Read/Write | Description |
AjPSeqin | seqin | Modify | "Sequence" input object |
const AjPStr | dataset | Input | "Sequence" mart dataset name |
AjBool | | RETURN | true on success |
Input
dataset: | (Input) | "Sequence" mart dataset name |
Input & Output
seqin: | (Modify) | "Sequence" input object |
Returns
Description
Return config info given a mart dataset and a mart host/path/port
See Also
See other functions in this section
Availability
In release 6.4.0
Parse a mart configuration buffer
Synopsis
Prototype
AjBool ajMartconfigurationParse (
AjPSeqin seqin
);
Type | Name | Read/Write | Description |
AjPSeqin | seqin | Modify | Seqin object holding mart info |
AjBool | | RETURN | True on success |
Input & Output
seqin: | (Modify) | Seqin object holding mart info |
Returns
Description
Parse a mart configuration buffer
See Also
See other functions in this section
Availability
In release 6.4.0
Sort attributes based on page name
Synopsis
Prototype
AjBool ajMartattributesPageSort (
AjPSeqin seqin
);
Type | Name | Read/Write | Description |
AjPSeqin | seqin | Modify | Seqin object holding attribute info |
AjBool | | RETURN | True on success |
Input & Output
seqin: | (Modify) | Seqin object holding attribute info |
Returns
Description
Sort attributes based on page name
See Also
See other functions in this section
Availability
In release 6.4.0
Test whether name matches any of the set of known nucleic acid
biomart terms
Synopsis
Prototype
AjBool ajMartNameIsNucC (
const char* name
);
Type | Name | Read/Write | Description |
const char* | name | Input | Name |
AjBool | | RETURN | True if nucleic acid name match |
Input
Returns
AjBool: | True if nucleic acid name match |
Description
Test whether name matches any of the set of known nucleic acid
biomart terms
See Also
See other functions in this section
Availability
In release 6.4.0
Test whether name matches any of the set of known protein
biomart terms
Synopsis
Prototype
AjBool ajMartNameIsProtC (
const char* name
);
Type | Name | Read/Write | Description |
const char* | name | Input | Name |
AjBool | | RETURN | True if nucleic acid name match |
Input
Returns
AjBool: | True if nucleic acid name match |
Description
Test whether name matches any of the set of known protein
biomart terms
See Also
See other functions in this section
Availability
In release 6.4.0
Test whether table 'name' value matches any of the set of known nucleic
acid biomart terms
Synopsis
Prototype
AjBool ajMartTableNameIsNuc (
const AjPTable t
);
Type | Name | Read/Write | Description |
const AjPTable | t | Input | Table |
AjBool | | RETURN | True if nucleic acid name match |
Input
Returns
AjBool: | True if nucleic acid name match |
Description
Test whether table 'name' value matches any of the set of known nucleic
acid biomart terms
See Also
See other functions in this section
Availability
In release 6.4.0
Test whether table 'name' value matches any of the set of known protein
biomart terms
Synopsis
Prototype
AjBool ajMartTableNameIsProt (
const AjPTable t
);
Type | Name | Read/Write | Description |
const AjPTable | t | Input | Table |
AjBool | | RETURN | True if protein name match |
Input
Returns
AjBool: | True if protein name match |
Description
Test whether table 'name' value matches any of the set of known protein
biomart terms
See Also
See other functions in this section
Availability
In release 6.4.0
Return an array of attribute names in the order in which
they are returned by the biomart server.
Requires that the header flag was set and that an attribute
query has previously loaded to MartAttribute field.
Synopsis
Prototype
AjPStr* ajMartCheckHeader (
AjPSeqin seqin,
AjPMartqinfo qinfo
);
Type | Name | Read/Write | Description |
AjPSeqin | seqin | Modify | Seqin object |
AjPMartqinfo | qinfo | Modify | Mart qinfo object |
AjPStr* | | RETURN | Array of attribute names terminated by a NULL entry.
or NULL if mapping cannot be done |
Input & Output
seqin: | (Modify) | Seqin object |
qinfo: | (Modify) | Mart qinfo object |
Returns
AjPStr*: | Array of attribute names terminated by a NULL entry.
or NULL if mapping cannot be done |
Description
Return an array of attribute names in the order in which
they are returned by the biomart server.
Requires that the header flag was set and that an attribute
query has previously loaded to MartAttribute field.
See Also
See other functions in this section
Availability
In release 6.4.0
Decode directory name into host/path/port
Synopsis
Prototype
void ajMartDecodeHname (
const AjPStr dir,
AjPStr* host,
AjPStr* path,
ajuint* port
);
Type | Name | Read/Write | Description |
const AjPStr | dir | Input | Encoded directory name |
AjPStr* | host | Output | Host |
AjPStr* | path | Output | Path |
ajuint* | port | Output | Port |
void | | RETURN | |
Input
dir: | (Input) | Encoded directory name |
Output
host: | (Output) | Host |
path: | (Output) | Path |
port: | (Output) | Port |
Returns
Description
Decode directory name into host/path/port
See Also
See other functions in this section
Availability
In release 6.4.0