示例#1
0
 def set_scores(self,
                scoring_function=Functions.analyze_structure_mfe_rnafold):
     self.scores.update(
         Functions.appendLabelToDict(
             scoring_function(filename=self.structurefile,
                              project_dir=self.solution.project_dir),
             self.label))
示例#2
0
 def set_scores(self,
                scoring_function=Functions.analyze_duplex_structure_rnafold
                ):
     self.scores.update(
         Functions.appendLabelToDict(
             scoring_function(seq1=self.rnaMolecule1seq,
                              seq2=self.rnaMolecule2seq,
                              filename=self.duplexFile,
                              project_dir=self.solution.project_dir),
             self.label))
示例#3
0
 def set_scores(self, scoring_function=Functions.analyze_duplex_structure):
     self.scores.update(
         Functions.appendLabelToDict(
             scoring_function(self.rnaMolecule1seq, self.rnaMolecule2seq,
                              self.duplexFile), self.label))
     pass
示例#4
0
 def set_scores(self, scoring_function=Functions.analyze_duplex_mfe):
     self.scores.update(
         Functions.appendLabelToDict(scoring_function(self.duplexFile),
                                     self.label))
示例#5
0
 def set_scores(self, scoring_function=Functions.analyze_pwm_score):
     self.scores = Functions.appendLabelToDict(
         scoring_function(self.sequence, self.pwm), self.label)
示例#6
0
 def set_scores(self, scoring_function=Functions.analyze_structure_prob):
     #compute structure
     self.scores.update(
         Functions.appendLabelToDict(
             scoring_function(self.sequence, self.structurefile,
                              self.window, self.acc_region), self.label))
示例#7
0
 def set_scores(self, scoring_function=Functions.analyze_structure_ds):
     self.scores.update(
         Functions.appendLabelToDict(scoring_function(self.structurefile),
                                     self.label))
 def set_scores(self, scoring_function=Functions.analyze_ntcontent):
     self.scores = Functions.appendLabelToDict(
         scoring_function(self.sequence), self.label)