rule all:
    input:
        expand("test{i}.out2", i=range(3))

rule a:
    output:
        "test{i}.out"
    conda:
        "test-env.yaml"
    shell:
        "bwa 2> {output} || true"


rule b:
    input:
        "test{i}.out"
    output:
        "test{i}.out2"
    conda:
        "test-env.yaml"
    shell:
        "bwa 2> {output} || true"
