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

[E::bgzf_read_block] Invalid BGZF header at offset 590043 #58

Open
Tine-dk opened this issue Oct 28, 2022 · 0 comments
Open

[E::bgzf_read_block] Invalid BGZF header at offset 590043 #58

Tine-dk opened this issue Oct 28, 2022 · 0 comments

Comments

@Tine-dk
Copy link

Tine-dk commented Oct 28, 2022

Hi,
I am new with REViewer can I encounter an error with the "BGZF header".
As output i get an empty ".metrics.tsv" and ".phasing.tsv" file and no images.
Do you know a solution for this?

BAM_EXPANSIONHUNTER="patientID_realigned.bam"
samtools sort patientID_realigned.bam -o patientID_realigned.sorted.bam
samtools index patientID_realigned.sorted.bam patientID_realigned.bam.bai

$ REViewer \

--reads $BAM_EXPANSIONHUNTER
--vcf $VCF_EXPANSIONHUNTER
--reference $REFERENCE_GENOME
--catalog $VARIANT_CATALOG
--locus AFF2,AR,ATN1,ATXN1,ATXN10,ATXN2,ATXN3,ATXN7,ATXN7,ATXN8OS,ATXN8OS,C9ORF72,CACNA1A,CBL,CNBP,CSTB,DIP2B,DMPK,FMR1,FXN,GIPC1,GLS,HTT,JPH3,NIPA1,NOP56,NOTCH2NL,PABPN1,PHOX2B,PPP2R2B,RFC1,TBP,TCF4
--output-prefix $OUTPUT_PREFIX
[2022-10-28 13:21:13.966] [info] Loading specification of locus AFF2
[E::bgzf_read_block] Invalid BGZF header at offset 590043
[E::bgzf_read] Read block operation failed with error 2 after 0 of 4 bytes
[2022-10-28 13:21:13.968] [info] Extracted 0 frags
[2022-10-28 13:21:13.968] [info] Calculating fragment length
[2022-10-28 13:21:13.974] [error] There are no read alignments in the target region

I appreciate your help,
/Tine

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