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

Error appears when running the BamSlam.R #6

Open
JingniHe opened this issue May 13, 2024 · 1 comment
Open

Error appears when running the BamSlam.R #6

JingniHe opened this issue May 13, 2024 · 1 comment

Comments

@JingniHe
Copy link

Hi, I am working with Nanopore direct-RNA sequencing and found your tools really useful. However, while I was trying to use your BamSlam script to generate some summaries and figures for the alignments, I came across the error below (I generated the bam file using the exact Minimap2 commands suggested by you).

Do you have any ideas what caused the error below, and how I should fix it? Thank you!

A summary CSV file of your alignments.

Rscript BamSlam.R rna align_reads/Min01_aligned_reads.bam Min01

Error:
Imported bam file
Error in [<-(*tmp*, paste0("nbr", col_names_extract), value = c(514L, :
3661425 rows in value to replace 732285 rows
Execution halted

Rscript BamSlam.R rna align_reads/Min02_aligned_reads.bam Min02

Error:
Imported bam file
Error in [<-(*tmp*, paste0("nbr", col_names_extract), value = c(840L, :
943080 rows in value to replace 188616 rows
Execution halted

I am looking forwards to your respond. Thank you!

@josiegleeson
Copy link
Owner

Hi, apologies for my delayed reply!

I've been trying to replicate the issue on my end, but I can't seem to yet. Is it possible to share a mini version of one of your BAMs so I can test it better? Maybe a download link?

Thank you

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

2 participants