nextstrain / zika

Nextstrain build for Zika virus
https://nextstrain.org/zika
8 stars 10 forks source link

phylo: `clean` rule removes the USVI data #37

Closed joverlee521 closed 4 months ago

joverlee521 commented 4 months ago

Running the clean rule in the phylogenetic workflow removes the USVI data that was added in https://github.com/nextstrain/zika/pull/31

So if you run clean then try to run the workflow, it results in an error:

$ nextstrain build phylogenetic/ clean
...
$ nextstrain build phylogenetic/ 
Building DAG of jobs...
MissingInputException in rule append_usvi in file /nextstrain/build/rules/merge_sequences_usvi.smk, line 24:
Missing input files for rule append_usvi:
    output: data/sequences_all.fasta, data/metadata_all.tsv
    affected files:
        data/metadata_usvi.tsv
        data/sequences_usvi.fasta

Possible solution

I think easiest to just move the USVI data to a different directory, e.g. usvi_data, so that it does not get removed with the workflow data.

j23414 commented 4 months ago

Other options include: