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

Bedtools problem with get_rg_cns.R #104

Open
jsmedmar opened this issue Mar 1, 2021 · 0 comments
Open

Bedtools problem with get_rg_cns.R #104

jsmedmar opened this issue Mar 1, 2021 · 0 comments

Comments

@jsmedmar
Copy link

jsmedmar commented Mar 1, 2021

Best regards,

I'm on version v6.3.2 and I was reviewing the work done by the script get_rg_cns.R.

I realized that the vector cn_estimates, which is the main output, contained always only NA values, indicating that the estimation for small copy number segments was not working.

seg_cn[i:j] = cn_estimates

After further investigation, I realized that bedtools was not returning headers expected by get_rg_cns.R, specifically seg_coords were not included in the output of the bedtools coverage system call--resulting in coverages being a vector of NA values:

names(coverage_of_coord) = paste(res[,2], res[,3], sep = "-")
coverages = coverage_of_coord[seg_coords]

I noticed that on release v6.3.4 you make a reference to stack collision errors, and I wonder if that means this same bug I'm encountering.

Thank you so much in advance.

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

No branches or pull requests

1 participant