embshow


Enum ShowEValtype

Descriptor object types

Enumerated value(s)

Name
SH_SEQSequence
SH_BLANKBlank line
SH_TICKTick marks
SH_TICKNUMTick numbers
SH_COMPComplementary strand
SH_TRANProtein translation
SH_RERestriction enzyme cut sites
SH_FTFeatures
SH_NOTENotes


Data type EmbPShow

NUCLEUS data structure for EmbPShow object for a sequence

Attributes

NameTypeDescription
listAjPListlist of EmbPShowInfo structures

Attributes

NameTypeDescription
seqconst AjPSeqthe sequence
nucleicAjBoolajTrue = the sequence is nucleic
offsetajuintoffset to start numbering at
startajuintsequence position to start printing at
endajuintsequence position to stop printing at

Attributes

NameTypeDescription
widthajuintwidth of sequence to display on each line
lengthajuintlength of a page (0 = indefinite)
marginajuintmargin for numbers
htmlAjBoolajTrue = format page for HTML


Data type EmbPShowInfo

The sequence and associated things to show are held in an ordered list of type EmbPShowInfo. This list is held in the structure EmbPShow.

The things to show are displayed around the sequence in the order that they are held on the list.

EmbPShowInfo holds the descriptor (one of EmbPShowBlank, EmbPShowTicks, EmbPShowSeq, EmbPShowComp, etc.) and the type of the descriptor (one of SH_BLANK, SH_TICKS, SH_SEQ, SH_COMP, etc. )

Each descriptor (EmbPShowSeq, EmbPShowBlank, EmbPShowTicks, etc.) holds information that could be useful in displaying its type of information.

So, for example:

EmbPShow could have a list of: ----------------------------

EmbPShowInfo->type=SH_BLANK | ->info=EmbPShowBlank | EmbPShowInfo->type=SH_TICKS | ->info=EmbPShowTicks | EmbPShowInfo->type=SH_SEQ | ->info=EmbPShowSeq | EmbPShowInfo->type=SH_COMP | ->info=EmbPShowComp | EmbPShowInfo->type=etc. | ->info=etc. | etc.

Attributes

NameTypeDescription
infovoid*Information descriptor (set of available descriptors)
typeajintType of information (enumerated list)
Paddingchar[4]Padding to alignment boundary


Data type EmbPShowSeq

NUCLEUS data structure for sequence information, type = SH_SEQ

Attributes

NameTypeDescription
numberAjBoolajTrue = number the sequence
threeletterAjBoolajTrue = display proteins in three letter code
upperrangeconst AjPRangerange of sequence to uppercase
highlightconst AjPRangerange of sequence to colour in HTML


Data type EmbPShowBlank

NUCLEUS data structure for blank line information, type = SH_BLANK

Attributes

NameTypeDescription
dummyAjBoolDummy attribute - no specific information needed AJNEW0() falls over if 0 bytes are allocated, so put in this dummy to pad the structure out


Data type EmbPShowTicks

NUCLEUS data structure for tick line information, type = SH_TICK

Attributes

NameTypeDescription
dummyAjBoolDummy attribute - no specific information needed AJNEW0() falls over if 0 bytes are allocated, so put in this dummy to pad the structure out


Data type EmbPShowTicknum

NUCLEUS data structure for tick number line information, type = SH_TICKNUM

Attributes

NameTypeDescription
dummyAjBoolDummy attribute - no specific information needed AJNEW0() falls over if 0 bytes are allocated, so put in this dummy to pad the structure out


Data type EmbPShowTran

NUCLEUS data structure for translation information, type = SH_TRAN

Attributes

NameTypeDescription
transeqAjPSeqCopy of our stored translation
trnTableconst AjPTrntranslation table
frameajint1,2,3,-1,-2 or -3 = frame to translate
threeletterAjBoolajTrue = display in three letter code
numberAjBoolajTrue = number the translation
tranposajuintstore of translation position for numbering
regionsconst AjPRangeonly translate in these regions, NULL = do all
orfminsizeajuintminimum size of ORF to display
lcinterorfAjBoolajTrue = put the inter-orf regions in lower case
firstorfAjBoolajTrue = beginning of the seq is a possible ORF
lastorfAjBoolajTrue = end of the seq is a possible ORF
showframeAjBoolajTrue = write the frame number
Paddingchar[4]Padding to alignment boundary


Data type EmbPShowComp

NUCLEUS data structure for sequence complement information, type = SH_COMP

Attributes

NameTypeDescription
numberAjBoolajTrue = number the complement


Data type EmbPShowRE

NUCLEUS data structure for RE cut site information, type = SH_RE

Attributes

NameTypeDescription
senseajint1 or -1 = sense to display
flatAjBoolajTrue = display in flat format with recognition sites
matchesAjPListlist of AjPMatmatch matches
plasmidAjBoolajTrue = Circular (plasmid) sequence. Needed so that when we display sequences we can decide whether to show cuts that go past the origin in either direction
hitsajuintnumber of hits in list
sitelistAjPListlist of EmbSShowREsite


Data type EmbPShowFT

NUCLEUS data structure for Feature information, type = SH_FT

Attributes

NameTypeDescription
featAjPFeattableFeature table


Data type EmbPShowNote

NUCLEUS data structure for annotation information, type = SH_NOTE

Attributes

NameTypeDescription
regionsconst AjPRangeregions to annotate, NULL = no regions


Data type EmbPShowREsite

NUCLEUS data structure for Restriction Enzyme cut site position list node

Attributes

NameTypeDescription
nameAjPStrname of Restriction Enzyme
posajintcut site position
Paddingchar[4]Padding to alignment boundary