Package org.snpeff.genBank
Class Feature
java.lang.Object
org.snpeff.genBank.Feature
- All Implemented Interfaces:
Iterable<FeatureCoordinates>
A feature in a GenBank or EMBL file
- Author:
- pablocingolani
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFeature
(Feature.Type type, String def) Feature
(Feature.Type type, String def, int start, int end, boolean complement, int lineNum) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
COMPLEMENT_STRING
- See Also:
-
-
Constructor Details
-
Feature
-
Feature
-
-
Method Details
-
add
-
get
Get a qualifier by name -
getAasequence
Get translated amino acid sequence -
getEnd
public int getEnd() -
getGeneId
-
getGeneName
Get gene name from feature -
getMaturePeptideId
Create an ID based on a feature -
getStart
public int getStart() -
getTranscriptId
Create a transcript ID based on a feature -
getType
-
hasMultipleCoordinates
public boolean hasMultipleCoordinates() -
isComplement
public boolean isComplement() -
isRibosomalSlippage
public boolean isRibosomalSlippage() -
iterator
- Specified by:
iterator
in interfaceIterable<FeatureCoordinates>
-
toString
-