This is a test version of Biostars. For the public version, visit https://www.biostars.org.
"RNA-seq by Example" Differential Gene Expression Error

I've been following the guidelines in "RNA-seq by Example" in order to practice analyzing RNA-seq data, but when I try to run the edger.r or deseq2.r code as follows:

Rscript code/deseq2.r

I get the following error:

Error in file(file, "rt") : cannot open the connection
Calls: read.csv -> read.table -> file
In addition: Warning message:
In file(file, "rt") :
     cannot open file 'design.csv': No such file or directory
Execution halted

It seems that I'm missing a file called design.csv. Does anyone know what I'm doing wrong or where I can find the design.csv file?

biostars_handbook rna-seq_by_example rna-seq

1 answer

You create the design.csv file using an editor in step 3 of the step-by-step process. It needs to contain the following:

sample,condition
BORED_1, bored
BORED_2, bored
BORED_3, bored
EXCITED_1, excited
EXCITED_2, excited
EXCITED_3, excited

Got it. I missed that update. Thanks a lot!

Log in to answer this question.