def __init__(self, sequence="", sequenceFile=""):
        """
        sequencePermutant objects, like sequenceParameter objects, can be initialized by either an amino acid sequence as a string, or a sequence file. Such sequence files can be FASTA files, or simply an amino acid sequence in a text file.

        """

        warn_notReadyYet()

        # provide the flexibility to submit either a sequence
        # file or an actual sequence as a string
        if sequence == "" and sequenceFile == "":
            return None

        # if the sequence isn't empty constuct a local
        # sequence object using the sequence
        if not sequence == "":
            self.SeqObj = Sequence(sequence)
        else:
            parserMachine = SequenceFileParser()
            self.SeqObj = Sequence(parserMachine.parseSeqFile(sequenceFile))

        self.WL_ready = False
Example #2
0
    def __init__(self, sequence="", sequenceFile=""):
        """
        sequencePermutant objects, like sequenceParameter objects, can be initialized by either an amino acid 
        sequence as a string, or a sequence file. Such sequence files can be FASTA files, or simply an amino 
        acid sequence in a text file.

        """

        warn_notReadyYet()

        # provide the flexibility to submit either a sequence
        # file or an actual sequence as a string
        if sequence == "" and sequenceFile == "":
            return None

        # if the sequence isn't empty constuct a local
        # sequence object using the sequence
        if not sequence == "":
            self.SeqObj = Sequence(sequence)
        else:
            parserMachine = SequenceFileParser()
            self.SeqObj = Sequence(parserMachine.parseSeqFile(sequenceFile))

        self.WL_ready = False
Example #3
0
 def run_wang_landau_DOS(self, binmin, minmax, numberofBins):
     # self.__readyCheck()
     warn_notReadyYet()
Example #4
0
 def run_generatePermutants(self, numSequencesPerBin):
     warn_notReadyYet()
Example #5
0
 def run_histogramZoom_DOS_estimation(self, nbins):
     warn_notReadyYet()
 def run_generatePermutants(self, numSequencesPerBin):
     warn_notReadyYet()
 def run_histogramZoom_DOS_estimation(self, nbins):
     warn_notReadyYet()
 def run_wang_landau_DOS(self, binmin, minmax, numberofBins):
     # self.__readyCheck()
     warn_notReadyYet()