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

add an argument for bamtocov to allow the extension of reads to fragment size from single-end sequencing data #6

Open
kerenzhou062 opened this issue Dec 16, 2021 · 4 comments

Comments

@kerenzhou062
Copy link

Is your feature request related to a problem? Please describe.
In most of the IP-based methods, we need to extend reads to the fragment size to get the correct coverage for real IP regions if we sequence in a single-end mode.

Describe the solution you'd like
Add similar arguments with "--extendReads" from bamCoverage of deeptools would be a very good option.

@telatin
Copy link
Owner

telatin commented Dec 17, 2021

To clarify, you would need a --extendReads INT that will artificially count the read coverage from the read starting base to INT base downstream?

@kerenzhou062
Copy link
Author

kerenzhou062 commented Dec 17, 2021

To clarify, you would need a --extendReads INT that will artificially count the read coverage from the read starting base to INT base downstream?

This option will artificially count the read coverage from read starting base to INT base downstream of ending base. That means extending the read length by INT bp from 5' to 3' direction.
Thanks!

@telatin
Copy link
Owner

telatin commented Mar 29, 2022

As an experimental feature, I added --extendRead INT in bamtocov today, that will artificially set the end of an alignment at (alignment start + INT) nucleotides (or the end of the chromosome, whichever smaller.

@kerenzhou062
Copy link
Author

As an experimental feature, I added --extendRead INT in bamtocov today, that will artificially set the end of an alignment at (alignment start + INT) nucleotides (or the end of the chromosome, whichever smaller.

Thank you so much for your updates. This feature will be very helpful!

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

2 participants