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
Are there filter options available for pileup? #400
Comments
From how this sounds (I am not familiar with the functions in pysam), there are no such convenience functions in Are you aware of the general docs right here, which provide some examples of how to filter alignments in a pileup (a bit further down): Otherwise, there are infos on And finally, all the stuff you can do on a |
Could you give a tiny example for the last part? |
I am not super well versed in neither rust or C so excuse my ignorance if I am missing smth obvious. Just to update a bit more the context from @Crispy13's question. The pileup function in pysam does have multiple options (see here). One of them is for instance pysam feels more like samtools so I understand there's no feature parity with rust_htslib. However, as far as I can tell from the pysam code and the samtools code, this functionality exists in htslib (see here) not in either library. So my broader question is, can we access such functionality (i.e. ignoring overlaps) within rust_htslib? or what is the easiest path to do so? |
Digging a bit more there seems to be bindings to the function that they use in samtools, here. I think it's a bit over my skill level though. |
In pysam, there are some options for filtering, min base quality, stepper, mapping quality, ignore overlaps .. etc.
Are there any options available for pileup function?
Thanks.
The text was updated successfully, but these errors were encountered: