-
Notifications
You must be signed in to change notification settings - Fork 118
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
Implement "shift_reads" parameter #375
Conversation
This comment was marked as off-topic.
This comment was marked as off-topic.
|
@JoseEspinosa , do you think you can take a look, happy to do anything else to make it easier to review, thanks! |
Hi, I am currently on holiday, I will try to take a look but I am not sure when I will be able to. |
I am ok with that, my changes are not that big thought, I only applied the shift and it is turn off by default. I didn't end up changing anything else, because I saw that were major options like the change in the alignments. Take a look, and let me know, I am ok either way, as far as it is the path to get it for other people. This is something very standard done for ATACseq in many other pipelines so I think many people are interested. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor things, but overall ok. Would push the module to nf-core/modules and import from there if possible, looks quite good to me to do so ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would rather push this to nf-core/modules - there is already other recipes for deeptools tools --> another one being added should be fairly easy to do :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And it looks good :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, I will try to do that, it is true is already there so it should be even easier. thanks!
Co-authored-by: Alexander Peltzer <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some small suggestions, mostly formatting issues. I realised that for chromap
we are applying the shift always, I will open an issue and by default will run chromap without shifting if the parameter shift_reads
is not set.
@@ -0,0 +1,36 @@ | |||
process DEEPTOOLS_ALIGNMENTSIEVE { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// MERGED_LIBRARY_FILTER_BAM.out.bam.join(MERGED_LIBRARY_FILTER_BAM.out.flagstat, by: [0]), | ||
// ch_chrom_sizes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// MERGED_LIBRARY_FILTER_BAM.out.bam.join(MERGED_LIBRARY_FILTER_BAM.out.flagstat, by: [0]), | |
// ch_chrom_sizes |
Co-authored-by: Jose Espinosa-Carrasco <[email protected]>
Co-authored-by: Jose Espinosa-Carrasco <[email protected]>
Co-authored-by: Jose Espinosa-Carrasco <[email protected]>
Co-authored-by: Jose Espinosa-Carrasco <[email protected]>
Co-authored-by: Jose Espinosa-Carrasco <[email protected]>
Co-authored-by: Jose Espinosa-Carrasco <[email protected]>
Co-authored-by: Jose Espinosa-Carrasco <[email protected]>
Co-authored-by: Jose Espinosa-Carrasco <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Awesome job 🚀
Effort to review previous PR that discussed important changes in the pipeline from @ktrns.
ONLY adapting the work in #164 (partly issue #91) – A new parameter ‘--shift_reads’.
Originally, this was the PR:
Fixed issue Genome annotation (gene names) missing in IGV session file #168 – The genome is again written out so that the IGV session file can be opened and used. This bug came with atacseq v2.0
Fixed issue Peak calling parameters might not be ideal #169 – Genome coverage tracks were generated & peaks were called based on fragments rather than reads, which is not correct for ATAC-seq analysis. This is fixed.
Implemented issue #164 (partly issue #91) – A new parameter ‘--shift_reads’ adjusts the coordinates of the reads using deeptools/alignmentsieve. At the moment this only works for paired-end data and throws an error if applied to single-end data.
PR checklist
nf-core lint
).nextflow run . -profile test,docker --outdir <OUTDIR>
).docs/usage.md
is updated.docs/output.md
is updated.CHANGELOG.md
is updated.README.md
is updated (including new tool citations and authors/contributors).