RSEM versus STAR/RSEM

986 views
Skip to first unread message

Jennifer Beane

unread,
Feb 9, 2017, 12:12:45 PM2/9/17
to RSEM Users
Hi,

I'm wondering if it is better to align with star within RSEM or to use STAR and --quantMode and feed the bam file to RSEM?  Does this produce equivalent results?

Thank you,
Jen

Bo Li

unread,
Feb 10, 2017, 4:24:29 PM2/10/17
to rsem-...@googlegroups.com
Hi Jen,

Here are the STAR parameters RSEM uses, it follows the ENCODE3 pipeline:

## ENCODE3 pipeline parameters
" --genomeDir $star_genome_path " .
' --outSAMunmapped Within ' .
' --outFilterType BySJout ' .
' --outSAMattributes NH HI AS NM MD ' .
' --outFilterMultimapNmax 20 ' .
' --outFilterMismatchNmax 999 ' .
' --outFilterMismatchNoverLmax 0.04 ' .
' --alignIntronMin 20 ' .
' --alignIntronMax 1000000 ' .
' --alignMatesGapMax 1000000 ' .
' --alignSJoverhangMin 8 ' .
' --alignSJDBoverhangMin 1 ' .
' --sjdbScore 1 ' .
" --runThreadN $nThreads " .
##

## different than ENCODE3 pipeline
## do not allow using shared memory
' --genomeLoad NoSharedMemory ' .
##

## different than ENCODE3 pipeline, which sorts output
BAM
## no need to do it here to save time and memory
' --outSAMtype BAM Unsorted ' .
##

## unlike ENCODE3, we don't output bedGraph files

' --quantMode TranscriptomeSAM '.
' --outSAMheaderHD \@HD VN:1.4 SO:unsorted '.

## define output file prefix
" --outFileNamePrefix $imdName ";
##



If you use the same parameter for STAR, you'll get the same results.

Best,
Bo
> --
> RSEM website: http://deweylab.biostat.wisc.edu/rsem/ [1]
> ---
> You received this message because you are subscribed to the Google
> Groups "RSEM Users" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to rsem-users+...@googlegroups.com.
> To post to this group, send email to rsem-...@googlegroups.com.
> Visit this group at https://groups.google.com/group/rsem-users [2].
>
>
> Links:
> ------
> [1] http://deweylab.biostat.wisc.edu/rsem/
> [2] https://groups.google.com/group/rsem-users

Malcolm Cook

unread,
Apr 23, 2018, 4:12:26 PM4/23/18
to RSEM Users
Thanks for supplying these defaults.

I read that --bam is deprecated in http://deweylab.github.io/RSEM/rsem-calculate-expression.html#DEPRECATED-OPTIONS

Does this mean that Jennifer's consideration to "use STAR and --quantMode and feed the bam file to RSEM" will someday no longer be possible?

Thanks,

~Malcolm Cook

Colin Dewey

unread,
Apr 30, 2018, 5:36:41 PM4/30/18
to RSEM Users
Hi Malcom,

No, BAM support is not being removed.  This is simply a change in the way the options work.  Moving forward, you should use the "--alignments" option when providing an alignment file (in SAM, BAM, or CRAM format) as input.

Best,
Colin

Malcolm Cook

unread,
Apr 30, 2018, 5:57:20 PM4/30/18
to rsem-...@googlegroups.com
splendid news - thanks Colin...

~ Malcolm Cook

You received this message because you are subscribed to a topic in the Google Groups "RSEM Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/rsem-users/xBkdqfhLM4g/unsubscribe.
To unsubscribe from this group and all its topics, send an email to rsem-users+unsubscribe@googlegroups.com.

To post to this group, send email to rsem-...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages