Class AbstractCLIContextCLI

    • Constructor Detail

      • AbstractCLIContextCLI

        public AbstractCLIContextCLI()
    • Method Detail

      • readListFileToStrings

        protected static List<String> readListFileToStrings​(String fileName)
                                                     throws IOException
        may be tab-delimited, only first column used, commented (#) lines are ignored.
        Parameters:
        fileName - the file name
        Returns:
        list of ee identifiers
        Throws:
        IOException - in case there is an IO error while reading the file
      • setTaxonByName

        protected ubic.gemma.model.genome.Taxon setTaxonByName​(org.apache.commons.cli.CommandLine commandLine,
                                                               ubic.gemma.persistence.service.genome.taxon.TaxonService taxonService)
      • locateArrayDesign

        protected ubic.gemma.model.expression.arrayDesign.ArrayDesign locateArrayDesign​(String name,
                                                                                        ubic.gemma.persistence.service.expression.arrayDesign.ArrayDesignService arrayDesignService)
        Parameters:
        name - of the array design to find.
        arrayDesignService - the arrayDesignService to use for the AD retrieval
        Returns:
        an array design, if found. Bails otherwise with an error exit code