snakemake-workflows / rna-seq-kallisto-sleuth

A Snakemake workflow for differential expression analysis of RNA-seq data with Kallisto and Sleuth.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing input files for rule kallisto_index:

trishorts opened this issue · comments

Sorry if this is a dumb question. I'm very new to snakemake. I got the following error and I don't know how to fix it.

MissingInputException in line 1 of /home/user/GitClones/rna-seq-kallisto-sleuth/workflow/rules/quant.smk:
Missing input files for rule kallisto_index:
resources/ref/Homo-sapiens.GRCh38.cdna.chr21.fa

This is probably not what I am supposed to do but I downloaded kallisto indexes and put them in the /resources/ref/ directory hoping it would solve the problem. It did not. Anyway fasta is not divided by chromosome.

Any help would be appreciated.

All the adaptations you might have to do should be to the files in the config/ folder:
https://github.com/snakemake-workflows/rna-seq-kallisto-sleuth#step-2-configure-workflow

In config/config.yaml you can set your reference at:

transcriptome: "resources/ref/Homo_sapiens.GRCh38.cdna.chr21.fa"

And you can set this to any fasta file you want, but that fasta file should be found at that relative path (from the root directory of your repo clone). kallisto then creates its own index. If you want to find out what kind of file your workflow is missing in general and what it is needed for, search for the rules' name in the .smk files in the workflow/rules/ directory to see what its input and output are, and what it actually runs. If it calls a wrapper (wrapper:), you can head over to their docs to find out what exactly it does:
https://snakemake-wrappers.readthedocs.io/en/stable/

Optimally, the workflow would also do the reference download for you, but this hasn't been implemented yet.

Closing as inactive (and out of date). If something similar comes up, please just open another issue and reference this one.