Skip to content

chore: switch sam attributes to bitflags#67

Open
flying-sheep wants to merge 1 commit into
mainfrom
pa/sam-tags
Open

chore: switch sam attributes to bitflags#67
flying-sheep wants to merge 1 commit into
mainfrom
pa/sam-tags

Conversation

@flying-sheep
Copy link
Copy Markdown
Member

No description provided.

Comment thread src/io/sam.rs
Comment on lines -108 to -110
if params.out_sam_strand_field != "intronMotif" {
attrs.remove("XS");
}
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is handle in the verification step now.

Comment thread src/params/sam.rs
Comment on lines +45 to +46
// STAR maps NM attribute to 'nM' tag (mismatches only, not edit distance)
"NM" | "nM" => Self::NM,
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn’t add two separate flags for these as they’re treated the same.

If we want to treat them differently in the future, we can add one.

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.

1 participant