Comments (4)
Hello
Just to add to this issue so others know!
Installing this package does not work according to the instructions and the code is full of errors as outlined above. I installed as per instructions into the correct version of R, >4.2.0, but there have been underlying changes to other packages. For example ExomeDepth will add a GC column when a FASTA is specified, but DECoN will then erroneously label this as a sample count column (So make sure to use the 1.15 release of ExomeDepth if you get this working or edit the code to avoid the FASTA argument...).
Using the packrat version of DECoN may be a better work around.
As DECoN appears to be a wrapper for ExomeDepth, I have had far more success with ExomeDepth for calling CNVs and getting them in the right shape. The package is well maintained and has good vignettes for how to analyse specific chromosomal CNVs. It works without having to rewrite or edit code.
https://cran.r-project.org/web/packages/ExomeDepth/index.html
For X chromosome copy number, that's more tricky! Would split by sex to begin, or you could even sum/ merge your counts in your BAM file and treat it as one (so if you have overall any amplification/deletion).
Hope this helps
Tom
from decon.
Hello,
Thanks for your comments, I think they are very useful.
I just want to add a suggestion:
Instead of replacing colnames(ExomeCount)[1:length(sample.names)+4]=sample.names for colnames(ExomeCount)[1:length(sample.names)+5]=sample.names
I would put the following:
if(names(ExomeCount)[5]=="GC"){ colnames(ExomeCount)[1:length(sample.names)+5]=sample.names #assigns the sample names to each column }else{ colnames(ExomeCount)[1:length(sample.names)+4]=sample.names }
The thing is that if you leave the --fasta parameter NULL in ReadInBams.R then RData dataframe generated has 1 less column because GC content is not computed, so GC column does not exist.
Again thank you for your comments!
Best regards,
Eli
from decon.
Hi guys!
I am relieved to know that other had issues as well. Installing DECoN became a challenge. Is anyone considering recording a video on how to install it on Windows?
from decon.
Related Issues (20)
- plan to make a conda version of decon?
- ERROR IN CNV
- ERROR when running decon HOT 1
- ERROR when running makeCNVcalls.R HOT 6
- makeCNVcalls.R failed HOT 11
- Installation Issue
- error when running ReadInBams.R
- Error when running makeCNVcalls.R
- makeCNVcalls.R Error in cnv.calls_ids[i, ]$start.p:cnv.calls_ids[i, ]$end.p : HOT 5
- Rsamtools version not compatible with VN:1.4 BAM files?
- Error in running IdentifyFailures HOT 1
- Congratulations! HOT 2
- IdentifyFailures Error HOT 3
- Error in if (MaxCorr[i] < corr_thresh) { : missing value where TRUE/FALSE needed HOT 2
- Installation of DECoN failed HOT 1
- samples off by one HOT 3
- DECoN installation error HOT 5
- Problem while running Rscript makeCNVcalls.R HOT 2
- CNV offsets by one in makeCNVcalls. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from decon.