Class Feature

java.lang.Object
org.snpeff.genBank.Feature
All Implemented Interfaces:
Iterable<FeatureCoordinates>

public class Feature extends Object implements Iterable<FeatureCoordinates>
A feature in a GenBank or EMBL file
Author:
pablocingolani
  • Field Details

  • Constructor Details

  • Method Details

    • add

      public void add(FeatureCoordinates fc)
    • get

      public String get(String name)
      Get a qualifier by name
    • getAasequence

      public String getAasequence()
      Get translated amino acid sequence
    • getEnd

      public int getEnd()
    • getGeneId

      public String getGeneId()
    • getGeneName

      public String getGeneName()
      Get gene name from feature
    • getMaturePeptideId

      public String getMaturePeptideId()
      Create an ID based on a feature
    • getStart

      public int getStart()
    • getTranscriptId

      public String getTranscriptId()
      Create a transcript ID based on a feature
    • getType

      public Feature.Type getType()
    • hasMultipleCoordinates

      public boolean hasMultipleCoordinates()
    • isComplement

      public boolean isComplement()
    • isRibosomalSlippage

      public boolean isRibosomalSlippage()
    • iterator

      public Iterator<FeatureCoordinates> iterator()
      Specified by:
      iterator in interface Iterable<FeatureCoordinates>
    • toString

      public String toString()
      Overrides:
      toString in class Object