From 812b2e5b6c48dcd4630d98a70e4216b4065e9514 Mon Sep 17 00:00:00 2001 From: lcolladotor Date: Wed, 12 Nov 2014 22:09:38 -0500 Subject: [PATCH] Updated code to work with derfinder 1.0.8 (current release), build proper 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 --- README.md | 8 ++- derAnalysis/der2Analysis.sh | 2 +- derAnalysis/der2Merge.sh | 15 ++++-- derAnalysis/der2Models.sh | 17 +++--- derAnalysis/der2Report.sh | 15 ++++-- derAnalysis/derfinder2-analysis.R | 10 +--- derAnalysis/derfinder2-models.R | 52 ++----------------- .../fix-colnames-fullRegions-2014-03-29.R | 2 + derCoverageInfo/derCoverageInfo.sh | 15 ++++-- derCoverageInfo/mergeCov.R | 11 ++-- fullCoverage/fullCoverage.sh | 15 ++++-- fullCoverage/mergeFull.R | 5 +- fullCoverage/runMerge.sh | 3 +- 13 files changed, 79 insertions(+), 91 deletions(-) diff --git a/README.md b/README.md index 0101e30..5805ae3 100644 --- a/README.md +++ b/README.md @@ -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 . + +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. diff --git a/derAnalysis/der2Analysis.sh b/derAnalysis/der2Analysis.sh index 0858d48..742950e 100755 --- a/derAnalysis/der2Analysis.sh +++ b/derAnalysis/der2Analysis.sh @@ -1,7 +1,7 @@ #!/bin/sh ## Usage -# sh der2Analysis.sh run1-v0.0.46 +# sh der2Analysis.sh run2-v0.0.42 # Directories MAINDIR=/dcs01/lieber/ajaffe/Brain/derRuns/libd_n36 diff --git a/derAnalysis/der2Merge.sh b/derAnalysis/der2Merge.sh index 8fd43b5..aa60426 100755 --- a/derAnalysis/der2Merge.sh +++ b/derAnalysis/der2Merge.sh @@ -1,7 +1,9 @@ #!/bin/sh ## Usage -# sh der2Merge.sh run1-v0.0.46 +# sh der2Merge.sh run2-v0.0.42 + +## derfinder available at http://www.bioconductor.org/packages/release/bioc/html/derfinder.html # Directories MAINDIR=/dcs01/lieber/ajaffe/Brain/derRuns/libd_n36 @@ -16,14 +18,19 @@ outdir="${PREFIX}" sname="${SHORT}.${PREFIX}" echo "Creating script ${sname}" cat > ${WDIR}/.${sname}.sh < ${WDIR}/.${sname}.sh < ${WDIR}/.${sname}.sh < ${WDIR}/.${SHORT}.${chr}.sh < ${WDIR}/.${SHORT}.${chr}.sh <