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

bamtofastq depends on bxindex, which is part of Long Ranger #99

Open
slowkow opened this issue Sep 9, 2022 · 0 comments
Open

bamtofastq depends on bxindex, which is part of Long Ranger #99

slowkow opened this issue Sep 9, 2022 · 0 comments

Comments

@slowkow
Copy link

slowkow commented Sep 9, 2022

I ran bamtofastq --bx-list=mylist.txt my.bam and got this error message:

format!("Couldn't find BX index: '{:?}'. You must sort your BAM file with 'samtools sort -t BX' and index with 'bxindex'", bxi_fn)

I was scratching my head wondering "What is bxindex?" and searching Google without finding any results.

Then I found:
https://github.com/10XGenomics/longranger/blob/master/bin/bxindex

Now I understand that there is another project called Long Ranger that includes a Python library called tenkit that includes functions for creating a .bam.bxi file.

Would you consider including links to such dependencies for bamtofastq in the README file?

Also, I wonder if you might consider changing the error message about sorting and indexing? It could be more helpful if it included a link to the Long Ranger project, so folks can eventually figure out how to index their BAM files the way bamtofastq wants them.

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