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
pileup on streaming SAM records #915
Comments
The What pysam code have you considered, and did it result in a “pileup of samfiles not implemented yet” exception? |
Here is what I ran. Is there another way to do this?
This is running pysam 0.15.3 |
Try applying PR #916 and rebuilding pysam. |
Nice! I'll have a go. |
I have a use case where I want to implement a read-group-aware
samtools mpileup
on a file streamed from stdin or a UNIX file descriptor. I think this could be done with pysam's pileup engine, but my testing shows that pileup requires an indexed BAM. Is there an easy way to get the pileup to work on SAM/BAM records streamed from stdin? If we assume that the reads are position sorted, then this should be feasible, no?The text was updated successfully, but these errors were encountered: