source: branches/stable/lib/inputMasks/gene_test.mask

Last change on this file was 5768, checked in by westram, 15 years ago
  • rewrote genome importer
  • remove redundant 'translation' entries of genes during import
  • whole code is using
    • 'pos_start' instead of 'pos_begin*'
    • 'pos_stop' instead of 'pos_end*'
    • 'pos_certain' instead of 'pos_uncertain*'
    • 'pos_complement' instead of 'complement'
  • convert gene locations in old genome DBs into new format
  • added several gene functions to ARBDB
    • GEN_create_nonexisting_gene…()
    • GEN_find_or_create_gene..()
    • GEN_global_gene_identifier()
  • added code to handle gene locations into ARBDB (type GEN_position represents every flavour of a Genbank/EMBL feature location)
  • added GBT_write_byte()
  • rewrote GBT_read_gene_sequence() (adding GBT_read_gene_sequence_and_length)
  • changed codon tables according to NCBI code info
    • added start codon(s) for code 3, 9, 13
    • changed code names
  • when importing to a new DB, reset DB type if import fails (before ARB had to be restarted, after one try with wrong genome/non-genome import)
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 752 bytes
Line 
1ARB-Input-Mask
2# This is a simple user-mask example.
3
4# What to edit
5@ITEMTYPE=Gene
6
7# Title of the user-mask-window
8@TITLE=Gene: Test mask
9
10# Spacing in window
11@X_SPACING=5
12@Y_SPACING=3
13
14# Show edit/reload button
15@EDIT=1
16
17# ---------------------------
18# The definition of the mask:
19
20@MASK_BEGIN
21
22    TEXT("Switch to..") OPENMASK("Basic fields (illegal mask type)","basic_fields.mask")
23
24    NEW_SECTION()
25    TEXT("You are editing '") SELF() TEXT("'")
26
27    NEW_SECTION()
28
29    TEXTFIELD("Name       ",  "name" , 40)
30    TEXTFIELD("Start      ",  "pos_start" , 15)        TEXTFIELD("End       ",  "pos_stop" , 15)  CHECKBOX("Complement","pos_complement",0)
31
32    TEXTFIELD("Codon start","codon_start",1)
33    TEXTFIELD("Note       ","note",50)
34
35
36@MASK_END
Note: See TracBrowser for help on using the repository browser.