embshow


Data type EmbPShow

NUCLEUS data structure for EmbPShow object for a sequence

Attributes

NameTypeDescription
listlist of EmbPShowInfo structures

Attributes

NameTypeDescription
seqthe sequence
nucleicajTrue = the sequence is nucleic
offsetoffset to start numbering at
startsequence position to start printing at
endsequence position to stop printing at

Attributes

NameTypeDescription
widthwidth of sequence to display on each line
lengthlength of a page (0 = indefinite)
marginmargin for numbers
htmlajTrue = 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
infoInformation descriptor (set of available descriptors)
typeType of information (enumerated list)
PaddingPadding to alignment boundary


Data type EmbPShowSeq

NUCLEUS data structure for sequence information, type = SH_SEQ

Attributes

NameTypeDescription
numberajTrue = number the sequence
threeletterajTrue = display proteins in three letter code
upperrangerange of sequence to uppercase
highlightrange of sequence to colour in HTML


Data type EmbPShowBlank

NUCLEUS data structure for blank line information, type = SH_BLANK

Attributes

NameTypeDescription
dummyDummy 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
dummyDummy 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
dummyDummy 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
transeqCopy of our stored translation
trnTabletranslation table
frame1,2,3,-1,-2 or -3 = frame to translate
threeletterajTrue = display in three letter code
numberajTrue = number the translation
tranposstore of translation position for numbering
regionsonly translate in these regions, NULL = do all
orfminsizeminimum size of ORF to display
lcinterorfajTrue = put the inter-orf regions in lower case
firstorfajTrue = beginning of the seq is a possible ORF
lastorfajTrue = end of the seq is a possible ORF
showframeajTrue = write the frame number
PaddingPadding to alignment boundary


Data type EmbPShowComp

NUCLEUS data structure for sequence complement information, type = SH_COMP

Attributes

NameTypeDescription
numberajTrue = number the complement


Data type EmbPShowRE

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

Attributes

NameTypeDescription
sense1 or -1 = sense to display
flatajTrue = display in flat format with recognition sites
matcheslist of AjPMatmatch matches
plasmidajTrue = 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
hitsnumber of hits in list
sitelistlist of EmbSShowREsite


Data type EmbPShowFT

NUCLEUS data structure for Feature information, type = SH_FT

Attributes

NameTypeDescription
featFeature table


Data type EmbPShowNote

NUCLEUS data structure for annotation information, type = SH_NOTE

Attributes

NameTypeDescription
regionsregions to annotate, NULL = no regions


Data type EmbPShowREsite

NUCLEUS data structure for Restriction Enzyme cut site position list node

Attributes

NameTypeDescription
namename of Restriction Enzyme
poscut site position
PaddingPadding to alignment boundary