atacseq

ATAC-seq peak-calling and QC analysis pipeline

https://github.com/nf-core/atacseq

Science Score: 49.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 10 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
    1 of 21 committers (4.8%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.2%) to scientific vocabulary

Keywords

atac-seq chromatin-accessibiity nextflow nf-core pipeline workflow

Keywords from Contributors

clip clip-seq peak-calling rna-rbp-interactions
Last synced: 6 months ago · JSON representation

Repository

ATAC-seq peak-calling and QC analysis pipeline

Basic Info
  • Host: GitHub
  • Owner: nf-core
  • License: mit
  • Language: Nextflow
  • Default Branch: master
  • Homepage: https://nf-co.re/atacseq
  • Size: 9.72 MB
Statistics
  • Stars: 200
  • Watchers: 165
  • Forks: 125
  • Open Issues: 43
  • Releases: 9
Topics
atac-seq chromatin-accessibiity nextflow nf-core pipeline workflow
Created over 7 years ago · Last pushed 10 months ago
Metadata Files
Readme Changelog Contributing License Code of conduct Citation

README.md

nf-core/atacseq nf-core/atacseq

AWS CICite with Zenodo

Nextflow run with conda run with docker run with singularity Launch on Nextflow Tower

Get help on SlackFollow on TwitterFollow on MastodonWatch on YouTube

Introduction

nfcore/atacseq is a bioinformatics analysis pipeline used for ATAC-seq data.

The pipeline is built using Nextflow, a workflow tool to run tasks across multiple compute infrastructures in a very portable manner. It uses Docker/Singularity containers making installation trivial and results highly reproducible. The Nextflow DSL2 implementation of this pipeline uses one container per process which makes it much easier to maintain and update software dependencies. Where possible, these processes have been submitted to and installed from nf-core/modules in order to make them available to all nf-core pipelines, and to everyone within the Nextflow community!

On release, automated continuous integration tests run the pipeline on a full-sized dataset on the AWS cloud infrastructure. This ensures that the pipeline runs on AWS, has sensible resource allocation defaults set to run on real-world datasets, and permits the persistent storage of results to benchmark between pipeline releases and other analysis sources.The results obtained from the full-sized test can be viewed on the nf-core website.

Pipeline summary

nf-core/atacseq metro map

  1. Raw read QC (FastQC)
  2. Adapter trimming (Trim Galore!)
  3. Choice of multiple aligners 1.(BWA) 2.(Chromap). For paired-end reads only working until mapping steps, see here 3.(Bowtie2) 4.(STAR)
  4. Mark duplicates (picard)
  5. Merge alignments from multiple libraries of the same sample (picard)
    1. Re-mark duplicates (picard)
    2. Filtering to remove:
      • reads mapping to mitochondrial DNA (SAMtools)
      • reads mapping to blacklisted regions (SAMtools, BEDTools)
      • reads that are marked as duplicates (SAMtools)
      • reads that are not marked as primary alignments (SAMtools)
      • reads that are unmapped (SAMtools)
      • reads that map to multiple locations (SAMtools)
      • reads containing > 4 mismatches (BAMTools)
      • reads that are soft-clipped (BAMTools)
      • reads that have an insert size > 2kb (BAMTools; paired-end only)
      • reads that map to different chromosomes (Pysam; paired-end only)
      • reads that arent in FR orientation (Pysam; paired-end only)
      • reads where only one read of the pair fails the above criteria (Pysam; paired-end only)
    3. Alignment-level QC and estimation of library complexity (picard, Preseq)
    4. Create normalised bigWig files scaled to 1 million mapped reads (BEDTools, bedGraphToBigWig)
    5. Generate gene-body meta-profile from bigWig files (deepTools)
    6. Calculate genome-wide enrichment (optionally relative to control) (deepTools)
    7. Call broad/narrow peaks (MACS2)
    8. Annotate peaks relative to gene features (HOMER)
    9. Create consensus peakset across all samples and create tabular file to aid in the filtering of the data (BEDTools)
    10. Count reads in consensus peaks (featureCounts)
    11. Differential accessibility analysis, PCA and clustering (R, DESeq2)
    12. Generate ATAC-seq specific QC html report (ataqv)
  6. Merge filtered alignments across replicates (picard)
    1. Re-mark duplicates (picard)
    2. Remove duplicate reads (SAMtools)
    3. Create normalised bigWig files scaled to 1 million mapped reads (BEDTools, bedGraphToBigWig)
    4. Call broad/narrow peaks (MACS2)
    5. Annotate peaks relative to gene features (HOMER)
    6. Create consensus peakset across all samples and create tabular file to aid in the filtering of the data (BEDTools)
    7. Count reads in consensus peaks relative to merged library-level alignments (featureCounts)
    8. Differential accessibility analysis, PCA and clustering (R, DESeq2)
  7. Create IGV session file containing bigWig tracks, peaks and differential sites for data visualisation (IGV).
  8. Present QC for raw read, alignment, peak-calling and differential accessibility results (ataqv, MultiQC, R)

Usage

Note If you are new to Nextflow and nf-core, please refer to this page on how to set-up Nextflow. Make sure to test your setup with -profile test before running the workflow on actual data.

To run on your data, prepare a tab-separated samplesheet with your input data. Please follow the documentation on samplesheets for more details. An example samplesheet for running the pipeline looks as follows:

csv sample,fastq_1,fastq_2,replicate CONTROL,AEG588A1_S1_L002_R1_001.fastq.gz,AEG588A1_S1_L002_R2_001.fastq.gz,1 CONTROL,AEG588A1_S1_L003_R1_001.fastq.gz,AEG588A1_S1_L003_R2_001.fastq.gz,2 CONTROL,AEG588A1_S1_L004_R1_001.fastq.gz,AEG588A1_S1_L004_R2_001.fastq.gz,3

Now, you can run the pipeline using:

bash nextflow run nf-core/atacseq --input samplesheet.csv --outdir <OUTDIR> --genome GRCh37 --read_length <50|100|150|200> -profile <docker/singularity/podman/shifter/charliecloud/conda/institute>

See usage docs for all of the available options when running the pipeline.

Warning: Please provide pipeline parameters via the CLI or Nextflow -params-file option. Custom config files including those provided by the -c Nextflow option can be used to provide any configuration except for parameters; see docs.

For more details and further functionality, please refer to the usage documentation and the parameter documentation.

Pipeline output

To see the results of an example test run with a full size dataset refer to the results tab on the nf-core website pipeline page. For more details about the output files and reports, please refer to the output documentation.

Credits

The pipeline was originally written by Harshil Patel (@drpatelh) from Seqera Labs, Spain and converted to Nextflow DSL2 by Björn Langer (@bjlang) and Jose Espinosa-Carrasco (@JoseEspinosa) from The Comparative Bioinformatics Group at The Centre for Genomic Regulation, Spain under the umbrella of the BovReg project.

Many thanks to others who have helped out and contributed along the way too, including (but not limited to): @ewels, @apeltzer, @crickbabs, drewjbeh, @houghtos, @jinmingda, @ktrns, @MaxUlysse, @mashehu, @micans, @pditommaso and @sven1103.

Contributions and Support

If you would like to contribute to this pipeline, please see the contributing guidelines.

For further information or help, don't hesitate to get in touch on the Slack #atacseq channel (you can join with this invite).

Citations

If you use nf-core/atacseq for your analysis, please cite it using the following doi: 10.5281/zenodo.2634132

An extensive list of references for the tools used by the pipeline can be found in the CITATIONS.md file.

You can cite the nf-core publication as follows:

The nf-core framework for community-curated bioinformatics pipelines.

Philip Ewels, Alexander Peltzer, Sven Fillinger, Harshil Patel, Johannes Alneberg, Andreas Wilm, Maxime Ulysse Garcia, Paolo Di Tommaso & Sven Nahnsen.

Nat Biotechnol. 2020 Feb 13. doi: 10.1038/s41587-020-0439-x.

Owner

  • Name: nf-core
  • Login: nf-core
  • Kind: organization
  • Email: core@nf-co.re

A community effort to collect a curated set of analysis pipelines built using Nextflow.

GitHub Events

Total
  • Issues event: 31
  • Watch event: 19
  • Delete event: 22
  • Issue comment event: 40
  • Push event: 12
  • Pull request review comment event: 5
  • Pull request review event: 9
  • Pull request event: 24
  • Fork event: 13
  • Create event: 5
Last Year
  • Issues event: 31
  • Watch event: 19
  • Delete event: 22
  • Issue comment event: 40
  • Push event: 12
  • Pull request review comment event: 5
  • Pull request review event: 9
  • Pull request event: 24
  • Fork event: 13
  • Create event: 5

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 1,190
  • Total Committers: 21
  • Avg Commits per committer: 56.667
  • Development Distribution Score (DDS): 0.357
Past Year
  • Commits: 289
  • Committers: 9
  • Avg Commits per committer: 32.111
  • Development Distribution Score (DDS): 0.509
Top Committers
Name Email Commits
drpatelh d****l@g****m 765
JoseEspinosa k****u@g****m 186
bjlang 68
Harshil Patel d****h@g****m 61
nf-core-bot c****e@n****e 24
Björn Langer 6****g 18
Phil Ewels p****s@s****e 12
maxulysse m****a@g****m 11
Harshil Patel d****h 10
Rob Syme r****e@g****m 7
Adam Talbot a****t@s****o 5
Drew Behrens d****h@g****m 5
ggabernet g****t@q****e 5
Mingda Jin j****7@g****m 3
Harshil Patel p****h@l****n 3
Akazhiel j****r@o****m 2
runner r****r@f****0 1
matthiasho m****r@k****e 1
Ömer An b****u@g****m 1
kevinmenden k****n@t****e 1
mashehu m****u 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 81
  • Total pull requests: 98
  • Average time to close issues: 8 months
  • Average time to close pull requests: 14 days
  • Total issue authors: 53
  • Total pull request authors: 14
  • Average comments per issue: 1.83
  • Average comments per pull request: 1.0
  • Merged pull requests: 79
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 14
  • Pull requests: 11
  • Average time to close issues: 3 months
  • Average time to close pull requests: 12 days
  • Issue authors: 8
  • Pull request authors: 4
  • Average comments per issue: 0.14
  • Average comments per pull request: 0.73
  • Merged pull requests: 6
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • JoseEspinosa (11)
  • SuhasSrinivasan (6)
  • chbk (4)
  • ktrns (4)
  • lindenb (3)
  • tamuanand (2)
  • arugula2388 (2)
  • drpatelh (2)
  • hyjforesight (2)
  • hukai916 (2)
  • hcliedtke (2)
  • anijudy (2)
  • taylordm (2)
  • bschilder (2)
  • StevenWingett (2)
Pull Request Authors
  • JoseEspinosa (46)
  • nf-core-bot (22)
  • bjlang (19)
  • drpatelh (12)
  • adamrtalbot (5)
  • robsyme (3)
  • lpantano (3)
  • maxulysse (3)
  • lnblum (2)
  • ryan-moreno (2)
  • samuelruizperez (1)
  • ktrns (1)
  • dangeles (1)
  • VErconi (1)
  • hsmurali (1)
Top Labels
Issue Labels
bug (37) enhancement (33) question (15) duplicate (3) WIP (2) help wanted (1) documentation (1)
Pull Request Labels
enhancement (2) bug (1) WIP (1) documentation (1)

Dependencies

.github/workflows/awsfulltest.yml actions
  • actions/upload-artifact v3 composite
  • nf-core/tower-action v3 composite
.github/workflows/awstest.yml actions
  • actions/upload-artifact v3 composite
  • nf-core/tower-action v3 composite
.github/workflows/branch.yml actions
  • mshick/add-pr-comment v1 composite
.github/workflows/ci.yml actions
  • actions/checkout v2 composite
  • nf-core/setup-nextflow v1 composite
.github/workflows/fix-linting.yml actions
  • actions/checkout v3 composite
  • actions/setup-node v2 composite
.github/workflows/linting.yml actions
  • actions/checkout v2 composite
  • actions/setup-node v2 composite
  • actions/setup-python v3 composite
  • actions/upload-artifact v2 composite
  • mshick/add-pr-comment v1 composite
  • nf-core/setup-nextflow v1 composite
  • psf/black stable composite
.github/workflows/linting_comment.yml actions
  • dawidd6/action-download-artifact v2 composite
  • marocchino/sticky-pull-request-comment v2 composite
.github/workflows/clean-up.yml actions
  • actions/stale v7 composite
modules/nf-core/ataqv/ataqv/meta.yml cpan
modules/nf-core/ataqv/mkarv/meta.yml cpan
modules/nf-core/bowtie2/align/meta.yml cpan
modules/nf-core/bowtie2/build/meta.yml cpan
modules/nf-core/bwa/index/meta.yml cpan
modules/nf-core/bwa/mem/meta.yml cpan
modules/nf-core/chromap/chromap/meta.yml cpan
modules/nf-core/chromap/index/meta.yml cpan
modules/nf-core/custom/dumpsoftwareversions/meta.yml cpan
modules/nf-core/custom/getchromsizes/meta.yml cpan
modules/nf-core/deeptools/computematrix/meta.yml cpan
modules/nf-core/deeptools/plotfingerprint/meta.yml cpan
modules/nf-core/deeptools/plotheatmap/meta.yml cpan
modules/nf-core/deeptools/plotprofile/meta.yml cpan
modules/nf-core/fastqc/meta.yml cpan
modules/nf-core/gffread/meta.yml cpan
modules/nf-core/gunzip/meta.yml cpan
modules/nf-core/homer/annotatepeaks/meta.yml cpan
modules/nf-core/khmer/uniquekmers/meta.yml cpan
modules/nf-core/macs2/callpeak/meta.yml cpan
modules/nf-core/picard/collectmultiplemetrics/meta.yml cpan
modules/nf-core/picard/markduplicates/meta.yml cpan
modules/nf-core/picard/mergesamfiles/meta.yml cpan
modules/nf-core/preseq/lcextrap/meta.yml cpan
modules/nf-core/samtools/flagstat/meta.yml cpan
modules/nf-core/samtools/idxstats/meta.yml cpan
modules/nf-core/samtools/index/meta.yml cpan
modules/nf-core/samtools/sort/meta.yml cpan
modules/nf-core/samtools/stats/meta.yml cpan
modules/nf-core/subread/featurecounts/meta.yml cpan
modules/nf-core/trimgalore/meta.yml cpan
modules/nf-core/ucsc/bedgraphtobigwig/meta.yml cpan
modules/nf-core/umitools/extract/meta.yml cpan
modules/nf-core/untar/meta.yml cpan
subworkflows/nf-core/bam_markduplicates_picard/meta.yml cpan
subworkflows/nf-core/bam_sort_stats_samtools/meta.yml cpan
subworkflows/nf-core/bam_stats_samtools/meta.yml cpan
subworkflows/nf-core/fastq_align_bowtie2/meta.yml cpan
subworkflows/nf-core/fastq_align_bwa/meta.yml cpan
subworkflows/nf-core/fastq_align_chromap/meta.yml cpan
subworkflows/nf-core/fastq_fastqc_umitools_trimgalore/meta.yml cpan
pyproject.toml pypi