Question: tximport error with salmon version
gravatar for agetzler
9 months ago by
agetzler0 wrote:

Hi folks,

I am having some issues using tximport to make a counts object from salmon outputs to feed into DESEQ2. When I try to use the tximport function on a list of files corresponding to salmon outputs the resulting occurs:

> txi <- tximport(files[1], type="salmon", tx2gene=tx2gene)
reading in files with read_tsv
1 Error: package_version(minfo$salmon_version) >= "0.8.0" is not TRUE
> txi
Error: object 'txi' not found

I did, in fact, use a salmon version <= 0.8.0 (0.7.2 to be precise) as it was the most recent version available on my institution's HPC. Is there a work around or alternative package/ function to use for the lower version? Or does some additional functionality exist in salmon version 0.8.0 and higher that is required and thus I should just get that version installed and re run salmon. 

Thanks in advance for any help and suggestions,


Adam Getzler

Graduate Student 


ADD COMMENTlink modified 9 months ago by Michael Love17k • written 9 months ago by agetzler0
gravatar for Michael Love
9 months ago by
Michael Love17k
United States
Michael Love17k wrote:

Can you post sessionInfo()? 

And can you try dropInfReps=TRUE?

(Note also that it's typically easy to use the latest version of Salmon, by downloading the Linux binary)


ADD COMMENTlink written 9 months ago by Michael Love17k

Hi Michael,

Setting dropInfReps=TRUE solved the problem.



ADD REPLYlink written 9 months ago by agetzler0
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.2.0
Traffic: 211 users visited in the last hour