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

Advanced rescue of correctable corruptions #13

Open
3 tasks
Arkanosis opened this issue Jun 4, 2018 · 0 comments
Open
3 tasks

Advanced rescue of correctable corruptions #13

Arkanosis opened this issue Jun 4, 2018 · 0 comments
Assignees

Comments

@Arkanosis
Copy link
Owner

Some corruptions are actually reliably correctable without too much computation:

  • if fixed header bytes are incorrect, they can be fixed as long as the CRC32 properly validates the payload (100% reliable as long as the bam usage is concerned);
  • if the payload size is incorrect, it can be fixed as the CRC32 already validates the payload (100% reliable);
  • if there's a deflate or CRC32 error and the next block is shifted, try to fix the bgzf data size (100% reliable if it works).
@Arkanosis Arkanosis self-assigned this Jun 4, 2018
@Arkanosis Arkanosis mentioned this issue Jun 4, 2018
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant