Class DNASequence

    • Method Detail

      • getRNASequence

        public RNASequence getRNASequence()
        Return the RNASequence equivalent of the DNASequence using default Transcription Engine. Not all species follow the same rules. If you don't know better use this method
        Returns:
        RNA sequence
      • getRNASequence

        public RNASequence getRNASequence​(TranscriptionEngine engine)
        Allow a user to pass in a rules engine to do the DNA to RNA translation
        Parameters:
        engine -
        Returns:
        RNA sequence
      • getRNASequence

        public RNASequence getRNASequence​(Frame frame)
        Allows the user to pass in the Frame shift.
        Parameters:
        frame -
        Returns:
        rna sequence
      • getGCCount

        public int getGCCount()
        Get the GC count in the DNA Sequence
        Returns:
        GC count
      • setDNAType

        public void setDNAType​(DNASequence.DNAType dnaType)
        Parameters:
        dnaType - the dnaType to set
      • main

        public static void main​(java.lang.String[] args)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception