1
$\begingroup$

I'm trying to run a snakefile for the first time with limited coding experience using salmon to index a reference genome. I'm not too sure what I'm doing wrong based on this error message.

Error: Building DAG of jobs...
MissingRuleException:
No rule to produce snakefile (if you use input functions make sure that they don't raise unexpected exceptions).

Code:

rule salmon_index:
        input:
                R1="sequences/*R1.fastq.gz",
                R2="sequences/*R2.fastq.gz"
        output:
                Index="results/salmon_index"
        shell:
                """
                salmon index --threads 8 -t references/genome.fa.gz -i salmon_index
                """
$\endgroup$

1 Answer 1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.