How can I obtain DEGs that are resulted from using salmon in alignment-based mode or mapping-based mode?
1
0
Entering edit mode
@e3737061
Last seen 12 days ago
Türkiye

Hello everyone. In a DEG project involving salmon,tximport, and DESeq2 tools, I achieved a 62% mapping rate when using salmon in mapping-mode. However, this rate increased to 97% when using the alignment-mode of salmon. So I decided to see if there are any DEGs between the two modes. However, I encountered an error indicating index differences in the tximport package while trying to import the count data into DESeq2. Do you have any suggestions on how to overcome this error?

reading in files with read_tsv
1 2 3 4 5 Error in tximport(files = mapped_vs_aligned, type = "salmon", tx2gene = ensg_ve_enst,  : 
  all(txId == raw[[txIdCol]]) is not TRUE
In addition: Warning message:
In txId == raw[[txIdCol]] :
  longer object length is not a multiple of shorter object length
tximport DESeq2 • 342 views
ADD COMMENT
0
Entering edit mode
@james-w-macdonald-5106
Last seen 13 hours ago
United States

You apparently have files with different numbers of transcripts. The error comes from the part of tximport that compares the transcripts in the first file to the transcripts in the remaining files.

0
Entering edit mode

Right, you would have to manually subset the files to a common set, we don't have any option for this (because it's an "off script" type of analysis we usually want users to not attempt)

ADD REPLY

Login before adding your answer.

Traffic: 713 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