Run STAR for mapping , remove duplicates and read counts

176 views
Skip to first unread message

jacs

unread,
Sep 27, 2021, 8:32:30 AM9/27/21
to rna-star

Hi Alex,

Is it possible to run STAR for mapping, remove duplicates reads and read counts in a single command ? (I have 3' RNAseq data)

Like this:
STAR --runThreadN 16 --genomeDir STAR_GTF --readFilesIn Read1.fastq --readFilesCommand zcat --outFileNamePrefix $name --outSAMtype \
BAM SortedByCoordinate --limitBAMsortRAM 50000000000 --chimSegmentMin 20 -- --bamRemoveDuplicatesType UniqueIdentical  quantMode TranscriptomeSAM GeneCounts --outReadsUnmapped Fastx --outWigType bedGraph --outWigNorm RPM

Thanks,

regards,
jacs

Alexander Dobin

unread,
Sep 27, 2021, 5:27:38 PM9/27/21
to rna-star
Hi @jacs,

no, the bamRemoveDuplicates has to be run after the mapping and sorting of the BAM is completed.

Cheers
Alex

Reply all
Reply to author
Forward
0 new messages