ajfeatwrite.c


Function ajFeattabOutOpen

Processes the specified UFO, and opens the resulting output file.

Prototype

AjBool ajFeattabOutOpen (
      AjPFeattabOut thys,
      const AjPStr ufo
);

TypeNameRead/WriteDescription
AjPFeattabOutthysModifyFeatures table output object
const AjPStrufoInputUFO feature output specifier
AjBool RETURNajTrue on success

From EMBOSS 2.0.0


Function ajFeattabOutFile

Returns the feature table output file object

Prototype

AjPFile ajFeattabOutFile (
      const AjPFeattabOut thys
);

TypeNameRead/WriteDescription
const AjPFeattabOutthysInputFeatures table output object
AjPFile RETURNFile object

From EMBOSS 2.1.0


Function ajFeattabOutFilename

Returns the name of a feature table output file

Prototype

AjPStr ajFeattabOutFilename (
      const AjPFeattabOut thys
);

TypeNameRead/WriteDescription
const AjPFeattabOutthysInputFeatures table output object
AjPStr RETURNFilename

From EMBOSS 2.1.0


Function ajFeattabOutIsOpen

Checks whether feature output file has already been opened

Prototype

AjBool ajFeattabOutIsOpen (
      const AjPFeattabOut thys
);

TypeNameRead/WriteDescription
const AjPFeattabOutthysInputFeatures table output object
AjBool RETURNajTrue if file is open

From EMBOSS 2.0.1


Function ajFeattabOutIsLocal

Checks whether feature output file has already been opened

Prototype

AjBool ajFeattabOutIsLocal (
      const AjPFeattabOut thys
);

TypeNameRead/WriteDescription
const AjPFeattabOutthysInputFeatures table output object
AjBool RETURNajTrue if file is open

From EMBOSS 2.8.0


Function ajFeattabOutSet

Processes the specified UFO, and specifies the resulting output file.

Prototype

AjBool ajFeattabOutSet (
      AjPFeattabOut thys,
      const AjPStr ufo
);

TypeNameRead/WriteDescription
AjPFeattabOutthysModifyFeatures table output object
const AjPStrufoInputUFO feature output specifier
AjBool RETURNajTrue on success

From EMBOSS 2.0.1


Function ajFeattabOutSetBasename

Sets the base output filename for feature table output

Prototype

void ajFeattabOutSetBasename (
      AjPFeattabOut thys,
      const AjPStr basename
);

TypeNameRead/WriteDescription
AjPFeattabOutthysModifyfeature table output
const AjPStrbasenameInputOutput base filename
void RETURN

From EMBOSS 2.7.0


Function ajFeattabOutSetSeqname

Processes the specified UFO, and specifies the resulting output file.

Prototype

AjBool ajFeattabOutSetSeqname (
      AjPFeattabOut thys,
      const AjPStr name
);

TypeNameRead/WriteDescription
AjPFeattabOutthysModifyFeatures table output object
const AjPStrnameInputUFO feature output specifier
AjBool RETURNajTrue on success

From EMBOSS 6.1.0


Function ajFeattabOutNewCSF

Constructor for an empty feature table output object, using an existing open output file (the file sequence data is already written to)

Prototype

AjPFeattabOut ajFeattabOutNewCSF (
      const char* fmt,
      const AjPStr name,
      const char* type,
      AjPFile file
);

TypeNameRead/WriteDescription
const char*fmtInputfeature format
const AjPStrnameInputsequence name
const char*typeInputfeature type
AjPFilefileModifyOutput file
AjPFeattabOut RETURNFeature table output object

From EMBOSS 6.0.0


Function ajFeattabOutNewSSF

Constructor for an empty feature table output object, using an existing open output file (the file sequence data is already written to)

Prototype

AjPFeattabOut ajFeattabOutNewSSF (
      const AjPStr fmt,
      const AjPStr name,
      const char* type,
      AjPFile file
);

TypeNameRead/WriteDescription
const AjPStrfmtInputfeature format
const AjPStrnameInputsequence name
const char*typeInputfeature type
AjPFilefileModifyOutput file
AjPFeattabOut RETURNFeature table output object

From EMBOSS 2.0.0


Function ajFeattabOutNew

Constructor for an empty feature table output object

Prototype

AjPFeattabOut ajFeattabOutNew (
      void
);

TypeNameRead/WriteDescription
AjPFeattabOut RETURNFeature table input object

From EMBOSS 2.0.0


Function ajFeattabOutClear

Clears all data for a feature table output object

Prototype

void ajFeattabOutClear (
      AjPFeattabOut* thys
);

TypeNameRead/WriteDescription
AjPFeattabOut*thysDeletefeature format
void RETURNFeature table output object

From EMBOSS 4.1.0


Function ajFeattabOutDel

Destructor for a feature table output object

Prototype

void ajFeattabOutDel (
      AjPFeattabOut* pthis
);

TypeNameRead/WriteDescription
AjPFeattabOut*pthisDeletefeature format
void RETURNFeature table output object

From EMBOSS 2.1.0


Function ajFeattableWriteUfo

Parses a UFO, opens an output file, and writes a feature table to it.

Prototype

AjBool ajFeattableWriteUfo (
      AjPFeattabOut thys,
      const AjPFeattable ftable,
      const AjPStr ufo
);

TypeNameRead/WriteDescription
AjPFeattabOutthysModifyFeature output object
const AjPFeattableftableInputFeature table to be written
const AjPStrufoInputUFO feature spec (ignored if already open)
AjBool RETURNajTrue on success.

From EMBOSS 6.2.0


Function ajFeatOutFormatDefault

Sets the default output format. Checks the _OUTFEATFORMAT variable, and uses GFF3 if no other definition is found.

Prototype

AjBool ajFeatOutFormatDefault (
      AjPStr* pformat
);

TypeNameRead/WriteDescription
AjPStr*pformatOutputDefault output feature format.
AjBool RETURNajTrue on success.

From EMBOSS 2.7.0


Function ajFeattableWrite

Generic interface function for writing features to a file defined by a feature table output object.

Prototype

AjBool ajFeattableWrite (
      AjPFeattabOut ftout,
      const AjPFeattable features
);

TypeNameRead/WriteDescription
AjPFeattabOutftoutModifySpecifies the external source (file) of the features to be written
const AjPFeattablefeaturesInputFeature set to be written out
AjBool RETURNReturns ajTrue if successful; ajFalse otherwise

From EMBOSS 2.0.0


Function ajFeattableWriteGff2

Write feature table in GFF 2.0 format

Prototype

AjBool ajFeattableWriteGff2 (
      AjPFeattabOut ftout,
      const AjPFeattable Feattab
);

TypeNameRead/WriteDescription
AjPFeattabOutftoutModifyFeature table output object
const AjPFeattableFeattabInputfeature table
AjBool RETURNajTrue on success

From EMBOSS 6.0.0


Function ajFeattableWriteGff3

Write feature table in GFF format

Prototype

AjBool ajFeattableWriteGff3 (
      AjPFeattabOut ftout,
      const AjPFeattable Feattab
);

TypeNameRead/WriteDescription
AjPFeattabOutftoutModifyFeature table output object
const AjPFeattableFeattabInputfeature table
AjBool RETURNajTrue on success

From EMBOSS 6.0.0


Function ajFeattableWriteBed

Write feature table in BED format

Prototype

AjBool ajFeattableWriteBed (
      AjPFeattabOut ftout,
      const AjPFeattable Feattab
);

TypeNameRead/WriteDescription
AjPFeattabOutftoutModifyFeature table output object
const AjPFeattableFeattabInputfeature table
AjBool RETURNajTrue on success

From EMBOSS 6.5.0


Function ajFeattableWriteDdbj

Write a feature table in DDBJ format.

Prototype

AjBool ajFeattableWriteDdbj (
      AjPFeattabOut ftout,
      const AjPFeattable thys
);

TypeNameRead/WriteDescription
AjPFeattabOutftoutModifyFeature table output object
const AjPFeattablethysInputfeature table
AjBool RETURNajTrue on success

From EMBOSS 2.0.0


Function ajFeattableWriteEmbl

Write a feature table in EMBL format.

Prototype

AjBool ajFeattableWriteEmbl (
      AjPFeattabOut ftout,
      const AjPFeattable thys
);

TypeNameRead/WriteDescription
AjPFeattabOutftoutModifyFeature table output object
const AjPFeattablethysInputfeature table
AjBool RETURNajTrue on success

From EMBOSS 2.0.0


Function ajFeattableWriteGenbank

Write a feature table in GenBank format.

Prototype

AjBool ajFeattableWriteGenbank (
      AjPFeattabOut ftout,
      const AjPFeattable thys
);

TypeNameRead/WriteDescription
AjPFeattabOutftoutModifyFeature table output object
const AjPFeattablethysInputfeature table
AjBool RETURNajTrue on success

From EMBOSS 2.0.0


Function ajFeattableWriteRefseq

Write a feature table in Refseq format.

Prototype

AjBool ajFeattableWriteRefseq (
      AjPFeattabOut ftout,
      const AjPFeattable thys
);

TypeNameRead/WriteDescription
AjPFeattabOutftoutModifyFeature table output object
const AjPFeattablethysInputfeature table
AjBool RETURNajTrue on success

From EMBOSS 6.2.0


Function ajFeattableWriteRefseqp

Write a feature table in Refseqp format.

Prototype

AjBool ajFeattableWriteRefseqp (
      AjPFeattabOut ftout,
      const AjPFeattable thys
);

TypeNameRead/WriteDescription
AjPFeattabOutftoutModifyFeature table output object
const AjPFeattablethysInputfeature table
AjBool RETURNajTrue on success

From EMBOSS 6.2.0


Function ajFeattableWriteSwiss

Write a feature table in SwissProt format.

Prototype

AjBool ajFeattableWriteSwiss (
      AjPFeattabOut ftout,
      const AjPFeattable thys
);

TypeNameRead/WriteDescription
AjPFeattabOutftoutModifyFeature table output object
const AjPFeattablethysInputfeature table
AjBool RETURNajTrue on success

From EMBOSS 2.0.0


Function ajFeattableWritePir

Write a feature table in PIR format.

Prototype

AjBool ajFeattableWritePir (
      AjPFeattabOut ftout,
      const AjPFeattable thys
);

TypeNameRead/WriteDescription
AjPFeattabOutftoutModifyFeature table output object
const AjPFeattablethysInputfeature table
AjBool RETURNajTrue on success

From EMBOSS 2.0.0


Function ajFeattableWriteDasgff

Write a feature table in DAS GFF format.

Prototype

AjBool ajFeattableWriteDasgff (
      AjPFeattabOut ftout,
      const AjPFeattable thys
);

TypeNameRead/WriteDescription
AjPFeattabOutftoutModifyFeature table output object
const AjPFeattablethysInputFeature table
AjBool RETURNajTrue on success

From EMBOSS 6.1.0


Function ajFeattableWriteDraw

Writes a report in Draw format, for use as input to cirdna or lindna

Prototype

AjBool ajFeattableWriteDraw (
      AjPFeattabOut ftout,
      const AjPFeattable thys
);

TypeNameRead/WriteDescription
AjPFeattabOutftoutModifyFeatures table output object
const AjPFeattablethysInputFeature table object
AjBool RETURNTrue on success

From EMBOSS 6.5.0


Function ajFeattabOutSetType

Sets the type for feature output

Prototype

AjBool ajFeattabOutSetType (
      AjPFeattabOut thys,
      const AjPStr type
);

TypeNameRead/WriteDescription
AjPFeattabOutthysModifyFeature output object
const AjPStrtypeInputFeature type "nucleotide" "protein"
AjBool RETURNajTrue on success

From EMBOSS 2.7.0


Function ajFeattabOutSetTypeC

Sets the type for feature output

Prototype

AjBool ajFeattabOutSetTypeC (
      AjPFeattabOut thys,
      const char* type
);

TypeNameRead/WriteDescription
AjPFeattabOutthysModifyFeature output object
const char*typeInputFeature type "nucleotide" "protein"
AjBool RETURNajTrue on success

From EMBOSS 2.7.0


Function ajFeattableWriteDebug

Print contents of a feature table to a file

Prototype

AjBool ajFeattableWriteDebug (
      AjPFeattabOut ftout,
      const AjPFeattable ftable
);

TypeNameRead/WriteDescription
AjPFeattabOutftoutModifyFeature table output object
const AjPFeattableftableInputFeature table
AjBool RETURNAlways true

From EMBOSS 6.1.0


Function ajFeattablePrint

Print contents of a feature table to a file

Prototype

AjBool ajFeattablePrint (
      const AjPFeattable ftable,
      AjPFile outf
);

TypeNameRead/WriteDescription
const AjPFeattableftableInputFeature table
AjPFileoutfModifyOutput file object
AjBool RETURNAlways true

From EMBOSS 6.0.0


Function ajFeatoutPrintFormat

Reports the internal data structures for output feature formats

Prototype

void ajFeatoutPrintFormat (
      AjPFile outf,
      AjBool full
);

TypeNameRead/WriteDescription
AjPFileoutfModifyOutput file
AjBoolfullInputFull report (usually ajFalse)
void RETURN

From EMBOSS 6.4.0


Function ajFeatoutPrinthtmlFormat

Reports the internal data structures for output feature formats

Prototype

void ajFeatoutPrinthtmlFormat (
      AjPFile outf
);

TypeNameRead/WriteDescription
AjPFileoutfModifyOutput file
void RETURN

From EMBOSS 6.4.0


Function ajFeatoutPrintbookFormat

Reports the output feature format internals in docbook format

Prototype

void ajFeatoutPrintbookFormat (
      AjPFile outf
);

TypeNameRead/WriteDescription
AjPFileoutfModifyOutput file
void RETURN

From EMBOSS 6.2.0


Function ajFeatoutPrintwikiFormat

Reports the output feature format internals in wiki text format

Prototype

void ajFeatoutPrintwikiFormat (
      AjPFile outf
);

TypeNameRead/WriteDescription
AjPFileoutfModifyOutput file
void RETURN

From EMBOSS 6.2.0


Function ajFeatwriteExit

Cleans up feature table output internal memory

Prototype

void ajFeatwriteExit (
      void
);

TypeNameRead/WriteDescription
void RETURN

From EMBOSS 6.4.0