Use the following directions to quickly get started and run on CentOS 7 the ExpressionMatrix2
software on a toy dataset distributed as part of the repository.
graphviz
).
ExpressionMatrix2-0.4.0.tar
.
~/ExpressionMatrix2
.
If you use a different name, make sure to use the correct name
instead of the one used in the rest of these directions.
~/Downloads
)
to the ~/ExpressionMatrix2
directory your just created,
then cd
to ~/ExpressionMatrix2
.
tar -xvf ExpressionMatrix2-0.4.0.tar
.
This will create a new directory
~/ExpressionMatrix2/ExpressionMatrix2-0.4.0
containing a doc
directory, a test
directory,
and a build
directory containing
ExpressionMatrix2
shared libraries for various platforms.
~/ExpressionMatrix2/ExpressionMatrix2-0.4.0/build/Release-centos7-nohdf5-python2/ExpressionMatrix2.so
.
To make this shared library visible as a Python package,
set environment variable PYTHONPATH
to
~/ExpressionMatrix2/ExpressionMatrix2-0.4.0/build/Release-centos7-nohdf5-python2
.
In the bash
shell, you can do this using command
export PYTHONPATH=~/ExpressionMatrix2/ExpressionMatrix2-0.4.0/build/Release-centos7-nohdf5-python2
.
cd
to test directory
~/ExpressionMatrix2/ExpressionMatrix2-0.4.0/tests/ToyTest1
.
It contains input files with a sample expression matrix
and cell meta data for a small toy test with just 3 cells and 3 genes.
It also contains two small python scripts.
python run.py
.
python runServer.py
.
This starts the ExpressionMatrix2
code in a mode
where if behaves as an http server that can be used
for interactive visualization and analysis. This command continues running until you interrupt it.
ExpressionMatrix2
software on real data.
See here for more information.
For convenience, the list below summarizes the commands to run.
This assumes that you start in directory
~/ExpressionMatrix2
containing the tar file ExpressionMatrix2-0.4.0.tar
:
tar -xvf ExpressionMatrix2-0.4.0.tar
cd ExpressionMatrix2-0.4.0/tests/ToyTest1
export PYTHONPATH=~/ExpressionMatrix2/ExpressionMatrix2-0.4.0/build/Release-centos7-nohdf5-python2
python run.py
python runServer.py