SequenceDatabase is a term that refers to sequences and annotations together. The Feature Table file format such as GenBank (*.gb, *.gbs, *.gbk) or EMBL (*.dat) is widely used across public data repositories.


See the DDBJ/ENA/GenBank Feature Table Definition for more information.

A SequenceDatabase of Brassica napus chromosome A1 (shown below) contains features such as source, gene, mRNA, CDS, and ncRNA. The source feature defines organism and chromosome meta data. A valid protein coding gene may consist of gene, mRNA, and CDS. RNA genes may be defined as single features such as ncRNA, miscRNA, etc.

LOCUS       NW_013650291        46747018 bp    DNA     linear   CON 31-AUG-2015
DEFINITION  Brassica napus cultivar ZS11 chromosome A1 genomic scaffold,
            Brassica_napus_assembly_v1.0 A01, whole genome shotgun sequence.
ACCESSION   NW_013650291 GPS_010492900
VERSION     NW_013650291.1  GI:919453751
DBLINK      BioProject: PRJNA293435
            Assembly: GCF_000686985.1
            BioSample: SAMN02742820
SOURCE      Brassica napus (rape)
  ORGANISM  Brassica napus
            Eukaryota; Viridiplantae; Streptophyta; Embryophyta; Tracheophyta;
            Spermatophyta; Magnoliophyta; eudicotyledons; Gunneridae;
            Pentapetalae; rosids; malvids; Brassicales; Brassicaceae;
            Brassiceae; Brassica.
REFERENCE   1  (sites)
  AUTHORS   Lowe,T.M. and Eddy,S.R.
  TITLE     tRNAscan-SE: a program for improved detection of transfer RNA genes
            in genomic sequence
  JOURNAL   Nucleic Acids Res. 25 (5), 955-964 (1997)
   PUBMED   9023104
  REMARK    This is the methods paper for tRNAscan-SE.
COMMENT     REFSEQ INFORMATION: The reference sequence is identical to
            Assembly name: Brassica_napus_assembly_v1.0
            The genomic sequence for this RefSeq record is from the
            whole-genome assembly released by the BGI-Shenzhen on 2014/05/15.
            The original whole-genome shotgun project has the accession
FEATURES             Location/Qualifiers
     source          1..46747018
                     /organism="Brassica napus"
                     /mol_type="genomic DNA"
     gene            complement(1834..2645)
                     /note="Derived by automated computational analysis using
                     gene prediction method: Gnomon."
     mRNA            complement(join(1834..2065,2142..2274,2387..2645))
                     /product="protein WVD2-like 1"
                     /note="Derived by automated computational analysis using
                     gene prediction method: Gnomon. Supporting evidence
                     includes similarity to: 6 Proteins"
     CDS             complement(join(1834..2065,2142..2274,2387..2645))
                     /note="Derived by automated computational analysis using
                     gene prediction method: Gnomon."
                     /product="protein WVD2-like 1"
     ncRNA           join(478959..479017,479093..479180,479284..479320)
                     /product="uncharacterized LOC106369563"
                     /note="Derived by automated computational analysis using
                     gene prediction method: Gnomon. Supporting evidence
                     includes similarity to: 100% coverage of the annotated
                     genomic feature by RNAseq alignments, including 2 samples
                     with support for all annotated introns"

ProcessRun Section

The ProcessRun section contains information about data loading. It is highly recommended to create a new process run each time you load the data. An example ProcessRun section is shown below.

; Run description: if specified, a custom description will be used. Will be ignored if a RunId is specified.
;                  otherwise, "Added sequences and annotations for {MapSet Accession No.} from {Sources}." will be used.
RunDescription="Added Brassica_napus_assembly_v1.0 genome from"

MapSet and MapSetTree Sections

The MapSet and MapSetTree sections are required. Sample MapSet and MapSetTree sections are shown below. Please see Add Map Set, Maps, and Sequences for more details.

; 1. Using existing MapSet
; MapSet ID: if specified, it adds sequences to the existing MapSet.
;            otherwise, a new MapSet should be specified below.
; 2. Adding new MapSet
; Organism ID (required): organism ID should exist.
; Display name (required): a name shown in MapSetTree. Usually a assembly build name.
; Description: by default, organism name + display name.
Description="Brassica_napus assembly v1.0"
; AccessionNo: accession of the genome build. Re
; SourceId
; 1. Using existing MapSetTree node
; Node ID: if specified, the MapSet with the new sequences will be placed on this node.
; 2. Adding new MapSetTree node to a parent node
; Parent node ID: if specified, the MapSet with the new sequences will be placed under this
 parent node as a child.
; 3. Adding new MapSetTree node under a new root node
; Root node name: usually an organism name. Ignored if the root name already exists.
;RootNodeName="Homo sapiens"
; Root node order number: order of the root node in the MapSetTree. By default, 0.

Method Section

The Method is used to add or update annotation methods. A sample Method section is shown below. Please see Add Gene Annotations for more details.

; To add a new annotation method, specify a method name, CDS flag and a color to be shown in the annotation track.
; CDS flag is a boolean value that indicates if the annotation method is for CDS or not.
; Supported color name is available in
; If a method already exists, it will be updated. Otherwise, a new method will be added.
;Name=IsCds,{NamedColor|HTML hex code|R,G,B}

SequenceDatabase Section

The SequenceDatabase section defines file type, sources, track sections, and other annotations.

; Format: GenBank or Embl
; Sources (required): GenBank file(s) of genomic DNA sequence located locally or remotely
 accessible via URL.
; Tracks (required): comma delimited. Corresponding section(s) named the same must exist
;                    At least one track need to be specified.
; PopulateChromosome: indicates if the chromosome table is populated or not. (true by default)
; IgnoreWrongAnnots: ignore wrongly translated annotations. True by default.
; Commit frequency: indicates how often the process commits annotations. Every N annotations.

Each track section defined above in the Tracks parameter in SequenceDatabase section describes which data will be loaded from the data sources.

GenBank Section

The following shows an example [Genbank] section.

; Method (required): annotation method. If new, should be specified in METHOD section.
; Track name (required): name of track
; TrackDescription: track description
; FeatureKey: Feature key of annotation items.
; Qualifier: qualifiers to be loaded

You can optionally specify FeatureKey as a specific feature to load. This option is very rarely used, as, if FeatureKey is not specified, PersephoneShell automatically parses gene structure from standard records gene, mRNA, CDS, and so on.

To load qualifiers from different features, specify key and qualifier as a pair. It is possible to rename the qualifiers and assign a display text for the key. For example, /protein_id qualifier in the CDS feature can be specified as

Qualifier.CDS.protein_id="Protein ID","GenBank Protein ID".

The first part of this assignment tells which qualifier in the file to process (protein_id). The second part assigns the qualifier key ("Protein ID") that will be used to store the key-value pair in the database, and the display text that replaces the key when shown in Persephone.

QualifierLinks and AnnotationSearches Sections

Sample QualifierLinks and AnnotationSearches sections are shown below. Please see Add Gene Annotations for more information about these sections.

; Link qualifier name-value to external source.
; Add qualifier name-value to search term [GeneName|GeneFunction]