Using rsem-calculate-expression and STAR: invalid number of arguments?
2
0
Entering edit mode
3.7 years ago
mccatamura • 0

Hi everyone, I am trying to use RSEM and want to use STAR as my aligner. I'm not sure what argument I am missing/using wrong. But I keep getting this error:

Invalid number of arguments!

The online tutorial is not up to date. In fact, I was able to debug many errors by reading through forums. Anyway, here is the command:

 rsem-calculate-expression -p 2 --star-gzipped-read-file --star \
 --star-path /path/to/star/executable --paired-end \
 /path/to/fastq.gz.1 /path/to/fastq.gz.2 \ 
 STAR_genome_dir sample_name_mouse

Thanks in advance for the help/suggestions!

rsem star STAR transcript quantification • 1.9k views
ADD COMMENT
0
Entering edit mode
3.7 years ago
Shalu Jhanwar ▴ 520

Without exact command generating the error, it's hard to pinpoint the bug. However, I'd suggest writing the whole command in one line, without the \ character and run it. \ causes issues sometimes.

ADD COMMENT
0
Entering edit mode

Hi! The actual command does not have the \ character. I added it in the post for readability :(

ADD REPLY
0
Entering edit mode
3.7 years ago
zorbax ▴ 610

Put --paired-end in a different order:

rsem-calculate-expression --star \
    --star-path /path/to/star/executable \
    --paired-end --star-gzipped-read-file -p 2 \
    /path/to/fastq.gz.1 /path/to/fastq.gz.2 \ 
    STAR_genome_dir sample_name_mouse
ADD COMMENT

Login before adding your answer.

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