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

Add command to propagate annotations #89

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

dkhofer
Copy link
Collaborator

@dkhofer dkhofer commented Nov 12, 2024

No description provided.


let mut path_mappings_by_name = HashMap::new();
for (name, target_path) in target_paths_by_name.iter() {
let source_path = source_paths_by_name.get(name).unwrap();
Copy link
Collaborator

Choose a reason for hiding this comment

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

why do we assume the 2 sample groups need the same paths?

// Replaced (15, 25) with a 2 bp sequence
// New gene annotation is (5, 15)
assert_eq!(record.start().get(), 5);
assert_eq!(record.end().get(), 15);
Copy link
Collaborator

@Chris7 Chris7 Nov 15, 2024

Choose a reason for hiding this comment

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

what happens if we throw an insert into a gene? wondering if we split it up or just extend it.

Copy link
Collaborator

@Chris7 Chris7 left a comment

Choose a reason for hiding this comment

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

Only question is about requiring paths to match. I think that lookup can be on-demand cache in an anonymous function.

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