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 sarscov2_nextstrain workflow #204

Merged
merged 33 commits into from
Feb 4, 2021
Merged

add sarscov2_nextstrain workflow #204

merged 33 commits into from
Feb 4, 2021

Conversation

dpark01
Copy link
Member

@dpark01 dpark01 commented Feb 4, 2021

This PR adds:

  • a new workflow: sarscov2_nextstrain
  • a new task: nextstrain_build_subsample
  • a new task: tip_frequencies
    And bumps the nextstrain/base docker image.

The nextstrain_build_subsample task subsamples a large fasta+metadata data set to a small fasta file using a nextstrain/ncov style yaml build definition. It takes a builds.yaml and build_name as input and uses them to execute the subsampling snakemake rules in the ncov repo using the nextstrain docker. This includes the ability to have arbitrarily complex subsampling schemes and heirarchies, as well as the use of the snp-distance-based priorities.py weighted sampling schemes. It is relatively sarscov2-specific at the moment.

The sarscov2_nextstrain workflow is similar to the augur_from_assemblies workflow but uses the build-yaml based subsampling instead of the custom subsampling we had implemented ourselves. Since it is based on the ncov repo it has a number of sarscov2 assumptions built in.

This PR additionally adds the augur frequencies output to sarscov2_nextstrain and augur_from_assemblies.

…ation, make out_basename optional, copy relevant python code inline and use python:slim container, increase default RAM
…r slow becase of the implementation of --min-length in augur filter)
@dpark01 dpark01 merged commit 2c81971 into master Feb 4, 2021
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.

1 participant