Class ArrayDesignSequenceManipulatingCli

    • Field Detail

      • auditTrailService

        @Autowired
        protected ubic.gemma.persistence.service.common.auditAndSecurity.AuditTrailService auditTrailService
      • auditEventService

        @Autowired
        protected ubic.gemma.persistence.service.common.auditAndSecurity.AuditEventService auditEventService
      • entityLocator

        @Autowired
        protected EntityLocator entityLocator
    • Constructor Detail

      • ArrayDesignSequenceManipulatingCli

        protected ArrayDesignSequenceManipulatingCli()
    • Method Detail

      • getArrayDesignsToProcess

        protected Collection<ubic.gemma.model.expression.arrayDesign.ArrayDesign> getArrayDesignsToProcess()
      • buildOptions

        protected void buildOptions​(org.apache.commons.cli.Options options)
        Description copied from class: AbstractCLI
        Build option implementation.

        Implement this method to add options to your command line, using the OptionBuilder.

        This is called right after AbstractCLI.buildStandardOptions(Options) so the options will be added after standard options.

        Overrides:
        buildOptions in class AbstractCLI
      • getArrayDesignReportService

        protected ubic.gemma.core.analysis.report.ArrayDesignReportService getArrayDesignReportService()
      • getArrayDesignService

        protected ubic.gemma.persistence.service.expression.arrayDesign.ArrayDesignService getArrayDesignService()
      • isSubsumedOrMerged

        protected boolean isSubsumedOrMerged​(ubic.gemma.model.expression.arrayDesign.ArrayDesign arrayDesign)
        Parameters:
        arrayDesign - the array design to check
        Returns:
        true if the sequences on the given array design would be equivalently treated by analyzing another array design. In the case of subsumption, this only works if the array design has been either analyzed for subsuming status. (the analysis is not done as part of this call).
      • shouldRun

        protected boolean shouldRun​(Date skipIfLastRunLaterThan,
                                    ubic.gemma.model.expression.arrayDesign.ArrayDesign design,
                                    Class<? extends ubic.gemma.model.common.auditAndSecurity.eventType.ArrayDesignAnalysisEvent> cls)
      • needToRun

        protected boolean needToRun​(Date skipIfLastRunLaterThan,
                                    ubic.gemma.model.expression.arrayDesign.ArrayDesign arrayDesign,
                                    Class<? extends ubic.gemma.model.common.auditAndSecurity.eventType.ArrayDesignAnalysisEvent> eventClass)
        Parameters:
        eventClass - e.g., ArrayDesignSequenceAnalysisEvent.class
        Returns:
        true if skipIfLastRunLaterThan is null, or there is no record of a previous analysis, or if the last analysis was run before skipIfLastRunLaterThan. false otherwise.