MacVector icon

Metatags

By default the label of a graphical feature (symbol) will show the full text description of a feature and all its qualifiers (see the first metatag in the list below). Metatags allow you to build a specific set of information that is displayed in the label. For example using the code below will show the name and location of a feature. This is the default label for restriction enzyme sites.

			<Description> (<Start>) 
		
The full list of metatags is: The following metatag applies only to feature graphic types and is disabled for others: The following three metatags apply only to restriction enzyme cut sites and are disabled for other features:

Incidentally the last three metatags do provide very useful information on restriction enzyme cut sites, especially for cloning. e.g. <Desc> (<Index>/<Total>) would generate labels like "BamHI (1/3)", which means it's the first cut site our of a total of three, "BamHI (2/3)" second of three etc.

You can also use metatags to display subsets of information in the feature description using qualifier information. Qualifiers are GenBank tags that supply extra information about a Feature keyword other than the type and location that are already supplied. Some Feature Keywords have mandatory qualifers, whereas some are entirely optional and can have none. For example the Feature Keyword CDS might contain the Gene name (/gene), the translated product (/product), the actual translation (/translation) and perhaps even the protein's function (/function). As an example of a mandatory qualifier the Source Feature Type must contain the /organism qualifier. You can read the full set of Feature Keywords and Qualifiers on the NCBI's Feature Table page.

The <Description> metatag is an exception. If it displayed the entire set of Qualifiers then the label would be too long and possibly confusing. So there are a set of rules to determine what is displayed for the <Description> metatag.

  1. /label is displayed and overrides everything if present
  2. Otherwise if the feature is C_region, D_region, exon, gene, J_segment, mat_peptide, mRNA, ncRNA, N_region, CDS, precursor_RNA, misc_RNA, rRNA, sig_peptide, misc_feature, S_region, tmRNA, transit_peptide, tRNA, variation, V_region, V_segment, then use /gene if present, otherwise use /product if present.
  3. Otherwise use /note
  4. Otherwise use entire description

Using the actual qualifier as a metatag will just use that specfic piece of information instead. For example <gene>(<number>)" will display My Gene (1) if the qualifiers /gene="My Gene" and /number="1" are present in the feature description. Using a specific qualifier usually provides a far more succinct label than the full <Description>, particularly for feature-rich sequences imported from GenBank or Entrez. Please note that Qualifier based meta-tags are skipped if the qualifier doesn't exist in the feature description.

Metatags are case insensitive and if a metatag is not found it will be removed from the label string.

Finally to make all this easier there is a popup menu in the Feature Symbol editor that lets you view all of the available meta-tags and insert them into the label. Click on the small triangle to the left of the label edit box.

Related Topics.

MacVector Preferences

Symbol editor

Result panel

Title panel

Ruler panel

Sequence panel

Segment map panel