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

VLE/KBE-34/routing_of_merging_data #63

Merged
merged 9 commits into from
Sep 30, 2024
Merged

Conversation

Akaud
Copy link
Collaborator

@Akaud Akaud commented Sep 19, 2024

Add routing_merge function to merge LOVD and gnomAD datasets

  • Implemented routing_merge function that merges data from two sources:
    • LOVD data (from lovd_path)
    • gnomAD data (from gnomad_path)
  • Added file existence checks for both LOVD and gnomAD data sources
  • Created necessary directories if they don't exist in the save path
  • Handled data parsing and merging:
    • Extracted and merged relevant fields from LOVD "Variants_On_Genome" and "Variants_On_Transcripts"
    • Merged gnomAD data with LOVD data using merge_gnomad_lovd
  • Added an option to prevent file overwrite when overwrite is set to False
  • Included error handling for file saving

@Akaud Akaud added the enhancement New feature or request label Sep 19, 2024
@Akaud Akaud requested a review from Strexas September 19, 2024 17:12
@Akaud Akaud self-assigned this Sep 19, 2024
@Akaud Akaud changed the title Routing of merging data VLE/KBE-34/routing_of_merging_data Sep 24, 2024
Copy link
Owner

@Strexas Strexas left a comment

Choose a reason for hiding this comment

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

Move to backend folder.

api/data/refactoring.py Outdated Show resolved Hide resolved
@Akaud Akaud requested a review from Strexas September 25, 2024 19:47
@Akaud Akaud merged commit 925c3df into main Sep 30, 2024
0 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants