How to see maximal read length / average read length using STAR
1
0
Entering edit mode
2.2 years ago
shinyjj ▴ 50

I am trying to understand the length of the short reads in star.png. In the screenshot, the average is 90, but as I know that’s not how this is defined for illumina. If the average is 90 mapped, the actual length is ~100 with the rest going to adapters. Is there a way to see the maximal length of a read (e.g. something like check the max length of the first 5k of the reads)?enter image description here

STAR • 509 views
ADD COMMENT
0
Entering edit mode
2.2 years ago

You can run a tool like seqkit stats, or run for a quick solution run something like:

cat data.fq | awk 'NR%4==2 { print length($0) }' | datamash mean 1 median 1
ADD COMMENT

Login before adding your answer.

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