I am using Genesum package for estimating gene abundnace from transcript abundance. As input, I give sailfish generated expression file "Quant.sf" and gene annotation "GTF" file. But i get the following error
**Parsing input expression file
terminate called after throwing an instance of 'std::invalid_argument'
what(): stoi
Aborted (core dumped)**
Can someone help me solve this issue ??
TIA
Hi Rob, Thanks for the calrification. Will try tximport. Thanks again.
Hi Rob, I have used tximport and now I have counts from each sample for DEG analysis. I need TPM values(summarised for gene) for downstream analysis like heatmaps etc. I enabled "scaledTPM" in tximport but i get in countsfromabundance column just "scaledTPM" string and not any values ??!!
Check ?tximport and scan to the section Value. This section describes the object that is returned by tximport().
The return object is a list which contains three matrices, one of which is "abundance", this is the TPM summarized to gene-level.
Hi Michael, Thanks a lot. I am sorry. Yes !! it is clearly mentioned in your paper :-).
Hi Pam,
Tx-import only generates counts as its output. The "countsfromabundance" field just described the method used to generate the counts from the input abundances. That said, given counts, computing TPM should be very simple. The "length" of a gene should be represented as the abundance-weighted combination of the lengths of its isoforms, and the count provided by Tx-import gives the read count for the gene. Perhaps Mike Love (the main tx-import author) might even have a function to perform this transformation and get back gene-level TPM. I'll point him here on twitter!
Thanks Rob for your clarification and pointing this to Michael.