Example #1
0
    def option_controller( self, *args, **kwargs ) :

        PipelineFrame.option_controller( self )

        self.Pipeline.set( self.label2pipeline[self.PipelineLabel.get()] )
        print( self.Pipeline.get() )

        if self.Pipeline.get() == 'cellranger' :
            self.clusterOpts.grid_forget()
            self.crOpts.grid(row=8,column=0, columnspan=6, sticky=W, padx=20, pady=10 )
            self.qcOpts.grid_forget()
            self.multiclusterOpts.grid_forget()
        elif self.Pipeline.get() == 'scrnaseqcluster' :
            self.clusterOpts.grid( row=8, column=0, columnspan=4, sticky=W, padx=20, pady=10 )
            self.crOpts.grid_forget()
            self.qcOpts.grid_forget()
            self.multiclusterOpts.grid_forget()
        elif self.Pipeline.get() == 'scrnaseqinit' :
            self.clusterOpts.grid_forget()
            self.crOpts.grid_forget()
            self.qcOpts.grid( row=8, column=0, columnspan=4, sticky=W, padx=20, pady=10 )
            self.multiclusterOpts.grid_forget()
        elif self.Pipeline.get() == 'scrnaseqmulticluster' :
            self.clusterOpts.grid_forget()
            self.crOpts.grid_forget()
            self.qcOpts.grid_forget()
            self.multiclusterOpts.grid( row=8, column=0, columnspan=4, sticky=W, padx=20, pady=10 )
Example #2
0
    def option_controller(self, *args, **kwargs):

        PipelineFrame.option_controller(self)

        self.Pipeline.set(self.label2pipeline[self.PipelineLabel.get()])
        print(self.Pipeline.get())

        if self.Pipeline.get() == 'initialqcrnaseq':
            self.om4.grid_forget()
            self.sampleLF.grid_forget()
            self.info.grid_forget()
        elif self.Pipeline.get() == 'rnaseq':
            self.om4.grid(row=6, column=1, sticky=W, padx=10, pady=5)
            self.sampleLF.grid(row=8,
                               column=0,
                               columnspan=4,
                               sticky=W,
                               padx=20,
                               pady=10)
            self.info.grid(row=10,
                           column=0,
                           columnspan=6,
                           sticky=W,
                           padx=20,
                           pady=10)
        else:
            self.om4.grid_forget()
            self.sampleLF.grid_forget()
            self.info.grid_forget()
Example #3
0
 def option_controller( self, *args, **kwargs ) :
     PipelineFrame.option_controller( self )
     
     if self.Pipeline.get() == 'exomeseq-somatic' :
         self.add_pairs( self.eframe )
         #self.dry_button.config( state="disabled" )
     elif self.Pipeline.get() != 'exomeseq-somatic' :
         self.del_pairs( self.eframe )
Example #4
0
    def option_controller(self, *args, **kwargs):
        PipelineFrame.option_controller(self)
        self.Pipeline.set(self.label2pipeline[self.PipelineLabel.get()])
        print(self.Pipeline.get())

        if self.Pipeline.get() == 'exomeseq-somatic':
            self.add_pairs(self.eframe)
            #self.dry_button.config( state="disabled" )
        elif self.Pipeline.get() != 'exomeseq-somatic':
            self.del_pairs(self.eframe)
Example #5
0
    def option_controller( self, *args, **kwargs ) :
        PipelineFrame.option_controller( self )

        self.Pipeline.set( self.label2pipeline[self.PipelineLabel.get()] )
        print( self.Pipeline.get() )

        if self.Pipeline.get() == 'wgs-somatic' :
            self.add_pairs( self.eframe )
            #self.dry_button.config( state="disabled" )
        elif self.Pipeline.get() != 'wgs-somatic' :
            self.del_pairs( self.eframe )
Example #6
0
 def option_controller(self, *args, **kwargs):
     PipelineFrame.option_controller(self)
     if self.Pipeline.get() == 'InitialChIPseqQC':
         self.info.grid_forget()
     else:
         self.info.grid(row=7,
                        column=0,
                        columnspan=6,
                        sticky=W,
                        padx=20,
                        pady=10)
Example #7
0
 def option_controller(self, *args, **kwargs):
     PipelineFrame.option_controller(self)
     if self.Pipeline.get() == 'initialqcrnaseq':
         self.om4.grid_forget()
         self.sampleLF.grid_forget()
     else:
         self.om4.grid(row=6, column=1, sticky=W, padx=10, pady=5)
         self.sampleLF.grid(row=8,
                            column=0,
                            columnspan=4,
                            sticky=W,
                            padx=20,
                            pady=10)
Example #8
0
    def option_controller(self, *args, **kwargs):

        PipelineFrame.option_controller(self)

        self.Pipeline.set(self.label2pipeline[self.PipelineLabel.get()])
        print(self.Pipeline.get())

        if self.Pipeline.get() == 'miRSeq_v2':
            self.novelMirsFrame.grid(row=5,
                                     column=0,
                                     columnspan=4,
                                     sticky=W,
                                     padx=20,
                                     pady=10)
        elif self.Pipeline.get() == "CAPmirseq-plus":
            self.novelMirsFrame.grid_forget()
Example #9
0
    def option_controller(self, *args, **kwargs):

        PipelineFrame.option_controller(self)

        self.Pipeline.set(self.label2pipeline[self.PipelineLabel.get()])
        print(self.Pipeline.get())

        if self.Pipeline.get() == 'cellranger':
            self.clusterOpts.grid_forget()
            self.crOpts.grid(row=8,
                             column=0,
                             columnspan=6,
                             sticky=W,
                             padx=20,
                             pady=10)
            self.qcOpts.grid_forget()
            self.multiclusterOpts.grid_forget()
        elif self.Pipeline.get() == 'scrnaseqcluster':
            self.clusterOpts.grid(row=8,
                                  column=0,
                                  columnspan=4,
                                  sticky=W,
                                  padx=20,
                                  pady=10)
            self.crOpts.grid_forget()
            self.qcOpts.grid_forget()
            self.multiclusterOpts.grid_forget()
        elif self.Pipeline.get() == 'scrnaseqinit':
            self.clusterOpts.grid_forget()
            self.crOpts.grid_forget()
            self.qcOpts.grid(row=8,
                             column=0,
                             columnspan=4,
                             sticky=W,
                             padx=20,
                             pady=10)
            self.multiclusterOpts.grid_forget()
        elif self.Pipeline.get() == 'scrnaseqmulticluster':
            self.clusterOpts.grid_forget()
            self.crOpts.grid_forget()
            self.qcOpts.grid_forget()
            self.multiclusterOpts.grid(row=8,
                                       column=0,
                                       columnspan=4,
                                       sticky=W,
                                       padx=20,
                                       pady=10)
Example #10
0
 def option_controller(self, *args, **kwargs):
     PipelineFrame.option_controller(self)
     if self.Pipeline.get() == 'InitialChIPseqQC':
         self.info.grid_forget()
         self.om_peaks.grid(row=7,
                            column=0,
                            columnspan=6,
                            sticky=W,
                            padx=20,
                            pady=10)
     elif self.Pipeline.get() == 'ChIPseq':
         self.info.grid(row=7,
                        column=0,
                        columnspan=6,
                        sticky=W,
                        padx=20,
                        pady=10)
         contrast_file = join(self.workpath.get(), self.contrast_fn)
         print(contrast_file)
         if not os.path.exists(contrast_file):
             open(contrast_file, 'a').close()
Example #11
0
    def option_controller(self, *args, **kwargs):

        PipelineFrame.option_controller(self)

        self.Pipeline.set(self.label2pipeline[self.PipelineLabel.get()])
        print(self.Pipeline.get())

        if self.Pipeline.get() == 'scrnaQC':
            self.deOptions.grid_forget()
            self.qcOptions.grid(row=8,
                                column=0,
                                columnspan=6,
                                sticky=W,
                                padx=20,
                                pady=10)

        elif self.Pipeline.get() == 'scrnaDE':
            self.deOptions.grid(row=8,
                                column=0,
                                columnspan=4,
                                sticky=W,
                                padx=20,
                                pady=10)
            self.qcOptions.grid_forget()
Example #12
0
 def option_controller( self, *args, **kwargs ) :
     PipelineFrame.option_controller( self )
     if self.Pipeline.get() == 'InitialChIPseqQC' :
         self.info.grid_forget()
     else :
    	    self.info.grid(row=7,column=0, columnspan=6, sticky=W, padx=20, pady=10 )