#-------------------------------------------------------------------------------
# Jalview - A Sequence Alignment Editor and Viewer (Version 2.5.1)
# Copyright (C) 2010 J Procter, AM Waterhouse, G Barton, M Clamp, S Searle
#
# This file is part of Jalview.
#
# Jalview is free software: you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
#
# Jalview is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty
# of MERCHANTABILITY or FITNESS FOR A PARTICULAR
# PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along with Jalview. If not, see
Jalview can create sequence features from the matches of a regular expression search, or from the currently selected area via the "selection→Create sequence feature" entry in the selection area popup menu. In both cases, the Create Features dialog box will then be opened:
Select or enter the attributes for the features being created, and then press OK to create the new features.
Each attribute is described below:
Either give the new features a new name or use the menu to re-use an existing feature name.
Enter a new group name, or re-use an existing group from the pull-down menu.
Keep the existing colour for this feature's name and group, or select the colour box to open a colour chooser to pick a different one.
Enter a description for all the features being created. Each feature defined on a sequence may have its own description that will be displayed in the tooltip for the feature in that region.
Sequence Feature Creation was introduced in Jalview Version 2.2