Class ProteinSequence

All Implemented Interfaces:
Iterable<AminoAcidCompound>, Accessioned, Sequence<AminoAcidCompound>

public class ProteinSequence extends AbstractSequence<AminoAcidCompound>
The representation of a ProteinSequence
Author:
Scooter Willis, Paolo Pavan
  • Constructor Details

  • Method Details

    • setParentDNASequence

      public void setParentDNASequence(AbstractSequence<NucleotideCompound> parentDNASequence, Integer begin, Integer end)
      A Protein sequence can be stand alone or loaded from a transcript sequence. The design goal is to allow the creation of a Protein sequence from a Uniprot ID or some other Protein ID that based on cross reference you should be able to get the GeneSequence that codes for the protein if the CDS/Gene region is known. From the GeneSequence you should then be able to get the ChromosomeSequence which then allows you explore flaning regions of the gene sequences. The framework is in place to do this but currently hasn't been implement in the reverse direction starting from the Protein sequence.
      Parameters:
      parentDNASequence -
      begin -
      end -
    • main

      public static void main(String[] args) throws Exception
      Throws:
      Exception