Skip to content

Register nextstrain run compatible workflows - #165

Merged
joverlee521 merged 1 commit into
masterfrom
nextstrain-run-compat
Feb 4, 2026
Merged

joverlee521 merged 1 commit into
masterfrom
nextstrain-run-compat

Conversation

@joverlee521

Copy link
Copy Markdown
Contributor

Description of proposed changes

Discussion around available pathogens made me realize that this repo does not register the compatible workflows in nextstrain-pathogen.yaml yet.

Checklist

  • Checks pass
  • Update changelog

@joverlee521

Copy link
Copy Markdown
Contributor Author

Testing setup

$ nextstrain setup avian-flu@nextstrain-run-compat
Setting up avian-flu@nextstrain-run-compat…
Extracted 348 files and directories to '/Users/joverlee/.nextstrain/pathogens/avian-flu/nextstrain-run-compat=NZSXQ5DTORZGC2LOFVZHK3RNMNXW24DBOQ======'.

Checking setup…
✔ yes: downloaded
✔ yes: contains nextstrain-pathogen.yaml
✔ yes: nextstrain-pathogen.yaml declares `nextstrain run` compatibility
✔ yes: `nextstrain run` workflow 'genome-focused' exists
✔ yes: `nextstrain run` workflow 'segment-focused' exists

Warning: No pathogen default version is configured and no implicit default is intuitable.

You can use avian-flu@nextstrain-run-compat on an ad-hoc basis by specifying it
explicitly, e.g.:

    nextstrain run avian-flu@nextstrain-run-compat …

If you want to use avian-flu@nextstrain-run-compat by default instead, re-run
this command with the --set-default option, e.g.:

    nextstrain setup --set-default avian-flu@nextstrain-run-compat

All good!  Set up of avian-flu@nextstrain-run-compat complete.

@joverlee521

Copy link
Copy Markdown
Contributor Author

I did not run workflows to completion, but confirmed that I can start both workflows with nextstrain run. Note that the segment-focused workflow requires AWS credentials.

genome-focused output
$ nextstrain run avian-flu@nextstrain-run-compat genome-focused /tmp/avian-genome
Running the 'genome-focused' workflow for pathogen avian-flu@nextstrain-run-compat
Assuming unrestricted shared filesystem usage.
host: 67a3583dd175
Building DAG of jobs...
Retrieving from storage: s3://nextstrain-data/files/workflows/avian-flu/h5n1/pa/sequences.fasta.zst
Finished retrieval.
Retrieving from storage: s3://nextstrain-data/files/workflows/avian-flu/h5n1/ha/sequences.fasta.zst
Finished retrieval.
Retrieving from storage: s3://nextstrain-data/files/workflows/avian-flu/h5n1/np/sequences.fasta.zst
Finished retrieval.
Retrieving from storage: s3://nextstrain-data/files/workflows/avian-flu/h5n1/na/sequences.fasta.zst
Finished retrieval.
Retrieving from storage: s3://nextstrain-data/files/workflows/avian-flu/h5n1/mp/sequences.fasta.zst
Finished retrieval.
Retrieving from storage: s3://nextstrain-data/files/workflows/avian-flu/h5n1/pb2/sequences.fasta.zst
Finished retrieval.
Retrieving from storage: s3://nextstrain-data/files/workflows/avian-flu/h5n1/metadata.tsv.zst
Finished retrieval.
Retrieving from storage: s3://nextstrain-data/files/workflows/avian-flu/h5n1/ns/sequences.fasta.zst
Finished retrieval.
Retrieving from storage: s3://nextstrain-data/files/workflows/avian-flu/h5n1/pb1/sequences.fasta.zst
Finished retrieval.
Using shell: /usr/bin/bash
Provided cores: 8
Rules claiming more threads will be scaled down.
Job stats:
job                                                 count
------------------------------------------------  -------
_all                                                    1
add_h5_clade                                            2
add_metadata_columns_to_show_non_inferred_values        2
align                                                   9
align_segments_for_genome                              16
ancestral                                              10
auspice_config                                         10
cleavage_site                                           2
colors                                                 10
export                                                 10
filter                                                  9
filter_metadata_by_subtype                              2
filter_segments_for_genome                             16
filter_sequences_by_subtype                            16
genome_metadata                                         2
join_segments                                           2
mask_genome                                             2
merge_metadata                                          1
merge_sequences                                         8
prune_tree                                              8
refine                                                 10
rename_auspice_datasets                                10
traits                                                 10
translate                                              10
tree                                                   10
total                                                 188

Select jobs to execute...
segment-focused output
$ nextstrain run --envdir ~/Repos/env.d/aws/ avian-flu@nextstrain-run-compat segment-focused /tmp/avian-segment
Running the 'segment-focused' workflow for pathogen avian-flu@nextstrain-run-compat
Assuming unrestricted shared filesystem usage.
host: 1ec7acfc9baf
Building DAG of jobs...
Retrieving from storage: s3://nextstrain-data-private/files/workflows/avian-flu/mp/sequences.fasta.zst
Finished retrieval.
Retrieving from storage: s3://nextstrain-data-private/files/workflows/avian-flu/np/sequences.fasta.zst
Finished retrieval.
Retrieving from storage: s3://nextstrain-data-private/files/workflows/avian-flu/ns/sequences.fasta.zst
Finished retrieval.
Retrieving from storage: s3://nextstrain-data-private/files/workflows/avian-flu/na/sequences.fasta.zst
Finished retrieval.
Retrieving from storage: s3://nextstrain-data-private/files/workflows/avian-flu/pb2/sequences.fasta.zst
Finished retrieval.
Retrieving from storage: s3://nextstrain-data-private/files/workflows/avian-flu/metadata.tsv.zst
Finished retrieval.
Retrieving from storage: s3://nextstrain-data-private/files/workflows/avian-flu/pa/sequences.fasta.zst
Finished retrieval.
Retrieving from storage: s3://nextstrain-data-private/files/workflows/avian-flu/ha/sequences.fasta.zst
Finished retrieval.
Retrieving from storage: s3://nextstrain-data-private/files/workflows/avian-flu/pb1/sequences.fasta.zst
Finished retrieval.
Using shell: /usr/bin/bash
Provided cores: 8
Rules claiming more threads will be scaled down.
Job stats:
job                            count
---------------------------  -------
_all                               1
add_h5_clade                       2
align                             48
ancestral                         48
apply_metadata_hotfixes            1
auspice_config                    48
cleavage_site                      6
colors                            48
export                            48
filter                            48
filter_metadata_by_subtype         4
filter_sequences_by_subtype       32
merge_metadata                     1
merge_sequences                    8
refine                            48
rename_auspice_datasets           48
traits                            48
translate                         48
tree                              48
total                            583

Select jobs to execute...

Comment thread nextstrain-pathogen.yaml Resolved
@joverlee521
joverlee521 merged commit 7d5d220 into master Feb 4, 2026
@joverlee521
joverlee521 deleted the nextstrain-run-compat branch February 4, 2026 18:32
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.

3 participants