-
Notifications
You must be signed in to change notification settings - Fork 12
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
splitGAlignmentsByCut returns empty .bam files #64
Comments
which version are you using?Best!Your sincerely,Jianhong OuOn Oct 25, 2024, at 5:28 PM, chklee30 ***@***.***> wrote:
The function runs and creates the NucleosomeFree.bam, mononucleosome.bam, dinucleosome.bam, and trinucleosome.bam files, but these files only contain some header info. There are no actual alignment records.
The only message I get during execution of the function is the following:
[W::sam_read1_sam] Parse error at line 196
[W::sam_read1_sam] Parse error at line 196
[W::sam_read1_sam] Parse error at line 196
[W::sam_read1_sam] Parse error at line 196
[W::sam_read1_sam] Parse error at line 196
[W::sam_read1_sam] Parse error at line 196
[W::sam_read1_sam] Parse error at line 196
[W::sam_read1_sam] Parse error at line 196
There are no other warnings or errors. I'm not sure how to diagnose this problem.
P.S - what is line 196 here referring to? The object I am passing into splitGAlignmentsByCut is a GAlignments vector-like object of length N. Is it somehow accessing the original bam file that was read in to create the GAlignments object? In either case, I did not see anything weird with line 196 in the bam file.
Thanks for any help.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Hello @jianhong , I am using ATACseqQC version 1.26.0 |
Do you have trouble to install the newest version? I think this error is due to the NA values in some of the tags. There are several solutions, 1, updates the package. 2, remove some of the reads tags that not necessary; 3, load the patches for the export function.Best!Your sincerely,Jianhong OuOn Oct 25, 2024, at 7:53 PM, chklee30 ***@***.***> wrote:
Hello @jianhong ,
I am using ATACseqQC version 1.26.0
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Thank you for the reply @jianhong I have updated the package to version 1.29.0 but unfortunately get the same error. For your second suggestion, how can I code in R to remove the NA tags in the GAlignments object? Thank you |
Thank you for letting me know that. a new bug. Could you please share me the files to repeat the error?Best!Your sincerely,Jianhong OuOn Oct 26, 2024, at 9:43 AM, chklee30 ***@***.***> wrote:
Thank you for the reply @jianhong
I have updated the package to version 1.29.0 but unfortunately get the same error.
For your second suggestion, how can I code in R to remove the NA tags in the GAlignments object?
Thank you
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Hi @jianhong , How should I send you the file? The RDS file for the GAlignments object is 220 MB. I cannot attach it here on github. |
just subset the object to one small region of chromosome to repeat the error will be OK.Best!Your sincerely,Jianhong OuOn Oct 26, 2024, at 10:00 AM, chklee30 ***@***.***> wrote:
Hi @jianhong ,
How should I send you the file? The RDS file for the GAlignments object is 220 MB. I cannot attach it here on github.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Hi @jianhong , Here is the file. |
Thank for the file. I pushed a update to the development version. Please try it by |
Thank you @jianhong the splitGAlignmentsByCut() function works now. However, when I move on to the downstream steps as follows, I get another error running the enrichedFragments() function:
The error is:
Could you help me with this? I very much appreciate your time on this. Thank you. |
Could you please run |
Here you go |
The function runs and creates the NucleosomeFree.bam, mononucleosome.bam, dinucleosome.bam, and trinucleosome.bam files, but these files only contain some header info. There are no actual alignment records.
The only message I get during execution of the function is the following:
There are no other warnings or errors. I'm not sure how to diagnose this problem.
P.S - what is line 196 here referring to? The object I am passing into splitGAlignmentsByCut is a GAlignments vector-like object of length N. Is it somehow accessing the original bam file that was read in to create the GAlignments object? In either case, I did not see anything weird with line 196 in the bam file.
Thanks for any help.
The text was updated successfully, but these errors were encountered: