I am trying to build an index on kallisto on mac using R studio and have saved my FASTA file to my desktop, however, when I run kallisto index -i DI_mRNA.index DI_mRNA.fa.gz, there is an error saying Error: FASTA file not found DI_mRNA.fa.gz

  • 2
    $\begingroup$ In what way are you running Kallisto on R? My guess would be you are not in the same directory as the fastq file. You can find out the current working directory with getwd() and set it with setwd(). $\endgroup$
    – TW93
    Commented Jun 9, 2020 at 18:53

1 Answer 1


As mentioned in a comment, your working directory lacks the fasta file.


Your Answer

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

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