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

Asking for indexed bam file #158

Open
saras224 opened this issue May 26, 2023 · 1 comment
Open

Asking for indexed bam file #158

saras224 opened this issue May 26, 2023 · 1 comment

Comments

@saras224
Copy link

Hi @bwlang
I encountered an error saying that it needs an indexed bam file when I have already provided it an indexed bam file. How to resolved this error? Log of the terminal output:

Pilon version 1.24 Thu Jan 28 13:00:45 2021 -0500
Exception in thread "main" java.lang.IllegalArgumentException: requirement failed: /lustre/saraswati/WASTEWATER3/WW_NOVA_SORTED.bam.bai must be indexed BAM
at scala.Predef$.require(Predef.scala:338)
at org.broadinstitute.pilon.BamFile.(BamFile.scala:58)
at org.broadinstitute.pilon.Pilon$.optionParse(Pilon.scala:165)
at org.broadinstitute.pilon.Pilon$.optionParse(Pilon.scala:172)
at org.broadinstitute.pilon.Pilon$.main(Pilon.scala:84)
at org.broadinstitute.pilon.Pilon.main(Pilon.scala)

Thanks in Advance!

@bwlang
Copy link
Contributor

bwlang commented May 26, 2023

i'm not really connected with this project... but that error message reads to me like you might have specified the index (.bai) instead of the bam ??

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