Skip to content

entrypoint-aws-batch: Upload .snakemake/metadata/ too#220

Merged
tsibley merged 1 commit intomasterfrom
trs/upload-snakemake-metadata
Jun 17, 2024
Merged

entrypoint-aws-batch: Upload .snakemake/metadata/ too#220
tsibley merged 1 commit intomasterfrom
trs/upload-snakemake-metadata

Conversation

@tsibley
Copy link
Copy Markdown
Contributor

@tsibley tsibley commented Jun 17, 2024

Snakemake stores state information per input/output here and uses it to determine if it needs to re-run rules or not. It seems akin to the file mtimes which we already take care to preserve on upload/download. Additionally, the metadata recorded is used in Snakemake's report generation and is generally useful for looking at workflow statistics.

Continue to not upload all of .snakemake/ en masse because it can potentially contain files that interfere with local usage and/or are large and unnecessary.

Resolves: nextstrain/cli#373
Related-to: nextstrain/cli#374

Checklist

  • Checks pass

Snakemake stores state information per input/output here and uses it to
determine if it needs to re-run rules or not.  It seems akin to the file
mtimes which we already take care to preserve on upload/download.
Additionally, the metadata recorded is used in Snakemake's report
generation and is generally useful for looking at workflow statistics.

Continue to not upload all of .snakemake/ en masse because it can
potentially contain files that interfere with local usage and/or are
large and unnecessary.

Resolves: <nextstrain/cli#373>
Related-to: <nextstrain/cli#374>
tsibley added a commit to nextstrain/cli that referenced this pull request Jun 17, 2024
Snakemake stores state information per input/output here and uses it to
determine if it needs to re-run rules or not.  It seems akin to the file
mtimes which we already take care to preserve on upload/download.
Additionally, the metadata recorded is used in Snakemake's report
generation and is generally useful for looking at workflow statistics.

Continue to not download all of .snakemake/ en masse because it can
potentially contain files that interfere with local usage and/or are
large and unnecessary.

Resolves: <#373>
Related-to: <nextstrain/docker-base#220>
tsibley added a commit to nextstrain/cli that referenced this pull request Jun 17, 2024
Snakemake stores state information per input/output here and uses it to
determine if it needs to re-run rules or not.  It seems akin to the file
mtimes which we already take care to preserve on upload/download.
Additionally, the metadata recorded is used in Snakemake's report
generation and is generally useful for looking at workflow statistics.

Continue to not download all of .snakemake/ en masse because it can
potentially contain files that interfere with local usage and/or are
large and unnecessary.

Resolves: <#373>
Related-to: <nextstrain/docker-base#220>
@tsibley tsibley requested a review from joverlee521 June 17, 2024 21:51
Copy link
Copy Markdown
Contributor

@joverlee521 joverlee521 left a comment

Choose a reason for hiding this comment

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

Worked as expected in testing with nextstrain/cli#374 (review)

@tsibley tsibley merged commit 3f15ce3 into master Jun 17, 2024
@tsibley tsibley deleted the trs/upload-snakemake-metadata branch June 17, 2024 23:50
tsibley added a commit to nextstrain/cli that referenced this pull request Jun 17, 2024
Snakemake stores state information per input/output here and uses it to
determine if it needs to re-run rules or not.  It seems akin to the file
mtimes which we already take care to preserve on upload/download.
Additionally, the metadata recorded is used in Snakemake's report
generation and is generally useful for looking at workflow statistics.

Continue to not download all of .snakemake/ en masse because it can
potentially contain files that interfere with local usage and/or are
large and unnecessary.

Resolves: <#373>
Related-to: <nextstrain/docker-base#220>
@joverlee521
Copy link
Copy Markdown
Contributor

Hah, totally forgot that ncov-ingest uses another Docker image. Triggered the ncov-ingest update-image workflow

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.

aws-batch: support Snakemake --report

2 participants