STAR Aligner minimum read-length
1
2
Entering edit mode
9.0 years ago

Is there a parameter in STAR for setting the minimum length of reads to be mapped?

In the "Log.final.out" file, there is a category, "% of reads unmapped: too short," how do I change the "too short" variable?

RNA-Seq STAR • 15k views
ADD COMMENT
0
Entering edit mode

Hi,

Maybe this question can help you ? Do you know the length of those unmapped reads ?

ADD REPLY
0
Entering edit mode

That question is a decent start, but it doesn't specify what I'm trying to do... I'm comparing percent of reads mapped between STAR and GSNAP. GSNAP automatically throws out reads less that 17 bp. I was wondering if there is a parameter similar in STAR.

ADD REPLY
4
Entering edit mode
9.0 years ago

I was able to answer my own question:

The following parameters reduced my "Too short" percent from 10.8% to ~4%. Most of the reads went to multi-mapped or "other," but at least it worked.

--seedSearchStartLmax 30  # increase overall mapping sensitivity
--outFilterScoreMinOverLread 0 --outFilterMatchNminOverLread 0  --outFilterMatchNmin 50 # allow output of short alignments

There apparently isn't a minimum read length threshold for STAR.

ADD COMMENT
4
Entering edit mode

STAR version 2.4.2a provides this option:

--outFilterMatchNmin 20

In this case, it requires a minimum 20 bp match.

ADD REPLY

Login before adding your answer.

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