This wrapper is used to tidy and analyse Clear Labs data using a custom cleaner and the Daytona-combine pipeline
.
-
Install
Nextflow
(>=21.10.3
) -
Install Python3.7+ and BioPython
May need to use update-alternatives to set correct version of python, ie:
$ sudo update-alternatives --install /usr/bin/python3 python3 /home/${USER}/miniconda3/bin/python3.8 4
BioPython:
$ python3 -m pip install biopython
- Install Bash Needs (may need to install individually)
$ sudo apt-get update && sudo apt-get install -y \
build-essential \
libssl-dev \
uuid-dev \
libgpgme11-dev \
squashfs-tools \
libseccomp-dev \
pkg-config
$ sudo apt-get install libtool-bin
- Install Go
$ export VERSION=1.11 OS=linux ARCH=amd64 && wget https://dl.google.com/go/go1.22.2.linux-amd64.tar.gz && sudo tar -C /usr/local -xzvf go1.22.2.linux-amd64.tar.gz && rm go1.22.2.linux-amd64.tar.gz
$ echo 'export GOPATH=${HOME}/go' >> ~/.bashrc && \
echo 'export PATH=/usr/local/go/bin:${PATH}:${GOPATH}/bin' >> ~/.bashrc && \
source ~/.bashrc
- Install
Singularity
$ wget https://github.com/sylabs/singularity/releases/download/v4.1.2/singularity-ce-4.1.2.tar.gz
$ tar -xzf singularity-ce-4.1.2.tar.gz
$ cd ./singularity-ce-4.1.2
$ ./mconfig
$ make -C ./builddir
$ sudo make -C ./builddir install
- Install the Code
$ git clone https://github.com/VADGS/Daytona.git
Set to path in bashrc:
export PATH="/home/${USER}/Applications/daytona:$PATH"
- Download the tar file from Clear Labs
- Move the tar file into the desired directory
- Use the following command to invoke the pipeline:
$ run_daytona.sh -t tar
- Use the following command to invoke the pipeline:
$ run_daytona.sh -r path/to/directory -o desired/output/name
All results can be found in the directory /output.