diff --git a/Snakefile b/Snakefile index 8d71f79..4d014aa 100644 --- a/Snakefile +++ b/Snakefile @@ -2,13 +2,13 @@ rule all: input: auspice_json = "auspice/zika.json", -input_fasta = "data/sequences.fasta", -input_metadata = "data/metadata.tsv", -dropped_strains = "config/dropped_strains.txt", -reference = "config/zika_outgroup.gb", -colors = "config/colors.tsv", -lat_longs = "config/lat_longs.tsv", -auspice_config = "config/auspice_config.json" +input_fasta = f"{workflow.basedir}/data/sequences.fasta" +input_metadata = f"{workflow.basedir}/data/metadata.tsv" +dropped_strains = f"{workflow.basedir}/config/dropped_strains.txt" +reference = f"{workflow.basedir}/config/zika_outgroup.gb" +colors = f"{workflow.basedir}/config/colors.tsv" +lat_longs = f"{workflow.basedir}/config/lat_longs.tsv" +auspice_config = f"{workflow.basedir}/config/auspice_config.json" rule index_sequences: message: diff --git a/nextstrain-pathogen.yaml b/nextstrain-pathogen.yaml new file mode 100644 index 0000000..4c1e7a0 --- /dev/null +++ b/nextstrain-pathogen.yaml @@ -0,0 +1,14 @@ +# This file's *existence* marks the top level of a Nextstrain pathogen repo, +# which allows `nextstrain build` to be run from any subdirectory of the repo +# regardless of runtime. For more details, see +# . +# +# This file's *contents* is the "registration metadata" for the pathogen repo, +# used by `nextstrain setup` and `nextstrain run`. +--- +$schema: https://nextstrain.org/schemas/pathogen/v0 +workflows: + phylogenetic: + path: . + compatibility: + nextstrain run: True