Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 1.21 KB

README.md

File metadata and controls

23 lines (16 loc) · 1.21 KB

NextFlow pipeline for ATAC-seq data

Dependencies

Singularity (v. 3) and NextFlow (>= v. 20.10.0). Containers with the software for each step are pulled from the Sylabs cloud library (https://cloud.sylabs.io/library).

Configuration

Paths to various generic files (e.g., bwa indices) must be included in the nextflow.config file -- check that file and change paths accordingly. These include:

  1. Blacklist bed files for each genome
  2. Chrom size files for each genome
  3. BWA indices
  4. TSS files (BED6 files denoting TSS positions)

You'll also need to set the params.results variable -- either in the nextflow.config file itself, or on the command line when you run the pipeline ('--results /path/to/results').

Lastly, you'll need to include information about each ATAC-seq library, including the genome that each library should be mapped to and the paths to the fastq files for each readgroup. Organize this information in a JSON file, as in library-config.json.

Running

Once you have all of the above information, you can run the pipeline as follows (in this case, indicating the path to the results on the command line):

nextflow run -params-file library-config.json --results /path/to/results /path/to/main.nf