STAR output files

81 views
Skip to first unread message

Gimena Alegre

unread,
Dec 22, 2020, 10:40:39 AM12/22/20
to rna-star

Hello,
I understand that STAR has the ability to output alignments in SAM format or BAM (using --outSAMtype BAM SortedByCoordinate for example) and the default output format is SAM. But is there a way to output both (SAM and BAM) files in the same run?

Thank you for your help!
Gimena

Alexander Dobin

unread,
Dec 24, 2020, 12:30:28 PM12/24/20
to rna-star
Hi Gimena,

SAM and BAM cannot be output at the same time, but you can always convert them into each other with samtools view command.

Cheers
Alex

Reply all
Reply to author
Forward
0 new messages