Class Gene

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
NcRNA

public class Gene extends Sequence
See Also:
  • Constructor Details

    • Gene

      public Gene()
    • Gene

      public Gene(String name, int from, int to, char strand)
  • Method Details

    • getGeneDownstream

      public Gene getGeneDownstream()
      Return the gene downstream on the + strand
      Parameters:
      gene -
      Returns:
    • getGeneUpstream

      public Gene getGeneUpstream()
      Return the gene upstream on the + strand
      Parameters:
      gene -
      Returns:
    • load

      public static Gene load(String fileName)
      Load a serialized Gene
      Parameters:
      fileName -
      Returns:
    • getInfo

      public String getInfo()
      Return a String containing getProduct() and getComment() information
      Returns:
    • getRASTinfo

      public String getRASTinfo()
    • getGeneName

      public String getGeneName()
    • setGeneName

      public void setGeneName(String geneName)
    • getProduct

      public String getProduct()
    • setProduct

      public void setProduct(String product)
    • getProtein_id

      public String getProtein_id()
    • setProtein_id

      public void setProtein_id(String protein_id)
    • getLengthAA

      public int getLengthAA()
    • setLengthAA

      public void setLengthAA(int lengthAA)
    • getOperon

      public String getOperon()
    • setOperon

      public void setOperon(String operon)
    • getCog

      public String getCog()
    • setCog

      public void setCog(String cog)
    • getMolMass

      public double getMolMass()
    • setMolMass

      public void setMolMass(double molMass)
    • getOldLocusTag

      public String getOldLocusTag()
    • setOldLocusTag

      public void setOldLocusTag(String oldLocusTag)
    • getNewLocusTag

      public String getNewLocusTag()
    • setNewLocusTag

      public void setNewLocusTag(String newLocusTag)
    • getSerialversionuid

      public static long getSerialversionuid()
    • isPseudogene

      public boolean isPseudogene()
    • setPseudogene

      public void setPseudogene(boolean pseudogene)