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

Is there a way to skip the error and continue converting? #100

Open
wangyiqing50 opened this issue Sep 21, 2022 · 1 comment
Open

Is there a way to skip the error and continue converting? #100

wangyiqing50 opened this issue Sep 21, 2022 · 1 comment

Comments

@wangyiqing50
Copy link

Hi,

I am running it on a bam file but the error message told me it could be truncated. I am seeking a way how to skip these errors.
Slight data loss is acceptable.

`[W::bam_hdr_read] EOF marker is absent. The input is probably truncated
[E::bgzf_read_block] Invalid BGZF header at offset 295634318
[E::bgzf_read] Read block operation failed with error 6 after 0 of 4 bytes
bamtofastq error: IO Error reading BAM file. Your BAM file may be corrupt

If this error is unexpected, contact [email protected] for assistance. Please re-run with --traceback and include stack trace with an error report
see below for more details:

IO Error reading BAM file. Your BAM file may be corrupt
0: anyhow::backtrace::capture::Backtrace::capture
1: bamtofastq::inner
2: bamtofastq::main
3: std::sys_common::backtrace::__rust_begin_short_backtrace
4: _main
`

@lisafournier
Copy link

Hi, I am getting the same problem. Did you find a solution to resolve/skip this error ?

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