Skip to content

Conversation

VladimirShitov
Copy link
Collaborator

Changelog

Add a component to calculate differentially accessible peaks for ATAC data.

Issue ticket number and link

Contributes to #398

Checklist before requesting a review

  • I have performed a self-review of my code

  • Conforms to the Contributor's guide

  • Check the correct box. Does this PR contain:

    • Breaking changes
    • New functionality
    • Major changes
    • Minor changes
    • Documentation
    • Bug fixes
  • Proposed changes are described in the CHANGELOG.md

  • CI tests succeed!

mdata = mudata.read(par["input"].strip())
mod = mdata.mod[par["modality"]]

if "peak_annotation" not in mod.uns["atac"]:
Copy link
Member

Choose a reason for hiding this comment

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

Could you create an argument for the location of the peaks?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is the default value from muon: https://muon.readthedocs.io/en/latest/api/generated/muon.atac.tl.add_peak_annotation.html

Other muon functions check exactly this location, so if we store it somewhere else, the errors will appear

Copy link
Member

Choose a reason for hiding this comment

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

I think what we could do is add an argument here (with a default value peak_annotation) and also add this argument to other components where needed?

@DriesSchaumont DriesSchaumont added this to the 2.1.0 milestone Dec 26, 2024
@DriesSchaumont DriesSchaumont self-assigned this Dec 26, 2024
@DriesSchaumont DriesSchaumont modified the milestones: 2.1.0, 3.0.0 Mar 25, 2025
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.

2 participants