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

feat: anonymize bam - adapt mandatory and aux fields #219

Merged
merged 4 commits into from
Dec 19, 2021

Conversation

FelixMoelder
Copy link
Member

This PR unifies the output of bam-anonymize by adapting the mandatory fields of the input file.
In addition, all aux fields are also copied to the anonymized reads in order to improve compatibility.

As there were some clippy warning about dead code these have been fixed.

@FelixMoelder
Copy link
Member Author

Personally, I do not like the if {} else if {} else-closure and would prefer a match but it looks like rust does not allow to match on a variable.

@johanneskoester johanneskoester merged commit e6ffdea into master Dec 19, 2021
@johanneskoester johanneskoester deleted the anonymize_aux branch December 19, 2021 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants