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

Has flag() renamed to flags()? #73

Open
egoecho opened this issue May 22, 2024 · 1 comment
Open

Has flag() renamed to flags()? #73

egoecho opened this issue May 22, 2024 · 1 comment
Labels
question Further information is requested

Comments

@egoecho
Copy link

egoecho commented May 22, 2024

When I ran a previous code I faced an error, since BAM.flag() function no longer existed. I found these was other undocumented function XAM.flags(). It seems XAM.flags() behaves identically to the previous BAM.flag() function after a try. Is that XAM.flags() is just a rename of BAM.flag() in the current and future versions, or is there another "formal" way I should use to access the flags data of read mapping information? Thank you!

@kescobo kescobo added the question Further information is requested label May 23, 2024
@kescobo
Copy link
Member

kescobo commented May 23, 2024

Looks like this: https://github.com/BioJulia/XAM.jl/blame/develop/src/flags.jl#L27 from @CiaranOMara , and it appears to me that the answer to

Is that XAM.flags() is just a rename of BAM.flag() in the current and future versions

is "yes". And it looks like the function IS documented in the source, but maybe wasn't updated in the documenter build?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants