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

vdb/download: Add --prioritized_seqs_file option #176

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

joverlee521
Copy link
Contributor

Description of proposed changes

Allow users to define prioritized sequence accessions for a strain when the duplicate resolve method is split_passage. This flag could be extended for other resolve methods, but we are not actively using them in seasonal flu workflows so punting for now.

The file is expected to be a TSV file with a strain and accession column where the strain column only contains unique strain names. With the seasonal flu's pattern of downloading each segment separately,¹ the file should contain sequence accessions for a single segment.

¹ https://github.com/nextstrain/seasonal-flu/blob/73b8294906da99a6abd26f543edd68dfd6e63d0e/workflow/snakemake_rules/download_from_fauna.smk#L69

Related issue(s)

Part of #174

Checklist

  • Checks pass

Allow users to define prioritized sequence accessions for a strain
when the duplicate resolve method is `split_passage`. This flag could be
extended for other resolve methods, but we are not actively using them
in seasonal flu workflows so punting for now.

The file is expected to be a TSV file with a `strain` and `accession`
column where the `strain` column only contains unique strain names.
With the seasonal flu's pattern of downloading each segment separately,¹
the file should contain sequence accessions for a single segment.

¹ <https://github.com/nextstrain/seasonal-flu/blob/73b8294906da99a6abd26f543edd68dfd6e63d0e/workflow/snakemake_rules/download_from_fauna.smk#L69>
@joverlee521 joverlee521 mentioned this pull request Jan 13, 2025
7 tasks
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