-
Notifications
You must be signed in to change notification settings - Fork 19
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
BAM output support #5
Comments
This isn't that complicated, see e.g. my implementation at https://github.com/peterjc/biopython/blob/SamBam2015/Bio/Sequencing/SamBam/__init__.py#L1714 |
Make it more formal here that I am currently working on supporting BAM output with bamnostic. I will keep this issue open until that PR is complete |
This should be the first steps towards fully supporting BAM output mentioned in #5
@peterjc 3051e0b should address this issue. It is heavily based on where you pointed me to. However, I made some changes regarding how reads that border full blocks are handled: I also added support of directly copying a BAM file's header if it has been opened by bamnostic. Additionally, instead of having to reconstruct the byte seq of the read, each |
I don't yet set how you will use |
Ideally, a new method for Additionally, it have added CSI support to bamnostic (in case you were wondering). |
The README says BAMnostic is a pure Python, OS-agnositic Binary Alignment Map (BAM) file parser and random access tool.
Are you intending to support BAM output, or is this only possible though a workaround like outputting SAM format and piping this though a command line tool like samtools?
The text was updated successfully, but these errors were encountered: