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 INSDC accession to results of ena submission and upload to backend. #2845

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

Conversation

anna-parker
Copy link
Contributor

@anna-parker anna-parker commented Sep 19, 2024

resolves #

preview URL:

Summary

  1. Maps results of successful ENA assembly submission to insdc_accession_base and insdc_accession_full and uploads these results to Loculus - handles the case with a single and also a multi-segment organism:
image
  1. Tested locally and updated README with exact commands for local testing and additional warnings.
  2. Refactored code to have --test flag (determines if ENA dev or prod is used) that is set at config level to make code clearer.

Screenshot

PR Checklist

  • All necessary documentation has been adapted.
  • The implemented feature is covered by an appropriate test.

@anna-parker anna-parker marked this pull request as ready for review September 22, 2024 14:25
ena_submission_url: https://wwwdev.ebi.ac.uk/ena/submit/drop-box/submit # TODO(https://github.com/loculus-project/loculus/issues/2425): update in production
github_url: https://raw.githubusercontent.com/pathoplexus/ena-submission/main/test/approved_ena_submission_list.json # TODO(https://github.com/loculus-project/loculus/issues/2425): update in production
ena_reports_service_url: https://wwwdev.ebi.ac.uk/ena/submit/report # TODO(https://github.com/loculus-project/loculus/issues/2425): update in production
submit_to_ena_prod: False # TODO(https://github.com/loculus-project/loculus/issues/2425): update in production
Copy link
Contributor Author

@anna-parker anna-parker Sep 22, 2024

Choose a reason for hiding this comment

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

In a later PR I will add a corresponding field in the values.yaml and update the ena-submission template to make sure this can be set to true via the values.yaml for Pathoplexus. In the same PR I will add a github workflow to prevent us setting this to true for a preview instance without an override as a safety mechanism.

@anna-parker anna-parker added the preview Triggers a deployment to argocd label Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
preview Triggers a deployment to argocd
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant