FeatureItem Class |
Namespace: Bio.IO.GenBank
The FeatureItem type exposes the following members.
Name | Description | |
---|---|---|
FeatureItem(FeatureItem) |
Private Constructor for clone method.
| |
FeatureItem(String, ILocation) |
Creates new feature item with given key and location.
| |
FeatureItem(String, String) |
Creates feature item with given key and location.
Note that this constructor uses LocationBuilder to construct location object from the specified
location string.
|
Name | Description | |
---|---|---|
Key |
Gets the key for this item. These are not necessarily unique within a list,
which is why this is a property of an object to be included in a list, rather than
omitting this as a property and using a dictionary instead of a list.
| |
Label |
A label used to permanently tag a feature.
| |
Location |
Gets the location of this feature in the sequence.
This may also refers to other genbank files.
For example,
join(100..200,J00194.1:1..150)
In this example location specifies joining of bases from 100 to 200 from the sequence
in which this location data present and bases from 1 to 150 from the sequence who's
accession number is J00194.1.
| |
Qualifiers |
Gets the dictionary of attributes.
|
Name | Description | |
---|---|---|
Clone |
Creates a new FeatureItem that is a copy of the current FeatureItem.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetQualifier |
Returns list of qualifier values for the specified qualifier name.
| |
GetSingleBooleanQualifier |
Returns bool value indicating whether the specified qualifier is there in the feature or not.
| |
GetSingleTextQualifier |
Returns qualifier value for the specified qualifier name.
Note: This method should be used to get the text value of a
qualifier which appears only once in a feature.
| |
GetSubFeatures |
Gets the sub features depending on the location information.
| |
GetSubSequence(ISequence) |
Returns a new sequence from the specified sequence which contains bases of this feature as specified by
the location property of this feature.
| |
GetSubSequence(ISequence, DictionaryString, ISequence) |
Returns a sequence which contains bases from the specified sequences as specified by this feature location.
If the location contains accession then the sequence from the referredSequences which matches the
accession of the location will be considered.
For example,
If a location is "join(100..200, J00089.1:10..50, J00090.2:30..40)"
bases from 100 to 200 will be taken from the parent sequence and referredSequences will
be searched for the J00089.1 and J00090.2 accession if found then those sequences will be considered
for constructing the output sequence.
If the referred sequence is not found in the referredSequences then an exception will occur.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SetSingleBooleanQualifier |
Sets the value for the specified qualifier name.
Note: This method should be used to add a qualifier which
appears only once in a feature and whose value is none.
| |
SetSingleTextQualifier |
Sets the value for the specified qualifier name.
Note: This method should be used to set the text value of a
qualifier which appears only once in a feature.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |