ajmart.c


Function ajMartqueryNew

Initialise mart query object

Prototype

AjPMartquery ajMartqueryNew (
      void
);

TypeNameRead/WriteDescription
AjPMartquery RETURNMart query object

From EMBOSS 6.3.0


Function ajMartqueryDel

Delete Mart query object

Prototype

void ajMartqueryDel (
      AjPMartquery* thys
);

TypeNameRead/WriteDescription
AjPMartquery*thysModifyMary query object
void RETURN

From EMBOSS 6.3.0


Function ajMartquerySeqinFree

Delete Mart query object given a seqin object

Prototype

void ajMartquerySeqinFree (
      AjPSeqin thys
);

TypeNameRead/WriteDescription
AjPSeqinthysModifySeqin query object
void RETURN

From EMBOSS 6.3.0


Function ajMartLocNew

Create object for holding Mart location data read from XML

Prototype

AjPMartLoc ajMartLocNew (
      void
);

TypeNameRead/WriteDescription
AjPMartLoc RETURNMartLoc object

From EMBOSS 6.3.0


Function ajMartLocDel

Delete a Mart Location object

Prototype

void ajMartLocDel (
      AjPMartLoc* thys
);

TypeNameRead/WriteDescription
AjPMartLoc*thysModifyMartLoc object
void RETURN

From EMBOSS 6.3.0


Function ajMartDatasetNew

Create object for holding Mart Dataset read from XML (or tab-sep list)

Prototype

AjPMartDataset ajMartDatasetNew (
      void
);

TypeNameRead/WriteDescription
AjPMartDataset RETURNMartDataset object

From EMBOSS 6.3.0


Function ajMartDatasetDel

Delete a Mart Dataset object

Prototype

void ajMartDatasetDel (
      AjPMartDataset* thys
);

TypeNameRead/WriteDescription
AjPMartDataset*thysModifyMartDataset object
void RETURN

From EMBOSS 6.3.0


Function ajMartAttributeNew

Create object for holding Mart Attributes read from XML (or tab-sep list)

Prototype

AjPMartAttribute ajMartAttributeNew (
      void
);

TypeNameRead/WriteDescription
AjPMartAttribute RETURNMartAttribute object

From EMBOSS 6.3.0


Function ajMartAttributeDel

Delete a Mart Attribute object

Prototype

void ajMartAttributeDel (
      AjPMartAttribute* thys
);

TypeNameRead/WriteDescription
AjPMartAttribute*thysModifyMartAttribute object
void RETURN

From EMBOSS 6.3.0


Function ajMartFilterNew

Create object for holding Mart Filters read from XML (or tab-sep list)

Prototype

AjPMartFilter ajMartFilterNew (
      void
);

TypeNameRead/WriteDescription
AjPMartFilter RETURNMartFilter object

From EMBOSS 6.3.0


Function ajMartFilterDel

Delete a Mart Filter object

Prototype

void ajMartFilterDel (
      AjPMartFilter* thys
);

TypeNameRead/WriteDescription
AjPMartFilter*thysModifyMartFilter object
void RETURN

From EMBOSS 6.3.0


Function ajMartDsinfoNew

Create object for query dataset info

Prototype

AjPMartdsinfo ajMartDsinfoNew (
      void
);

TypeNameRead/WriteDescription
AjPMartdsinfo RETURNMartdsinfo object

From EMBOSS 6.3.0


Function ajMartDsinfoDel

Delete a Mart Dsinfo object

Prototype

void ajMartDsinfoDel (
      AjPMartdsinfo* thys
);

TypeNameRead/WriteDescription
AjPMartdsinfo*thysModifyMart Dsinfo object
void RETURN

From EMBOSS 6.3.0


Function ajMartQinfoNew

Create object for query info

Prototype

AjPMartqinfo ajMartQinfoNew (
      ajuint n
);

TypeNameRead/WriteDescription
ajuintnInputnumber of datasets
AjPMartqinfo RETURNMartqinfo object

From EMBOSS 6.3.0


Function ajMartQinfoDel

Delete a Mart qinfo object

Prototype

void ajMartQinfoDel (
      AjPMartqinfo* thys
);

TypeNameRead/WriteDescription
AjPMartqinfo*thysModifyMart Qinfo object
void RETURN

From EMBOSS 6.3.0


Function ajMartregistryParse

Read a mart registry file

Prototype

AjBool ajMartregistryParse (
      AjPSeqin seqin
);

TypeNameRead/WriteDescription
AjPSeqinseqinModifySeqin object holding mart info
AjBool RETURNTrue on success

From EMBOSS 6.3.0


Function ajMartGetRegistry

Return contents of a mart registry

Prototype

AjBool ajMartGetRegistry (
      AjPSeqin seqin
);

TypeNameRead/WriteDescription
AjPSeqinseqinModify"Sequence" input object
AjBool RETURNtrue on success

From EMBOSS 6.3.0


Function ajMartGetDatasets

Return datasets given a mart registry and a mart name within it

Prototype

AjBool ajMartGetDatasets (
      AjPSeqin seqin,
      const AjPStr mart
);

TypeNameRead/WriteDescription
AjPSeqinseqinModify"Sequence" input object
const AjPStrmartInput"Sequence" mart name
AjBool RETURNtrue on success

From EMBOSS 6.3.0


Function ajMartdatasetParse

Read a mart dataset buffer

Prototype

AjBool ajMartdatasetParse (
      AjPSeqin seqin
);

TypeNameRead/WriteDescription
AjPSeqinseqinModifySeqin object holding mart info
AjBool RETURNTrue on success

From EMBOSS 6.3.0


Function ajMartGetAttributes

Return attributes given a mart dataset and a mart host/path/port

Prototype

AjBool ajMartGetAttributes (
      AjPSeqin seqin,
      const AjPStr dataset
);

TypeNameRead/WriteDescription
AjPSeqinseqinModify"Sequence" input object
const AjPStrdatasetInput"Sequence" mart dataset name
AjBool RETURNtrue on success

From EMBOSS 6.3.0


Function ajMartGetAttributesRetry

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

Prototype

AjBool ajMartGetAttributesRetry (
      AjPSeqin seqin,
      const AjPStr dataset
);

TypeNameRead/WriteDescription
AjPSeqinseqinModify"Sequence" input object
const AjPStrdatasetInput"Sequence" mart dataset name
AjBool RETURNtrue on success

From EMBOSS 6.3.0


Function ajMartGetAttributesSchema

Return attributes given a mart dataset, a mart host/path/port and a schemaname.

Prototype

AjBool ajMartGetAttributesSchema (
      AjPSeqin seqin,
      const AjPStr dataset,
      const AjPStr schema
);

TypeNameRead/WriteDescription
AjPSeqinseqinModify"Sequence" input object
const AjPStrdatasetInput"Sequence" mart dataset name
const AjPStrschemaInputSchema name
AjBool RETURNtrue on success

From EMBOSS 6.3.0


Function ajMartattributesParse

Read a mart attributes buffer

Prototype

AjBool ajMartattributesParse (
      AjPSeqin seqin
);

TypeNameRead/WriteDescription
AjPSeqinseqinModifySeqin object holding mart info
AjBool RETURNTrue on success

From EMBOSS 6.3.0


Function ajMartGetFilters

Return filters given a mart dataset and a mart host/path/port

Prototype

AjBool ajMartGetFilters (
      AjPSeqin seqin,
      const AjPStr dataset
);

TypeNameRead/WriteDescription
AjPSeqinseqinModify"Sequence" input object
const AjPStrdatasetInput"Sequence" mart dataset name
AjBool RETURNtrue on success

From EMBOSS 6.3.0


Function ajMartGetFiltersSchema

Return filters given a mart dataset, a mart host/path/port and a schema

Prototype

AjBool ajMartGetFiltersSchema (
      AjPSeqin seqin,
      const AjPStr dataset,
      const AjPStr schema
);

TypeNameRead/WriteDescription
AjPSeqinseqinModify"Sequence" input object
const AjPStrdatasetInput"Sequence" mart dataset name
const AjPStrschemaInput"Sequence" mart schema name
AjBool RETURNtrue on success

From EMBOSS 6.3.0


Function ajMartGetFiltersRetry

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

Prototype

AjBool ajMartGetFiltersRetry (
      AjPSeqin seqin,
      const AjPStr dataset
);

TypeNameRead/WriteDescription
AjPSeqinseqinModify"Sequence" input object
const AjPStrdatasetInput"Sequence" mart dataset name
AjBool RETURNtrue on success

From EMBOSS 6.3.0


Function ajMartfiltersParse

Parse a mart filters buffer

Prototype

AjBool ajMartfiltersParse (
      AjPSeqin seqin
);

TypeNameRead/WriteDescription
AjPSeqinseqinModifySeqin object holding mart info
AjBool RETURNTrue on success

From EMBOSS 6.3.0


Function ajMartFilterMatch

Associate filters with a given attribute table

Prototype

AjBool ajMartFilterMatch (
      AjPTable atab,
      const AjPMartFilter filt
);

TypeNameRead/WriteDescription
AjPTableatabModifyAttribute table
const AjPMartFilterfiltInputfilters
AjBool RETURNTrue on success

From EMBOSS 6.3.0


Function ajMartAssociate

Associate filters with attributes thgat can use them

Prototype

AjBool ajMartAssociate (
      AjPSeqin seqin
);

TypeNameRead/WriteDescription
AjPSeqinseqinModifySeqin object holding mart info
AjBool RETURNTrue on success

From EMBOSS 6.3.0


Function ajMartMakeQueryXml

Produce XML from an AjPMartqinfo object

Prototype

void ajMartMakeQueryXml (
      const AjPMartqinfo qinfo,
      AjPSeqin seqin
);

TypeNameRead/WriteDescription
const AjPMartqinfoqinfoInputMart qinfo object
AjPSeqinseqinModifySeqin object
void RETURN

From EMBOSS 6.3.0


Function ajMartSendQuery

Send a query, given biomart query xml, to a mart server host/path/port

Prototype

AjBool ajMartSendQuery (
      AjPSeqin seqin
);

TypeNameRead/WriteDescription
AjPSeqinseqinModify"Sequence" input object
AjBool RETURNtrue on success

From EMBOSS 6.3.0


Function ajMartGetReghost

Return the Registry host name

Prototype

const AjPStr ajMartGetReghost (
      const AjPSeqin seqin
);

TypeNameRead/WriteDescription
const AjPSeqinseqinInputSeqin object
const AjPStr RETURNRegistry host name or NULL

From EMBOSS 6.3.0


Function ajMartGetRegpath

Return the Registry path name

Prototype

const AjPStr ajMartGetRegpath (
      const AjPSeqin seqin
);

TypeNameRead/WriteDescription
const AjPSeqinseqinInputSeqin object
const AjPStr RETURNRegistry host name or NULL

From EMBOSS 6.3.0


Function ajMartGetRegport

Return the Registry port

Prototype

ajuint ajMartGetRegport (
      const AjPSeqin seqin
);

TypeNameRead/WriteDescription
const AjPSeqinseqinInputSeqin object
ajuint RETURNRegistry port or 0

From EMBOSS 6.3.0


Function ajMartGetMarthost

Return the Mart host name

Prototype

const AjPStr ajMartGetMarthost (
      const AjPSeqin seqin
);

TypeNameRead/WriteDescription
const AjPSeqinseqinInputSeqin object
const AjPStr RETURNMart host name or NULL

From EMBOSS 6.3.0


Function ajMartGetMartpath

Return the Mart path name

Prototype

const AjPStr ajMartGetMartpath (
      const AjPSeqin seqin
);

TypeNameRead/WriteDescription
const AjPSeqinseqinInputSeqin object
const AjPStr RETURNMart host name or NULL

From EMBOSS 6.3.0


Function ajMartGetMartport

Return the Mart port

Prototype

ajuint ajMartGetMartport (
      const AjPSeqin seqin
);

TypeNameRead/WriteDescription
const AjPSeqinseqinInputSeqin object
ajuint RETURNMart port or 0

From EMBOSS 6.3.0


Function ajMartSetReghostC

Set the Registry host name

Prototype

AjBool ajMartSetReghostC (
      AjPSeqin seqin,
      const char* reghost
);

TypeNameRead/WriteDescription
AjPSeqinseqinModifySeqin object
const char*reghostInputRegistry name
AjBool RETURNTrue on success

From EMBOSS 6.3.0


Function ajMartSetRegpathC

Return the Registry path name

Prototype

AjBool ajMartSetRegpathC (
      AjPSeqin seqin,
      const char* regpath
);

TypeNameRead/WriteDescription
AjPSeqinseqinModifySeqin object
const char*regpathInputRegistry path
AjBool RETURNTrue on success

From EMBOSS 6.3.0


Function ajMartSetReghostS

Set the Registry host name

Prototype

AjBool ajMartSetReghostS (
      AjPSeqin seqin,
      const AjPStr reghost
);

TypeNameRead/WriteDescription
AjPSeqinseqinModifySeqin object
const AjPStrreghostInputRegistry name
AjBool RETURNTrue on success

From EMBOSS 6.3.0


Function ajMartSetRegpathS

Return the Registry path name

Prototype

AjBool ajMartSetRegpathS (
      AjPSeqin seqin,
      const AjPStr regpath
);

TypeNameRead/WriteDescription
AjPSeqinseqinModifySeqin object
const AjPStrregpathInputRegistry path
AjBool RETURNTrue on success

From EMBOSS 6.3.0


Function ajMartSetRegport

Return the Registry port

Prototype

AjBool ajMartSetRegport (
      AjPSeqin seqin,
      ajuint regport
);

TypeNameRead/WriteDescription
AjPSeqinseqinModifySeqin object
ajuintregportInputRegistry port
AjBool RETURNTrue on success

From EMBOSS 6.3.0


Function ajMartSetMarthostC

Set the Mart host name

Prototype

AjBool ajMartSetMarthostC (
      AjPSeqin seqin,
      const char* marthost
);

TypeNameRead/WriteDescription
AjPSeqinseqinModifySeqin object
const char*marthostInputMart name
AjBool RETURNTrue on success

From EMBOSS 6.3.0


Function ajMartSetMartpathC

Set the Mart path name

Prototype

AjBool ajMartSetMartpathC (
      AjPSeqin seqin,
      const char* martpath
);

TypeNameRead/WriteDescription
AjPSeqinseqinModifySeqin object
const char*martpathInputMart path
AjBool RETURNTrue on success

From EMBOSS 6.3.0


Function ajMartSetMarthostS

Set the Mart host name

Prototype

AjBool ajMartSetMarthostS (
      AjPSeqin seqin,
      const AjPStr marthost
);

TypeNameRead/WriteDescription
AjPSeqinseqinModifySeqin object
const AjPStrmarthostInputMart name
AjBool RETURNTrue on success

From EMBOSS 6.3.0


Function ajMartSetMartpathS

Set the Mart path name

Prototype

AjBool ajMartSetMartpathS (
      AjPSeqin seqin,
      const AjPStr martpath
);

TypeNameRead/WriteDescription
AjPSeqinseqinModifySeqin object
const AjPStrmartpathInputMart path
AjBool RETURNTrue on success

From EMBOSS 6.3.0


Function ajMartSetMartport

Set the Mart port

Prototype

AjBool ajMartSetMartport (
      AjPSeqin seqin,
      ajuint martport
);

TypeNameRead/WriteDescription
AjPSeqinseqinModifySeqin object
ajuintmartportInputMart port
AjBool RETURNTrue on success

From EMBOSS 6.3.0


Function ajMartFixRegistry

Try to fill in missing registry fields

Prototype

void ajMartFixRegistry (
      AjPSeqin seqin
);

TypeNameRead/WriteDescription
AjPSeqinseqinModifySeqin object
void RETURN

From EMBOSS 6.3.0


Function ajMartFixMart

Try to fill in missing mart fields

Prototype

void ajMartFixMart (
      AjPSeqin seqin
);

TypeNameRead/WriteDescription
AjPSeqinseqinModifySeqin object
void RETURNTrue if valid

From EMBOSS 6.3.0


Function ajMartAttachMartquery

Add a mart query object to a seqin object

Prototype

void ajMartAttachMartquery (
      AjPSeqin seqin,
      AjPMartquery mq
);

TypeNameRead/WriteDescription
AjPSeqinseqinModifySeqin object
AjPMartquerymqModifyMartquery object
void RETURN

From EMBOSS 6.3.0


Function ajMartGetMartqueryPtr

Return a seqin Query pointer

Prototype

AjPMartquery ajMartGetMartqueryPtr (
      const AjPSeqin seqin
);

TypeNameRead/WriteDescription
const AjPSeqinseqinInputSeqin object
AjPMartquery RETURNMartquery

From EMBOSS 6.3.0


Function ajStrtokQuotR

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 '"'

Prototype

char* ajStrtokQuotR (
      const char* srcstr,
      const char* delimstr,
      const char* quotstr,
      const char** ptrptr,
      AjPStr* buf
);

TypeNameRead/WriteDescription
const char*srcstrInputSource string
const char*delimstrInputDelimiter string
const char*quotstrInputAllowable quotes(s)
const char**ptrptrInputSaved position in srcstr
AjPStr*bufOutputResults buffer (the token)
char* RETURNPointer to start of token (in buf) or NULL

From EMBOSS 6.3.0


Function ajMartParseParameters

Parses attribute and filter strings and load a given Qinfo object with them

Prototype

AjBool ajMartParseParameters (
      AjPMartqinfo qinfo,
      const AjPStr atts,
      const AjPStr filts,
      ajuint idx
);

TypeNameRead/WriteDescription
AjPMartqinfoqinfoModifyQuery object
const AjPStrattsInputAttributes
const AjPStrfiltsInputFilters
ajuintidxInputdataset index
AjBool RETURNFalse on parsing or loading error

From EMBOSS 6.3.0


Function ajMartSetQuerySchemaC

Set the Qinfo Virtual Schema field

Prototype

void ajMartSetQuerySchemaC (
      AjPMartqinfo qinfo,
      const char* schema
);

TypeNameRead/WriteDescription
AjPMartqinfoqinfoModifySeqin object
const char*schemaInputVirtual schema
void RETURN

From EMBOSS 6.3.0


Function ajMartSetQueryVersionC

Set the Qinfo Software Version field

Prototype

void ajMartSetQueryVersionC (
      AjPMartqinfo qinfo,
      const char* version
);

TypeNameRead/WriteDescription
AjPMartqinfoqinfoModifySeqin object
const char*versionInputVersion
void RETURN

From EMBOSS 6.3.0


Function ajMartSetQueryFormatC

Set the Qinfo Format field

Prototype

void ajMartSetQueryFormatC (
      AjPMartqinfo qinfo,
      const char* format
);

TypeNameRead/WriteDescription
AjPMartqinfoqinfoModifySeqin object
const char*formatInputFormat
void RETURN

From EMBOSS 6.3.0


Function ajMartSetQueryCount

Set the Qinfo Count (unique ID count only) field

Prototype

void ajMartSetQueryCount (
      AjPMartqinfo qinfo,
      AjBool count
);

TypeNameRead/WriteDescription
AjPMartqinfoqinfoModifySeqin object
AjBoolcountInputcount
void RETURN

From EMBOSS 6.3.0


Function ajMartSetQueryHeader

Set the Qinfo Header (column title) field

Prototype

void ajMartSetQueryHeader (
      AjPMartqinfo qinfo,
      AjBool header
);

TypeNameRead/WriteDescription
AjPMartqinfoqinfoModifySeqin object
AjBoolheaderInputHeader
void RETURN

From EMBOSS 6.3.0


Function ajMartSetQueryUnique

Set the Qinfo Unique rows field

Prototype

void ajMartSetQueryUnique (
      AjPMartqinfo qinfo,
      AjBool unique
);

TypeNameRead/WriteDescription
AjPMartqinfoqinfoModifySeqin object
AjBooluniqueInputUnique
void RETURN

From EMBOSS 6.3.0


Function ajMartSetQueryStamp

Set the Qinfo Completion Stamp ([success]) field

Prototype

void ajMartSetQueryStamp (
      AjPMartqinfo qinfo,
      AjBool stamp
);

TypeNameRead/WriteDescription
AjPMartqinfoqinfoModifySeqin object
AjBoolstampInputStamp
void RETURN

From EMBOSS 6.3.0


Function ajMartSetQueryVerify

Set the Qinfo verification field to test that given atts & filts exist in the dataset

Prototype

void ajMartSetQueryVerify (
      AjPMartqinfo qinfo,
      AjBool verify
);

TypeNameRead/WriteDescription
AjPMartqinfoqinfoModifySeqin object
AjBoolverifyInputverify flag
void RETURN

From EMBOSS 6.3.0


Function ajMartSetQueryDatasetName

Set a Qinfo dataset name field

Prototype

void ajMartSetQueryDatasetName (
      AjPMartqinfo qinfo,
      const AjPStr name,
      ajuint idx
);

TypeNameRead/WriteDescription
AjPMartqinfoqinfoModifySeqin object
const AjPStrnameInputName
ajuintidxInputDataset number (0->n-1)
void RETURN

From EMBOSS 6.3.0


Function ajMartSetQueryDatasetInterfaceC

Set a Qinfo dataset interface field

Prototype

void ajMartSetQueryDatasetInterfaceC (
      AjPMartqinfo qinfo,
      const char* iface,
      ajuint idx
);

TypeNameRead/WriteDescription
AjPMartqinfoqinfoModifySeqin object
const char*ifaceInputInterface
ajuintidxInputDataset number (0->n-1)
void RETURN

From EMBOSS 6.3.0


Function ajMartCheckQinfo

Try to fill in missing fields and check user attributes/filters

Prototype

AjBool ajMartCheckQinfo (
      AjPSeqin seqin,
      AjPMartqinfo qinfo
);

TypeNameRead/WriteDescription
AjPSeqinseqinModifySeqin object
AjPMartqinfoqinfoModifyMart qinfo object
AjBool RETURNTrue if valid

From EMBOSS 6.3.0


Function ajMartGetConfiguration

Return config info given a mart dataset and a mart host/path/port

Prototype

AjBool ajMartGetConfiguration (
      AjPSeqin seqin,
      const AjPStr dataset
);

TypeNameRead/WriteDescription
AjPSeqinseqinModify"Sequence" input object
const AjPStrdatasetInput"Sequence" mart dataset name
AjBool RETURNtrue on success

From EMBOSS 6.3.0


Function ajMartconfigurationParse

Parse a mart configuration buffer

Prototype

AjBool ajMartconfigurationParse (
      AjPSeqin seqin
);

TypeNameRead/WriteDescription
AjPSeqinseqinModifySeqin object holding mart info
AjBool RETURNTrue on success

From EMBOSS 6.3.0


Function ajMartattributesPageSort

Sort attributes based on page name

Prototype

AjBool ajMartattributesPageSort (
      AjPSeqin seqin
);

TypeNameRead/WriteDescription
AjPSeqinseqinModifySeqin object holding attribute info
AjBool RETURNTrue on success

From EMBOSS 6.3.0


Function ajMartNameIsNucC

Test whether name matches any of the set of known nucleic acid biomart terms

Prototype

AjBool ajMartNameIsNucC (
      const char* name
);

TypeNameRead/WriteDescription
const char*nameInputName
AjBool RETURNTrue if nucleic acid name match

From EMBOSS 6.3.0


Function ajMartNameIsProtC

Test whether name matches any of the set of known protein biomart terms

Prototype

AjBool ajMartNameIsProtC (
      const char* name
);

TypeNameRead/WriteDescription
const char*nameInputName
AjBool RETURNTrue if nucleic acid name match

From EMBOSS 6.3.0


Function ajMartTableNameIsNuc

Test whether table 'name' value matches any of the set of known nucleic acid biomart terms

Prototype

AjBool ajMartTableNameIsNuc (
      const AjPTable t
);

TypeNameRead/WriteDescription
const AjPTabletInputTable
AjBool RETURNTrue if nucleic acid name match

From EMBOSS 6.3.0


Function ajMartTableNameIsProt

Test whether table 'name' value matches any of the set of known protein biomart terms

Prototype

AjBool ajMartTableNameIsProt (
      const AjPTable t
);

TypeNameRead/WriteDescription
const AjPTabletInputTable
AjBool RETURNTrue if protein name match

From EMBOSS 6.3.0


Function ajMartCheckHeader

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.

Prototype

AjPStr* ajMartCheckHeader (
      AjPSeqin seqin,
      AjPMartqinfo qinfo
);

TypeNameRead/WriteDescription
AjPSeqinseqinModifySeqin object
AjPMartqinfoqinfoModifyMart qinfo object
AjPStr* RETURNArray of attribute names terminated by a NULL entry. or NULL if mapping cannot be done

From EMBOSS 6.3.0


Function ajMartDecodeHname

Decode directory name into host/path/port

Prototype

void ajMartDecodeHname (
      const AjPStr dir,
      AjPStr* host,
      AjPStr* path,
      ajuint* port
);

TypeNameRead/WriteDescription
const AjPStrdirInputEncoded directory name
AjPStr*hostOutputHost
AjPStr*pathOutputPath
ajuint*portOutputPort
void RETURN

From EMBOSS 6.4.0