Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate a separate bigwig tracks for each strand. #582

Closed
ggrimes opened this issue Mar 19, 2021 · 3 comments
Closed

Generate a separate bigwig tracks for each strand. #582

ggrimes opened this issue Mar 19, 2021 · 3 comments
Milestone

Comments

@ggrimes
Copy link

ggrimes commented Mar 19, 2021

Is your feature request related to a problem? Please describe

The nf-core/rnaseq version 3.0 pipeline produces only one strand of coverage depending on the strandedness provided.

e.g.

bedtools \ genomecov \ -ibam sample.sorted.bam \ -bg \ -strand - -du \ -split \ | bedtools sort > HDox_R1.bedGraph

Describe the solution you'd like

Could this be changed to include coverage for both strands in separate files?

Describe alternatives you've considered

Maybe the bigwig files could be generated using deeptools bamCoverage

Additional context

@drpatelh
Copy link
Member

This should be fixed now @ggrimes ! Be great if you can test it out by using the code on the dev branch! I went for the simple approach of not using any normalisation for now but the tracks should be properly separated by strand.

@ggrimes
Copy link
Author

ggrimes commented Apr 22, 2021

I have checked the bigwig file produced using the test profile and the dev branch and it is producing the correct bigwigs files for each strand. This issue can be closed. An issue for later would be to options to specify the normalization for the bigwig tracks.

@ChristopherBarrington
Copy link

ChristopherBarrington commented May 27, 2021

@drpatelh The two strand files are named sense and antisense but look as though they are based on genome strand rather than transcription direction. Perhaps forward/reverse would be more intuitive naming scheme, unless I have misunderstood something, since sense/antisense has a specific meaning in RNA-seq?

Screen shot attached shows high expression in 'sense' or 'antisense' depends on transcription direction. This is PE data - I'm not sure how that is resolved when choosing a strand.

Screenshot 2021-05-27 at 06 46 35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants