Salmon libType is required but missing, although I thought I supplied it
1
0
Entering edit mode
6.8 years ago

Using salmon v0.82 on Debian Linux cluster, I tried the following quant command:

salmon quant -i mouseRNA_index -l -r ./fastq/S1_R1.fastq.gz -p 8 -o quants/S1_R1_quant

but obtained a libType error:

Version Info: This is the most recent version of Salmon.
Exception : [the option '--libType' is required but missing]. Exiting.

Having read the Salmon documentation, I thought that the above syntax should describe my unstranded single-end read library, but I get the '--libType' is required but missing' error message. I tried different variants without success. Can someone explain the problem with my syntax please? Thanks, Charles.

RNA-Seq salmon • 3.5k views
ADD COMMENT
1
Entering edit mode

Yes Rob, that worked. Thank you for the quick response! Charles

ADD REPLY
0
Entering edit mode

Please use ADD COMMENT or ADD REPLY to answer to previous reactions, as such this thread remains logically structured and easy to follow. I have now moved your post but as you can see it's not optimal. Adding an answer should only be used for providing a solution to the question asked.

If an answer was helpful you should upvote it, if the answer resolved your question you should mark it as accepted. Upvote|Bookmark|Accept

ADD REPLY
4
Entering edit mode
6.8 years ago
Rob 6.5k

Hi Charles,

The issue is that the libtype flag -l (short form) or --libType (long form) requires an argument. In your case, this would be U for unstranded. So, your full command would look like:

cm@node10:~/mouseRNAseq$ salmon quant -i mouseRNA_index -l U -r ./fastq/S1_R1.fastq.gz -p 8 -o quants/S1_R1_quant

let me know if this works.

--Rob

ADD COMMENT

Login before adding your answer.

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