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 when running brie-count: IndexError: list index out of range #61

Open
fweberling opened this issue Jan 15, 2024 · 1 comment
Open

Comments

@fweberling
Copy link

Hi,

I run brie-count on a .bam file and use the provided SE.gold.gtf annotation. Unfortunately, I receive this error message:

Screenshot 2024-01-15 at 11 17 15

What is the reason for it? I used this code in the command line:

brie-count -a $path2gtf/SE.gold.gff3\ -s $path2bam/Aligned.sortedByCoord.out.bam\ -b $path2barcodes/barcodes.tsv.gz \ -o $path2out/brieCount \ -p 15

I would appreciate some feedback!

Cheers,
Friedrich

@huangyh09
Copy link
Owner

Hi Friedrich,

Thanks for reporting the issue. Can you double-check if the cell barcode is used in the bam file? The format generally has a suffix of "-1", e.g., GTGCC*-1. Therefore, if no cells are matched, it will return zero cells in the matrix and raise the error.

Best
Yuanhua

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