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 nextstrain-pathogen.yaml #87

Merged
merged 1 commit into from
Aug 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions ingest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,8 @@ nextstrain build \
This command produces one metadata file, `fauna/results/metadata.tsv`, and one sequences file per gene segment like `fauna/results/sequences_ha.fasta`.
Each file represents all available subtypes.

> If you are running this outside of Docker you'll need to define the location of fauna via the `path_to_fauna` config option.
The path is relative to the 'ingest' directory.
Adding `--config path_to_fauna="../../fauna"` works if your fauna directory is a sister directory to the avian-flu repo itself, which is a common set up.

> If you are running this outside of Docker we expect 'fauna' to be a sister directory to 'avian-flu'.
You can change this via `--config path_to_fauna=<path>` where the path is relative to the 'ingest' directory.

Add the `upload_all` target to the command above to run the complete ingest pipeline _and_ upload results to AWS S3.
The workflow compresses and uploads the local files to S3 to corresponding paths like `s3://nextstrain-data-private/files/workflows/avian-flu/metadata.tsv.zst` and `s3://nextstrain-data-private/files/workflows/avian-flu/ha/sequences.fasta.zst`.
Expand Down
2 changes: 1 addition & 1 deletion ingest/defaults/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ segments:
s3_dst:
fauna: s3://nextstrain-data-private/files/workflows/avian-flu

path_to_fauna: ../fauna
path_to_fauna: ../../fauna
Empty file added nextstrain-pathogen.yaml
Empty file.