ajfeatwrite.c
Processes the specified UFO, and opens the resulting output file.
If the AjPFeattabOut has a filename, this is used in preference.
If not, the ufo is processed.
Synopsis
Prototype
AjBool ajFeattabOutOpen (
AjPFeattabOut thys,
const AjPStr ufo
);
Type | Name | Read/Write | Description |
AjPFeattabOut | thys | Modify | Features table output object |
const AjPStr | ufo | Input | UFO feature output specifier |
AjBool | | RETURN | ajTrue on success |
Input
ufo: | (Input) | UFO feature output specifier |
Input & Output
thys: | (Modify) | Features table output object |
Returns
Description
Processes the specified UFO, and opens the resulting output file.
If the AjPFeattabOut has a filename, this is used in preference.
If not, the ufo is processed.
See Also
See other functions in this section
Availability
In release 6.4.0
Returns the feature table output file object
Synopsis
Prototype
AjPFile ajFeattabOutFile (
const AjPFeattabOut thys
);
Type | Name | Read/Write | Description |
const AjPFeattabOut | thys | Input | Features table output object |
AjPFile | | RETURN | File object |
Input
thys: | (Input) | Features table output object |
Returns
Description
Returns the feature table output file object
See Also
See other functions in this section
Availability
In release 6.4.0
Returns the name of a feature table output file
Synopsis
Prototype
AjPStr ajFeattabOutFilename (
const AjPFeattabOut thys
);
Type | Name | Read/Write | Description |
const AjPFeattabOut | thys | Input | Features table output object |
AjPStr | | RETURN | Filename |
Input
thys: | (Input) | Features table output object |
Returns
Description
Returns the name of a feature table output file
See Also
See other functions in this section
Availability
In release 6.4.0
Checks whether feature output file has already been opened
Synopsis
Prototype
AjBool ajFeattabOutIsOpen (
const AjPFeattabOut thys
);
Type | Name | Read/Write | Description |
const AjPFeattabOut | thys | Input | Features table output object |
AjBool | | RETURN | ajTrue if file is open |
Input
thys: | (Input) | Features table output object |
Returns
AjBool: | ajTrue if file is open |
Description
Checks whether feature output file has already been opened
See Also
See other functions in this section
Availability
In release 6.4.0
Checks whether feature output file has already been opened
Synopsis
Prototype
AjBool ajFeattabOutIsLocal (
const AjPFeattabOut thys
);
Type | Name | Read/Write | Description |
const AjPFeattabOut | thys | Input | Features table output object |
AjBool | | RETURN | ajTrue if file is open |
Input
thys: | (Input) | Features table output object |
Returns
AjBool: | ajTrue if file is open |
Description
Checks whether feature output file has already been opened
See Also
See other functions in this section
Availability
In release 6.4.0
Processes the specified UFO, and specifies the resulting output file.
Synopsis
Prototype
AjBool ajFeattabOutSet (
AjPFeattabOut thys,
const AjPStr ufo
);
Type | Name | Read/Write | Description |
AjPFeattabOut | thys | Modify | Features table output object |
const AjPStr | ufo | Input | UFO feature output specifier |
AjBool | | RETURN | ajTrue on success |
Input
ufo: | (Input) | UFO feature output specifier |
Input & Output
thys: | (Modify) | Features table output object |
Returns
Description
Processes the specified UFO, and specifies the resulting output file.
See Also
See other functions in this section
Availability
In release 6.4.0
Sets the base output filename for feature table output
Synopsis
Prototype
void ajFeattabOutSetBasename (
AjPFeattabOut thys,
const AjPStr basename
);
Type | Name | Read/Write | Description |
AjPFeattabOut | thys | Modify | feature table output |
const AjPStr | basename | Input | Output base filename |
void | | RETURN | |
Input
basename: | (Input) | Output base filename |
Input & Output
thys: | (Modify) | feature table output |
Returns
Description
Sets the base output filename for feature table output
See Also
See other functions in this section
Availability
In release 6.4.0
Processes the specified UFO, and specifies the resulting output file.
Synopsis
Prototype
AjBool ajFeattabOutSetSeqname (
AjPFeattabOut thys,
const AjPStr name
);
Type | Name | Read/Write | Description |
AjPFeattabOut | thys | Modify | Features table output object |
const AjPStr | name | Input | UFO feature output specifier |
AjBool | | RETURN | ajTrue on success |
Input
name: | (Input) | UFO feature output specifier |
Input & Output
thys: | (Modify) | Features table output object |
Returns
Description
Processes the specified UFO, and specifies the resulting output file.
See Also
See other functions in this section
Availability
In release 6.4.0
Constructor for an empty feature table output object, using an
existing open output file (the file sequence data is already written to)
Synopsis
Prototype
AjPFeattabOut ajFeattabOutNewCSF (
const char* fmt,
const AjPStr name,
const char* type,
AjPFile file
);
Type | Name | Read/Write | Description |
const char* | fmt | Input | feature format |
const AjPStr | name | Input | sequence name |
const char* | type | Input | feature type |
AjPFile | file | Modify | Output file |
AjPFeattabOut | | RETURN | Feature table output object |
Input
fmt: | (Input) | feature format |
name: | (Input) | sequence name |
type: | (Input) | feature type |
Input & Output
Returns
AjPFeattabOut: | Feature table output object |
Description
Constructor for an empty feature table output object, using an
existing open output file (the file sequence data is already written to)
See Also
See other functions in this section
Availability
In release 6.4.0
Constructor for an empty feature table output object, using an
existing open output file (the file sequence data is already written to)
Synopsis
Prototype
AjPFeattabOut ajFeattabOutNewSSF (
const AjPStr fmt,
const AjPStr name,
const char* type,
AjPFile file
);
Type | Name | Read/Write | Description |
const AjPStr | fmt | Input | feature format |
const AjPStr | name | Input | sequence name |
const char* | type | Input | feature type |
AjPFile | file | Modify | Output file |
AjPFeattabOut | | RETURN | Feature table output object |
Input
fmt: | (Input) | feature format |
name: | (Input) | sequence name |
type: | (Input) | feature type |
Input & Output
Returns
AjPFeattabOut: | Feature table output object |
Description
Constructor for an empty feature table output object, using an
existing open output file (the file sequence data is already written to)
See Also
See other functions in this section
Availability
In release 6.4.0
Constructor for an empty feature table output object
Synopsis
Prototype
AjPFeattabOut ajFeattabOutNew (
void
);
Type | Name | Read/Write | Description |
AjPFeattabOut | | RETURN | Feature table input object |
Returns
AjPFeattabOut: | Feature table input object |
Description
Constructor for an empty feature table output object
See Also
See other functions in this section
Availability
In release 6.4.0
Clears all data for a feature table output object
Synopsis
Prototype
void ajFeattabOutClear (
AjPFeattabOut* thys
);
Type | Name | Read/Write | Description |
AjPFeattabOut* | thys | Delete | feature format |
void | | RETURN | Feature table output object |
Output
thys: | (Delete) | feature format |
Returns
Description
Clears all data for a feature table output object
See Also
See other functions in this section
Availability
In release 6.4.0
Destructor for a feature table output object
Synopsis
Prototype
void ajFeattabOutDel (
AjPFeattabOut* thys
);
Type | Name | Read/Write | Description |
AjPFeattabOut* | thys | Delete | feature format |
void | | RETURN | Feature table output object |
Output
thys: | (Delete) | feature format |
Returns
Description
Destructor for a feature table output object
See Also
See other functions in this section
Availability
In release 6.4.0
Parses a UFO, opens an output file, and writes a feature table to it.
Synopsis
Prototype
AjBool ajFeattableWriteUfo (
AjPFeattabOut thys,
const AjPFeattable ftable,
const AjPStr ufo
);
Type | Name | Read/Write | Description |
AjPFeattabOut | thys | Modify | Feature output object |
const AjPFeattable | ftable | Input | Feature table to be written |
const AjPStr | ufo | Input | UFO feature spec (ignored if already open) |
AjBool | | RETURN | ajTrue on success. |
Input
ftable: | (Input) | Feature table to be written |
ufo: | (Input) | UFO feature spec (ignored if already open) |
Input & Output
thys: | (Modify) | Feature output object |
Returns
AjBool: | ajTrue on success. |
Description
Parses a UFO, opens an output file, and writes a feature table to it.
See Also
See other functions in this section
Availability
In release 6.4.0
Sets the default output format.
Checks the _OUTFEATFORMAT variable,
and uses GFF3 if no other definition is found.
Synopsis
Prototype
AjBool ajFeatOutFormatDefault (
AjPStr* pformat
);
Type | Name | Read/Write | Description |
AjPStr* | pformat | Output | Default output feature format. |
AjBool | | RETURN | ajTrue on success. |
Output
pformat: | (Output) | Default output feature format. |
Returns
AjBool: | ajTrue on success. |
Description
Sets the default output format.
Checks the _OUTFEATFORMAT variable,
and uses GFF3 if no other definition is found.
See Also
See other functions in this section
Availability
In release 6.4.0
Generic interface function for writing features to a file
defined by a feature table output object.
Synopsis
Prototype
AjBool ajFeattableWrite (
AjPFeattabOut ftout,
const AjPFeattable features
);
Type | Name | Read/Write | Description |
AjPFeattabOut | ftout | Modify | Specifies the external source
(file) of the features to be written |
const AjPFeattable | features | Input | Feature set to be written out |
AjBool | | RETURN | Returns ajTrue if successful; ajFalse otherwise |
Input
features: | (Input) | Feature set to be written out |
Input & Output
ftout: | (Modify) | Specifies the external source
(file) of the features to be written |
Returns
AjBool: | Returns ajTrue if successful; ajFalse otherwise |
Description
Generic interface function for writing features to a file
defined by a feature table output object.
See Also
See other functions in this section
Availability
In release 6.4.0
Write feature table in GFF 2.0 format
Synopsis
Prototype
AjBool ajFeattableWriteGff2 (
AjPFeattabOut ftout,
const AjPFeattable Feattab
);
Type | Name | Read/Write | Description |
AjPFeattabOut | ftout | Modify | Feature table output object |
const AjPFeattable | Feattab | Input | feature table |
AjBool | | RETURN | ajTrue on success |
Input
Feattab: | (Input) | feature table |
Input & Output
ftout: | (Modify) | Feature table output object |
Returns
Description
Write feature table in GFF 2.0 format
See Also
See other functions in this section
Availability
In release 6.4.0
Write feature table in GFF format
Synopsis
Prototype
AjBool ajFeattableWriteGff3 (
AjPFeattabOut ftout,
const AjPFeattable Feattab
);
Type | Name | Read/Write | Description |
AjPFeattabOut | ftout | Modify | Feature table output object |
const AjPFeattable | Feattab | Input | feature table |
AjBool | | RETURN | ajTrue on success |
Input
Feattab: | (Input) | feature table |
Input & Output
ftout: | (Modify) | Feature table output object |
Returns
Description
Write feature table in GFF format
See Also
See other functions in this section
Availability
In release 6.4.0
Write a feature table in DDBJ format.
Synopsis
Prototype
AjBool ajFeattableWriteDdbj (
AjPFeattabOut ftout,
const AjPFeattable thys
);
Type | Name | Read/Write | Description |
AjPFeattabOut | ftout | Modify | Feature table output object |
const AjPFeattable | thys | Input | feature table |
AjBool | | RETURN | ajTrue on success |
Input
thys: | (Input) | feature table |
Input & Output
ftout: | (Modify) | Feature table output object |
Returns
Description
Write a feature table in DDBJ format.
See Also
See other functions in this section
Availability
In release 6.4.0
Write a feature table in EMBL format.
Synopsis
Prototype
AjBool ajFeattableWriteEmbl (
AjPFeattabOut ftout,
const AjPFeattable thys
);
Type | Name | Read/Write | Description |
AjPFeattabOut | ftout | Modify | Feature table output object |
const AjPFeattable | thys | Input | feature table |
AjBool | | RETURN | ajTrue on success |
Input
thys: | (Input) | feature table |
Input & Output
ftout: | (Modify) | Feature table output object |
Returns
Description
Write a feature table in EMBL format.
See Also
See other functions in this section
Availability
In release 6.4.0
Write a feature table in GenBank format.
Synopsis
Prototype
AjBool ajFeattableWriteGenbank (
AjPFeattabOut ftout,
const AjPFeattable thys
);
Type | Name | Read/Write | Description |
AjPFeattabOut | ftout | Modify | Feature table output object |
const AjPFeattable | thys | Input | feature table |
AjBool | | RETURN | ajTrue on success |
Input
thys: | (Input) | feature table |
Input & Output
ftout: | (Modify) | Feature table output object |
Returns
Description
Write a feature table in GenBank format.
See Also
See other functions in this section
Availability
In release 6.4.0
Write a feature table in Refseq format.
Synopsis
Prototype
AjBool ajFeattableWriteRefseq (
AjPFeattabOut ftout,
const AjPFeattable thys
);
Type | Name | Read/Write | Description |
AjPFeattabOut | ftout | Modify | Feature table output object |
const AjPFeattable | thys | Input | feature table |
AjBool | | RETURN | ajTrue on success |
Input
thys: | (Input) | feature table |
Input & Output
ftout: | (Modify) | Feature table output object |
Returns
Description
Write a feature table in Refseq format.
See Also
See other functions in this section
Availability
In release 6.4.0
Write a feature table in Refseqp format.
Synopsis
Prototype
AjBool ajFeattableWriteRefseqp (
AjPFeattabOut ftout,
const AjPFeattable thys
);
Type | Name | Read/Write | Description |
AjPFeattabOut | ftout | Modify | Feature table output object |
const AjPFeattable | thys | Input | feature table |
AjBool | | RETURN | ajTrue on success |
Input
thys: | (Input) | feature table |
Input & Output
ftout: | (Modify) | Feature table output object |
Returns
Description
Write a feature table in Refseqp format.
See Also
See other functions in this section
Availability
In release 6.4.0
Write a feature table in SwissProt format.
Synopsis
Prototype
AjBool ajFeattableWriteSwiss (
AjPFeattabOut ftout,
const AjPFeattable thys
);
Type | Name | Read/Write | Description |
AjPFeattabOut | ftout | Modify | Feature table output object |
const AjPFeattable | thys | Input | feature table |
AjBool | | RETURN | ajTrue on success |
Input
thys: | (Input) | feature table |
Input & Output
ftout: | (Modify) | Feature table output object |
Returns
Description
Write a feature table in SwissProt format.
See Also
See other functions in this section
Availability
In release 6.4.0
Write a feature table in PIR format.
Synopsis
Prototype
AjBool ajFeattableWritePir (
AjPFeattabOut ftout,
const AjPFeattable thys
);
Type | Name | Read/Write | Description |
AjPFeattabOut | ftout | Modify | Feature table output object |
const AjPFeattable | thys | Input | feature table |
AjBool | | RETURN | ajTrue on success |
Input
thys: | (Input) | feature table |
Input & Output
ftout: | (Modify) | Feature table output object |
Returns
Description
Write a feature table in PIR format.
See Also
See other functions in this section
Availability
In release 6.4.0
Write a feature table in DAS GFF format.
Synopsis
Prototype
AjBool ajFeattableWriteDasgff (
AjPFeattabOut ftout,
const AjPFeattable thys
);
Type | Name | Read/Write | Description |
AjPFeattabOut | ftout | Modify | Feature table output object |
const AjPFeattable | thys | Input | Feature table |
AjBool | | RETURN | ajTrue on success |
Input
thys: | (Input) | Feature table |
Input & Output
ftout: | (Modify) | Feature table output object |
Returns
Description
Write a feature table in DAS GFF format.
See Also
See other functions in this section
Availability
In release 6.4.0
Sets the type for feature output
Synopsis
Prototype
AjBool ajFeattabOutSetType (
AjPFeattabOut thys,
const AjPStr type
);
Type | Name | Read/Write | Description |
AjPFeattabOut | thys | Modify | Feature output object |
const AjPStr | type | Input | Feature type "nucleotide" "protein" |
AjBool | | RETURN | ajTrue on success |
Input
type: | (Input) | Feature type "nucleotide" "protein" |
Input & Output
thys: | (Modify) | Feature output object |
Returns
Description
Sets the type for feature output
See Also
See other functions in this section
Availability
In release 6.4.0
Sets the type for feature output
Synopsis
Prototype
AjBool ajFeattabOutSetTypeC (
AjPFeattabOut thys,
const char* type
);
Type | Name | Read/Write | Description |
AjPFeattabOut | thys | Modify | Feature output object |
const char* | type | Input | Feature type "nucleotide" "protein" |
AjBool | | RETURN | ajTrue on success |
Input
type: | (Input) | Feature type "nucleotide" "protein" |
Input & Output
thys: | (Modify) | Feature output object |
Returns
Description
Sets the type for feature output
See Also
See other functions in this section
Availability
In release 6.4.0
Print contents of a feature table to a file
Synopsis
Prototype
AjBool ajFeattableWriteDebug (
AjPFeattabOut ftout,
const AjPFeattable ftable
);
Type | Name | Read/Write | Description |
AjPFeattabOut | ftout | Modify | Feature table output object |
const AjPFeattable | ftable | Input | Feature table |
AjBool | | RETURN | Always true |
Input
ftable: | (Input) | Feature table |
Input & Output
ftout: | (Modify) | Feature table output object |
Returns
Description
Print contents of a feature table to a file
See Also
See other functions in this section
Availability
In release 6.4.0
Print contents of a feature table to a file
Synopsis
Prototype
AjBool ajFeattablePrint (
const AjPFeattable ftable,
AjPFile outf
);
Type | Name | Read/Write | Description |
const AjPFeattable | ftable | Input | Feature table |
AjPFile | outf | Modify | Output file object |
AjBool | | RETURN | Always true |
Input
ftable: | (Input) | Feature table |
Input & Output
outf: | (Modify) | Output file object |
Returns
Description
Print contents of a feature table to a file
See Also
See other functions in this section
Availability
In release 6.4.0
Reports the internal data structures for output feature formats
Synopsis
Prototype
void ajFeatoutPrintFormat (
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 for output feature formats
See Also
See other functions in this section
Availability
In release 6.4.0
Reports the internal data structures for output feature formats
Synopsis
Prototype
void ajFeatoutPrinthtmlFormat (
AjPFile outf
);
Type | Name | Read/Write | Description |
AjPFile | outf | Modify | Output file |
void | | RETURN | |
Input & Output
Returns
Description
Reports the internal data structures for output feature formats
See Also
See other functions in this section
Availability
In release 6.4.0
Reports the output feature format internals in docbook format
Synopsis
Prototype
void ajFeatoutPrintbookFormat (
AjPFile outf
);
Type | Name | Read/Write | Description |
AjPFile | outf | Modify | Output file |
void | | RETURN | |
Input & Output
Returns
Description
Reports the output feature format internals in docbook format
See Also
See other functions in this section
Availability
In release 6.4.0
Reports the output feature format internals in wiki text format
Synopsis
Prototype
void ajFeatoutPrintwikiFormat (
AjPFile outf
);
Type | Name | Read/Write | Description |
AjPFile | outf | Modify | Output file |
void | | RETURN | |
Input & Output
Returns
Description
Reports the output feature format internals in wiki text format
See Also
See other functions in this section
Availability
In release 6.4.0
Cleans up feature table output internal memory
Synopsis
Prototype
void ajFeatwriteExit (
void
);
Type | Name | Read/Write | Description |
void | | RETURN | |
Returns
Description
Cleans up feature table output internal memory
See Also
See other functions in this section
Availability
In release 6.4.0