This is the git repository for AMBIC Epigenomics project with Betenbaugh and Timp lab at JHU.
Use this repository for processing the raw data prior to analysis.
We are working on uploading scripts that are being used for our analysis of the data.
The list of packages necessary for nanopore analysis :
- minimap2
- samtools
- htslib
- nanopolish
- bedtools
- wigToBigWig (from UCSC toolkit)
- sniffles
- SURVIVOR
- bcftools
- pysam
R packages :
The list of packages necessary for ATAC-seq analysis :
All of these tools are available via conda (environment.yml) or via the website links.
To install via conda,
conda env update -n base --file ./environment.yml # to install to the base environment
conda env create -f ./environment.yml # to create a new environment
We are using snakemake to generate reproducible and easy-to-follow pipelines.
You can either install snakemake and follow the steps to run the pipeline or directly look at the snakemake scripts to determine what commands to perform.
Note : The snakemake workflow may not work completely as we have tested the workflow in limited settings. You may have to make edits to the code to make it work.
To use snakemake, first modify the snakemake_config.yml file as appropriate for your environment.
Secondly, modify the nanopore_sample_info.csv and atacseq_sample_info.csv as necessary.
For nanopore sequencing data, we will start from basecalled data;
set up the data as follows :
- fastq name : [sample].fastq.gz
- summary name (optional) : [sample].summary.txt
- move fastq and summary files to [workdir]/reads
- fast5 in [workdir]/reads/[sample]/
For ATAC-seq data :
- fastq name : [sample].fastq.gz
- move fastq files into [workdir]/data/atacseq/fastq/
To run snakemake, use the snakemake command in the root directory of this repo.
snakemake --cores 16
For running specific parts of the pipeline, any of the following (currently broken):
snakemake --cores 16 parse_nanopore
snakemake --cores 16 nanopore_methylation
snakemake --cores 16 nanopore_sv
snakemake --cores 16 parse_atacseq
For specific outputs,
snakemake --cores 16 path/to/output
e.g. :
snakemake --cores 16 methylation/[sample].cpg.meth.tsv.gz
will perform methylation calling on [sample] and any steps before that automatically, using 16 cores.