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

Could not retrieve index file for .bam #119

Open
nansne opened this issue Mar 18, 2024 · 3 comments
Open

Could not retrieve index file for .bam #119

nansne opened this issue Mar 18, 2024 · 3 comments

Comments

@nansne
Copy link

nansne commented Mar 18, 2024

Hi,
I ran cellsnp-lite, and failed with "[E::idx_find_and_load] Could not retrieve index file for './gex_possorted_bam.bam'", so what should i do next?
Thank you very much!

@hxj5
Copy link
Collaborator

hxj5 commented Mar 18, 2024

Hi, it seems the BAM index file is missing. You may use samtools index to generate the file, i.e.,

samtools index ./gex_possorted_bam.bam

It should produce ./gex_possorted_bam.bam.bai or ./gex_possorted_bam.bam.csi file.

@nansne
Copy link
Author

nansne commented Mar 18, 2024

thank you, so i put 'gex_possorted_bam.bam' and 'gex_possorted_bam.bam.bai' into the same folder, and run again, but it failed with ...
微信图片_20240318154326

@hxj5
Copy link
Collaborator

hxj5 commented Mar 18, 2024

Hi, the BAM file may be corrupted. To check the file, please see the comments on issue 32.

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