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

Direct BAM format output #27

Merged
merged 17 commits into from
Aug 2, 2023
Merged

Direct BAM format output #27

merged 17 commits into from
Aug 2, 2023

Conversation

andrewdavidsmith
Copy link
Contributor

Slight change to functionality: abismal can now output BAM format directly, without a pipe through samtools view. This introduces a dependence on HTSlib, but has other advantages. The FASTQ input files will be able to be decompressed using threads if needed, and cigar are now built directly without first creating intermediate "expanded" cigar strings.

andrewdavidsmith and others added 17 commits July 29, 2023 21:00
…rming sam structures and writing into stringstreams. Also using bgzf for reading input.
… format as vectors of uint32_t combining count and operation
…at as vectors of uint32_t combining count and operation without ever storing them in strings
…r values from HTSlib, which are signed 8 bit integers. The traceback then defaults to -1. The parts needed from sam.h are rewritten in a new header abismal_cigar_utils.hpp
…ith cigar strings in the uint32_t format. This is in place of having to directly include sam.h and use the macros there
…abismal_a_SOURCES. Not sure this is the best place for them.
@andrewdavidsmith andrewdavidsmith merged commit d350bcc into master Aug 2, 2023
1 check passed
@andrewdavidsmith andrewdavidsmith deleted the bam-format-output branch August 2, 2023 23:19
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

Successfully merging this pull request may close these issues.

None yet

2 participants