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

invalid BGZF file: does not end in proper EOF marker #74

Open
lucy-1n-the-ai opened this issue Jul 27, 2024 · 1 comment
Open

invalid BGZF file: does not end in proper EOF marker #74

lucy-1n-the-ai opened this issue Jul 27, 2024 · 1 comment

Comments

@lucy-1n-the-ai
Copy link

Howdy,

I am running the following command to genotype a short read to a reference and I get the "invalid BGZF file: does not end in proper EOF marker" error. I haven't edited any of the files since they were made from aligning with vg giraffe so I'm unsure how to fix this.

elprep sfm ERR11223848.bam ERR11223848_geno.bam
--nr-of-threads 48
--mark-duplicates
--mark-optical-duplicates metrics/ERR11223848.metrics.txt
--sorting-order coordinate
--reference Olympia_test.elfasta
--haplotypecaller vcf/ERR11223848.gvcf.gz
--intermediate-files-output-type sam
--tmp-path ./

@caherzee
Copy link
Contributor

caherzee commented Aug 7, 2024

Hi,

I am guessing that the input bam file is corrupted. Can you try to convert ERR11223848.bam to .sam format, for example with SAMTools and see if that produces an error?

You can also try with elprep: elprep sfm ERR11223848.bam ERR11223848.sam and see if that produces the same error?

Thanks!

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