An open API service indexing awesome lists of open source software.

https://github.com/biomystery/ataccnv

A tool to call CNV (Copy Number Variation) from bulk ATAC-Seq data
https://github.com/biomystery/ataccnv

atac-seq bioinformatics cnv

Last synced: about 1 month ago
JSON representation

A tool to call CNV (Copy Number Variation) from bulk ATAC-Seq data

Awesome Lists containing this project

README

          

# atacCNV

Call Copy Number Variation from ATAC-seq data.

## Useage

```Shell
export PATH=$PATH:$(pwd)
```

## List of files

* [bedToBdgBW.sh](./src/bedToBdgBw.sh): use `macs pileup` to generate pileup track (`bw`,`bdg`) from input reads (`bed`) with reads extend half of window size in both direction.
* [tagToFrag.sh](./src/tagToFrag.sh): covert `tagAlign` to fragments in `bed`, `sort.bdg` and `bw` format.
* [readsMasker.sh](./src/readsMasker.sh): filter reads (in `bed` format) by given mask regions.
* [smoothBw.sh](./src/smoothBw.sh): smooth bigwig by sliding window (size - w and step - s)
* [callCNV.R](./src/callCNV.R): call CNV from treat adjusted by mapb

## Typical Steps:

1. Get output from pipleine: `tagAlign`, `peaks` (openning regions).
2. (optional) Run [tagToFrag.sh](./src/tagToFrag.sh): get fragments `bed`, `bdg` and `bw`
3. Run [readsMasker.sh](./src/readsMasker.sh) to filter out reads or frags in peak regions and get background frags.
4. Run [smoothBw.sh](./src/smoothBw.sh) to get average coverage in each window for both control or treatment. It will reorder the bed file, so that the it cannot preserve the pair info if input is in `tagAlign` format. Please covert to fragment bed first.
5. Run [callCNV.R](callCNV.R) to get CNV regions, segment plots

## Call Wrapper:
* Input: reads (`tagAlign`), peak regions (`bed` or `narrowPeaks`), mapb track (`bw`), sliding window (`stepsize`,`windowsize`)
* Output: CNV regions (`bed`), log2CovRaito plots with segments (`pngs` and `tab`), background reads track (`bw`)