Coder Social home page Coder Social logo

bedgraph2dmr's People

Contributors

rcquan avatar

Watchers

 avatar  avatar  avatar

bedgraph2dmr's Issues

new .bedGraph format from bismark not compatible with bsseq

I just tried to use these scripts and ran into a problem with bsseq not taking in the new bedgraph format as it lacks count columns.

From http://bioconductor.org/packages/release/bioc/manuals/bsseq/man/bsseq.pdf:

Please note that the ".bedGraph" file created in recent versions of Bismark
(v>=0.10.0) is notsuitable for analysis with bsseq because it only contains the "methylation percentage"
and not "count methylated" nor "count unmethylated".

The relevant information is in the coverage (.cov) files that bismark now puts out. Renaming these files to .bedGraph did allow read.bismark to progress.


I ended up getting another error later, though I didn't really try to resolve this and it may be unrelated:

Error in which(rowSums(methCov[, BSmooth_obj$type %in% c("control", "normal")] >= :
error in evaluating the argument 'x' in selecting a method for function 'which': Error in rowSums(methCov[, BSmooth_obj$type %in% c("control", "normal")] >= :
'x' must be an array of at least two dimensions

Error in density.default(tstat) : 'x' contains missing values

Hi Ryan,

When I run the program I'm getting the following error message after entering the control and case inputs: Error in density.default(tstat) : 'x' contains missing values. However if I enter "case" for the control input and "control" for the case input I don't get this error message and results are outputted. I have more control samples than case samples and I'm using the "group2" option for est_var.

Any help is greatly appreciated! Thanks!

Jen

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.