Differential genes expression in knockdown experiment
1
0
Entering edit mode
6.9 years ago

Hi! Can anyone point me at right direction?

I'm trying to get UP and DOWN regulated genes between 2 groups (4 species in each), resulted by a knockdown experiment. I've managed to use grape-nf pipeline and obtained expected counts for each sample.

What is the best way to get from expected count (i have 8 files with genes counts total) to differentialy expressed genes? I've tried deseq2, but i can't get my data into the right format for it.

Deseq2 Knockout edgeR tximport RSEM • 2.7k views
ADD COMMENT
1
Entering edit mode
6.9 years ago
BioinfGuru ★ 2.1k

Stick with the DESEQ2 package.... and describe exactly the problem you are having with it. What does your input look like? What errors are you getting. This is how to solve the problem. Not by jumping to something else (where you will probably hit a wall also).

You may also want to post this on bioconductor where the DESEQ2 author is very active.

ADD COMMENT
0
Entering edit mode

Well, i have as an input 8 files, generated by RSEM. first i do

txi.rsem <- tximport(files, type = "rsem", txIn = FALSE, txOut = FALSE)

Where files is object with my 8 files

then, when i do final transformation to deseq2 data:

dds <- DESeqDataSetFromTximport(txi.rsem, samplenames, ~condition)

I get an error

Error: all(lengths > 0) is not TRUE

which is self-explanatory, but i can't really fight it, because all lengths were obtained in an automated way from RSEM. Which is why i'd appreciate if i could understand the template for deseq2 data object input, so i could generate it myself with different scripting

ADD REPLY
0
Entering edit mode

Often when running complex packages that someone else creates you come across an error that stumps you. The first thing to do is google the error! These packages have been around for years....someone will have had the same problem before you.

Google results

From the first google result here is the reply of the author of DESEQ2 on the bioconductor forum i mentioned above: "This error is because the modelling cannot have transcripts of length zero included in the offset calculation. What does it mean to have a gene of length 0 after all? I don't know the best solution here, the zeros are being produced by the upstream software, but I've recommended to others to just insert a length of 1 instead for these 0's, before moving on to DESeq2.

txi.rsem$length[txi.rsem$length == 0] <- 1

And from the second google result again from the author: You can edit the 0 lengths to be 1, by editing the length matrix in txi, before starting with DESeq2 We're just taking the gene effective lengths as reported by RSEM, whereas for summarizing from transcript level, tximport ensures the lengths are nonzero.

Welcome to "problem solving for bioinformatics 101".

ADD REPLY

Login before adding your answer.

Traffic: 1783 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6