--outFilterMismatchNoverLmax 0.05 --outFilterMatchNmin 16 --outFilterScoreMinOverLread 0 --outFilterMatchNminOverLread 0 --alignIntronMax 1
Which other settings would I need to change to achieve my goal (i.e. only unique reads and 1 best read for multi-mappers)?
Furthermore, I ultimately want to perform differential expression analysis on miRNA expression. Provided everything goes to plan, would the STAR output BAM file only include the abovementioned reads, or do I need to further filter the BAM file? I have tried to play around with the settings but the number of reported "uniquely mapped reads" never corresponds with the sum of the read counts from e.g. samtools idxstat.
Thank you for you assistance.
Kind regards
Hartwig Visser