-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated code to work with derfinder 1.0.8 (current release), build pr…
…oper models for run2-v0.0.42 (initial file had models for a different analysis), link to BioC website instead of GitHub repo, and added a short description of files in the README
- Loading branch information
1 parent
2c11a2c
commit 812b2e5
Showing
13 changed files
with
79 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
# LIBD n36 project | ||
|
||
This repository is for hosting the code for the LIDB n36 project being undertaken by Andrew Jaffe's lab. | ||
This repository is for hosting the code for the LIDB n36 project lead by AE Jaffe. | ||
|
||
If you have any questions about the files in this directory contact AE Jaffe <[email protected]>. | ||
|
||
Scripts use [derfinder](http://www.bioconductor.org/packages/release/bioc/html/derfinder.html) and are organized in the following way: | ||
|
||
* [derCoverageInfo](derCoverageInfo/): contains scripts for processing data from BAM files, filtering and creating Rdata files. | ||
* [fullCoverage](fullCoverage/): similar as _derCoverageInfo_ but without filtering data. | ||
* [derAnalysis](derAnalysis/): has scripts for creating the models, running the derfinder analysis one chromosome at a time, merging the results, and creating a html report. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,18 @@ | ||
## Merge the coverage data | ||
## Note that you would now use the fullCoverage(cutoff = 5) function which did not exist when this script was made. | ||
|
||
library(IRanges) | ||
library('IRanges') | ||
|
||
## setup | ||
chrs <- c(1:22, "X", "Y") | ||
covList <- vector("list", 24) | ||
names(covList) <- chrs | ||
filteredCov <- vector("list", 24) | ||
names(filteredCov) <- chrs | ||
|
||
## Actual processing | ||
for(chr in chrs) { | ||
load(paste0("chr", chr, "CovInfo.Rdata")) | ||
eval(parse(text=paste0("data <- ", "chr", chr, "CovInfo"))) | ||
covList[[chr]] <- data | ||
filteredCov[[chr]] <- data | ||
} | ||
|
||
save(covList, file="covList.Rdata") | ||
save(filteredCov, file="filteredCov.Rdata") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.