Hello there, I am trying to analyse a dataset using kallisto and its abundances generated. thus, I am using tximport and want, then, use TPM counts and when I open the txi.kallisto.tsv files, essentially I have three different columns (i.e. 'abundances', 'counts' and 'length'). I am not sure whether the counts tximport pretend to import are normalized or not (i.e. TPM counts or not)??
thanks in advance
1 answer
For use with DESeq2 just follow the timport manual section for kallisto, but set txOut=F to aggregate transcript abundances to the gene level. The countsFromAbundance="scaledTPM" function from what I understand is only necessary to output a count matrix in case you want to use it for something else rather than DESeq2, so not necessary in this case.
DESeqDataSetFromTximport function automatically correct for the length bias
Yes that is the whole point of this method. It is the length bias due to different transcript/isoform usage between the condition that is of interest here, which will be corrected by passing an offset to DESeq2 for the linear model.
Log in to answer this question.
As an aside, you should not use normalized counts with DESeq2. It expects unnormalized, raw counts.
Thanks! So, when I am using tximport, the function DESeqDataSetFromTximport function automatically correct for the length bias? I guess so; in fact, from here link to tximport:
but if someone could confirm this, that would be great.