Coder Social home page Coder Social logo

Comments (9)

bazyliszek avatar bazyliszek commented on August 18, 2024 1

thanks Phil! I will check and let you know. Bit delayed on testing singularity on TSD (secure cluster in Norway) ... lots of security slows down.

from methylseq.

ewels avatar ewels commented on August 18, 2024

Hi @bazyliszek,

I think this problem is because you need to use -profile standard,conda instead of just -profile conda. Without this, you're missing the base configuration.

Note that you're not the first person to be caught out by this and we will remove the need for it in the future (probably the next release). So hopefully for v1.4 -profile conda will work fine :)

Let me know if this fixes the problem for you!

Phil

from methylseq.

bazyliszek avatar bazyliszek commented on August 18, 2024

Great Phil, that was the problem indeed. Can I also ask how can we implement the extra parameter in the -- MethylDackel, that is --methylKit parameter?
Thanks, Bazyl

from methylseq.

ewels avatar ewels commented on August 18, 2024

Great!

Could you clarify the second question please - you mean that you would like to add in a parameter to the MethylDackel command that isn't there currently?

What does it do? Should it always be there or optional only?

from methylseq.

bazyliszek avatar bazyliszek commented on August 18, 2024

Yes, to add it as an optional parameter would be great! The --methylKit parameter would produce bed files that are compatible with methylKit R package. I achieved this by manipulating main.nf file under /rds/homes/w/wm/methylseq-1.3/ line:

MethylDackel extract --methylKit $allcontexts $ignoreFlags $mindepth $fasta $bam

but this is maybe not so elegant?

It would be also great to have importing option to BiSeq at some point. BiSeq allows the import of Bismark output files so I am not sure if the MethylDackel produce the same format as Bismark?

from methylseq.

ewels avatar ewels commented on August 18, 2024

If it's just making an additional output format, assuming that it doesn't add a lot to the run time, I think we can just add that flag for all bwameth runs (instead of making it optional and off by default.).

It looks like BiSeq takes the bedGraph output files from Bismark (correct me if I'm wrong). I think that MethylDackel generates the same type of file. Are these not already generated / compatible with BiSeq? What additional functionality would you want here?

from methylseq.

bazyliszek avatar bazyliszek commented on August 18, 2024

Additional output format would be nice. It is taking a bit time though, as it is extraction step. I noticed that adding --methylKit parameter will not produce bedgraph files.

Input for the BiSeq is bismark.cov.gz files from Bismark. Maybe others, @dpryan79 , @KatjaHebestreit have some comments as well?

from methylseq.

ewels avatar ewels commented on August 18, 2024

Hi @bazyliszek,

I've just opened a pull request to add a new --methylKit command line option to the pipeline (#83). When merged, this functionality will be available using nextflow run nf-core/methylseq -r dev, and in the next stable release.

For BiSeq - MethylDackel is already producing .bedGraph files which I think should be comparable to the bismark.cov.gz files from Bismark. See https://github.com/dpryan79/MethylDackel#single-cytosine-methylation-metrics-extraction :

MethylDackel extract produces a variant of bedGraph that's similar to the "coverage" file produced by Bismark and Bison.

If there's something else that you need aside from this, let me know.

Phil

from methylseq.

ewels avatar ewels commented on August 18, 2024

Sounds good! I'll close this issue now, but we can reopen it if you find any problems.

Phil

from methylseq.

Related Issues (20)

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.