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

Adjust the name of monomer/walk tag in digest to compatibility with pairtools #10

Closed
LuJiansen opened this issue Jul 30, 2024 · 2 comments

Comments

@LuJiansen
Copy link

LuJiansen commented Jul 30, 2024

Hi, I'm trying to convert the pore-c-py digested bam into .pairs format and extract the SAM tags including monomer tag Xc and walk tag Xw as extra column in the .pairs file. However, the pairtools only supports SAM tag with pair of uppercase letters. Could you please adjust the name of these tags of give a option for users to define them? Thanks!

@cjw85
Copy link
Contributor

cjw85 commented Jul 30, 2024

The lowecase letters indicate that these tags are not formally defined by the Sam tags specification. They are deliberately not uppercase. See https://samtools.github.io/hts-specs/SAMtags.pdf

In that sense this is a bug in pairtools not pore-c-py.

@LuJiansen
Copy link
Author

Thank you for your prompt reply!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants