git clone
this repo:git clone https://github.com/ammaraziz/ctgap
Install miniconda
or preferrably mamba
Install snakemake
:
mamba install -c bioconda snakemake
Manually install rust/scrubby
mamba install -c conda-forge rust
cargo install scrubby
Download the human genome, rename to resources/grch38.fasta
Download one of the kraken dbs with bacterial genomes, rename to resources/standardDB
:
Done - The pipeline will handle the dependencies internally.
Create a folder ctgap/input/
Add your fastq.gz files in ctgap/input/
.
{sample_name}_{direction}.fastq.gz
.
SRR12345_R1.fastq.gz
and SRR12345_R2.fastq.gz
.In ctgap/
folder run the pipeline:
snakemake -j 8 --use-conda -k
-j 8
specifies the number of threads to use in total.--use-conda
tells snakemake to install the dependencies.-k
tells snakemake to keep going if a sample fails.TBA
Pipeline is created by Shola Olagoke with assistance from Ammar Aziz.