Running AltAnalyze from Command Line Interface

In addition to the graphical user interface (GUI), AltAnalyze can be easily run by command-line. This includes jobs run locallly, on a remote Linux server or cluster. This works fine given that the user knows the file paths of the directories containing input files, the output directory and has already created files containing the groups and comparisons for all samples analyzed.

Creating Groups and Comparison Files - Creating groups and comparison files is needed beforehand, but is fairly easy. Just follow the directions listed here. This can be done in an automated fashion as well, if input files have a defined naming structure.

Running Command Line from Source or Compiled Versions - The command-line can be run from the source code or OS-specific binaries. The binaries are recommended since these already contain graphical, statistical and webservice dependencies that need to be separately installed for the source code (see more information here).

When running with OS-specific binaries of AltAnalyze directly call the binary files themselves:

  • Windows OS AltAnalyze.exe
  • Mac OS X
  • Ubuntu OS ./AltAnalyze
  • Python source code python

Example Options

Downloading and installing a species specific database (mouse)

python --species Mm --update Official --version EnsMart65
  --additional all

Analyzing RNA-Seq files – FASTQ file directory using ICGS Population Discovery

python --runICGS yes --platform "RNASeq" --species Mm --column_method hopach --rho 0.4 --ExpressionCutoff 1 --FoldDiff 4 --SamplesDiffering 4 --excludeCellCycle conservative --output "C:/FASTQ_Files/" --expname "Mm_HSCs" --fastq_dir "C:/FASTQ_Files/" --runKallisto yes

Analyzing RNA-Seq files – BED format exons and junction results using default options and GO-Elite

python --species Hs --platform RNASeq --bedDir "C:/BEDFiles"
  --groupdir "C:/BEDFiles/groups.YourExperiment.txt"
  --compdir "C:/BEDFiles/comps.YourExperiment.txt" --output "C:/BEDFiles"
  --expname "YourExperiment --runGOElite yes" --returnPathways all

Analyzing CEL files – Affymetrix 3’ array using default options and GO-Elite

python --species Mm --platform "3'array" --celdir "C:/CELFiles"
  --groupdir "C:/CELFiles/groups.YourExperiment.txt"
  --compdir "C:/CELFiles/comps.YourExperiment.txt" --output "C:/CELFiles"
  --expname "YourExperiment" --runGOElite yes --returnPathways all


Many more additional example workflow analysis options and detailed option descriptions for various AltAnalyze functions are provided in the below links.

Full AltAnalyze Workflows

Pathway Enrichment Analysis and Visualization

Clustering, QC, and Alternative Exons Visualization

File comparison, ID translation and visualization

LineageProfiler and Sample Classification