DE-kupl annotation Viewer is part of the DE-kupl package, and performs to make interpretation of contigs annoted by DE-kupl annotation, using R Shiny framework.
If dekupl-viewer was installed with the recommended conda package, all you need to do is to activate the dekupl environement and run dekupl-viewer with DiffContigsInfos.tsv file from dekupl-annot output and sample_conditions_full.tsv from dekupl-run output.
source activate dekupl
dekupl-viewer -c DiffContigsInfos.tsv -s sample_conditions_full.tsv
Open a browser at this address http://0.0.0.0:8080
and enjoy it.
- Step 1: Install conda. If you do not have a conda distribution installed, we recommend to install miniconda as follows. See Miniconda website for other installation instructions (ex. for OSX).
wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh bash Miniconda3-latest-Linux-x86_64.sh
- Step 2: Install dekupl-viewer. This will create a dekupl conda environment (if missing) and install dekupl-viewer inside. The order of parameters is important.
conda install -n dekupl -y -m --override-channels -c transipedia \ -c bioconda -c conda-forge -c https://repo.anaconda.com/pkgs/main \ -c https://repo.anaconda.com/pkgs/free \ -c https://repo.anaconda.com/pkgs/pro dekupl-viewer
- Step 3: Run dekupl-viewer. We first activate the conda environement where dekupl-viewer was installed, then we run the software.
source activate dekupl dekupl-viewer -c DiffContigsInfos.tsv -s sample_conditions_full.tsv
- Step 1: Retrieve the docker image.
docker pull transipedia/dekupl-viewer:latest
- Step 2: Run dekupl-viewer.
DiffContigsInfo.tsv and samples_conditions_full.tsv must be located in the directory
that is mounted in the docker.
docker run --rm -i -v ${PWD}:/${PWD} -p 8080:8080 \ transipedia/dekupl-viewer:latest -c ${PWD}/DiffContigsInfos.tsv \ -s ${PWD}sample_conditions_full.tsv
One can create a singularity container from the docker image. Two methods are available, they should both work.
A difference with docker image is that with Singularity, you don't need to mount any volume, but you must have your config.json and your inputs file in the directory where you are running dekupl-viewer.
singularity pull docker://transipedia/dekupl-viewer
./dekupl-viewer.simg -c DiffContigsInfos.tsv -s sample_conditions_full.tsv
- Step 1: Install dependancies. Before using Dekupl-viewer, install these dependencies:
- R (version >= version 3.3.2)
- R packages;
Rscript install_r_packages.R
- Step 2: Clone this repository including submodules.
git clone --recursive https://github.com/Transipedia/dekupl-viewer.git
- Step 3: Launch dekupl-viewer application
cd src Rscript app.R -c /path/to/DiffContigsInfos.tsv -s /path/to/sample_conditions_full.tsv
Toy files are available with this repository to test the app.
cd src
Rscript app.R -t
It is possible to define a preset of filters in a TSV file and load it into the interface using option -f
. Default file is src/preset-filters/transipedia.tsv
.
Rscript app.R -h
for help.