Class ArrayDesignSequenceManipulatingCli

    • Constructor Detail

      • ArrayDesignSequenceManipulatingCli

        protected ArrayDesignSequenceManipulatingCli()
    • Method Detail

      • 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
      • isSubsumedOrMerged

        protected boolean isSubsumedOrMerged​(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).
      • needToRun

        protected boolean needToRun​(Date skipIfLastRunLaterThan,
                                    ArrayDesign arrayDesign,
                                    Class<? extends 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.