Felix Krueger
06/11/2025, 11:51 AMMULTI-MAPPING READS:
Number of reads mapped to multiple loci | 24119780
% of reads mapped to multiple loci | 16.96%
Number of reads mapped to too many loci | 225856
% of reads mapped to too many loci | 0.16%
UNMAPPED READS:
Number of reads unmapped: too many mismatches | 0
% of reads unmapped: too many mismatches | 0.00%
Number of reads unmapped: too short | 15408484
% of reads unmapped: too short | 10.83%
Number of reads unmapped: other | 71667333
% of reads unmapped: other | 50.38%
Using the same version of STAR, and leaving out the parameter: --twopassMode Basic (which is set within Ribo-seq) gives the following numbers:
MULTI-MAPPING READS:
Number of reads mapped to multiple loci | 99216594
% of reads mapped to multiple loci | 69.75%
Number of reads mapped to too many loci | 127419
% of reads mapped to too many loci | 0.09%
UNMAPPED READS:
Number of reads unmapped: too many mismatches | 0
% of reads unmapped: too many mismatches | 0.00%
Number of reads unmapped: too short | 13022312
% of reads unmapped: too short | 9.15%
Number of reads unmapped: other | 50600
% of reads unmapped: other | 0.04%
Now all of a sudden we have 70% multi-mapping reads, and no unmapped reads (other) anymore. Is this a known-phenomenon?Jack Tierney
06/12/2025, 7:46 AMFelix Krueger
06/12/2025, 8:17 AMJack Tierney
06/12/2025, 8:26 AMFelix Krueger
06/12/2025, 8:29 AMMapping speed, Million of reads per hour | 975.41
Number of input reads | 142247282
Average input read length | 27
UNIQUE READS:
Uniquely mapped reads number | 29830357
Uniquely mapped reads % | 20.97%
Average mapped length | 26.87
Number of splices: Total | 3866566
Number of splices: Annotated (sjdb) | 3755129
Number of splices: GT/AG | 3832307
Number of splices: GC/AG | 29697
Number of splices: AT/AC | 2927
Number of splices: Non-canonical | 1635
Mismatch rate per base, % | 0.64%
Deletion rate per base | 0.01%
Deletion average length | 1.01
Insertion rate per base | 0.00%
Insertion average length | 1.04
MULTI-MAPPING READS:
Number of reads mapped to multiple loci | 99216594
% of reads mapped to multiple loci | 69.75%
Number of reads mapped to too many loci | 127419
% of reads mapped to too many loci | 0.09%
UNMAPPED READS:
Number of reads unmapped: too many mismatches | 0
% of reads unmapped: too many mismatches | 0.00%
Number of reads unmapped: too short | 13022312
% of reads unmapped: too short | 9.15%
Number of reads unmapped: other | 50600
% of reads unmapped: other | 0.04%
CHIMERIC READS:
Number of chimeric reads | 0
% of chimeric reads | 0.00%Felix Krueger
06/12/2025, 8:30 AMMapping speed, Million of reads per hour | 1376.59
Number of input reads | 142247282
Average input read length | 27
UNIQUE READS:
Uniquely mapped reads number | 30825829
Uniquely mapped reads % | 21.67%
Average mapped length | 26.83
Number of splices: Total | 5047415
Number of splices: Annotated (sjdb) | 4904765
Number of splices: GT/AG | 4687225
Number of splices: GC/AG | 347336
Number of splices: AT/AC | 3472
Number of splices: Non-canonical | 9382
Mismatch rate per base, % | 0.90%
Deletion rate per base | 0.01%
Deletion average length | 1.01
Insertion rate per base | 0.00%
Insertion average length | 1.10
MULTI-MAPPING READS:
Number of reads mapped to multiple loci | 24119780
% of reads mapped to multiple loci | 16.96%
Number of reads mapped to too many loci | 225856
% of reads mapped to too many loci | 0.16%
UNMAPPED READS:
Number of reads unmapped: too many mismatches | 0
% of reads unmapped: too many mismatches | 0.00%
Number of reads unmapped: too short | 15408484
% of reads unmapped: too short | 10.83%
Number of reads unmapped: other | 71667333
% of reads unmapped: other | 50.38%
CHIMERIC READS:
Number of chimeric reads | 0
% of chimeric reads | 0.00%Jack Tierney
06/12/2025, 8:34 AMFelix Krueger
06/12/2025, 8:43 AMThomas Danhorn
06/13/2025, 3:47 AMunmapped-other are the reads for which the anchor seeds are not found.
The two main reasons for that are (i) poor read quality (ii) "contamination" with sequences not present in the reference genome.So "no seed found" would mean that the seed is not in the index, which does not make sense if the same index was used for both runs, unless the length of the seed is changed (with the longer ones not found). Might be worthwhile trying different STAR versions to see if this is a regression ...
Jack Tierney
06/13/2025, 6:56 AMFelix Krueger
06/13/2025, 8:23 AMTotal reads reads in 8 regions (5kb)
noTwoPass. [MQ20] 33,691,827 4,465,411
TwoPassBasic [MQ20] 35,862,325 4,385,250
TwoPassBasic [MQ0] 53,116,995 12,672,285
noTwoPass [MQ0] 102,632,078 61,206,338
The same BAM files were imported only allowing uniquely mapping reads (MQ20), or allowing multimappers (MQ0) (primary alignments only). It’s clearly not that STAR cannot map to these regions generally, but it is specifically the TwoPass mode that excludes the reads from the file…
I have also identified the regions where these reads get mapped to, where just 4 regions (of 5kb each) attract more than 50 Million reads. 3 out of 4 of these have a rRNA precursor or pseudogene annotated nearby.Jack Tierney
06/13/2025, 8:38 AMJack Tierney
06/13/2025, 8:39 AMFelix Krueger
06/13/2025, 8:42 AMsortMeRNA has already removed 3% of reads (they have no_RNA in the name), but they clearly still contain > 50% rRNA reads.
I think in this case the unique alignments are comparable in either mode (and if we want to continue only with those it will not matter much), but without two pass everything aligns (as multi-mapping), but with twoPass these reads are all of a sudden unmappable. If you ask me, me this looks like a bug and is an unwanted behaviour.
It will look very different in a QC plot, potentially send you down on a contaminant hunt (which I am now on for a few days), and potentially spark a complaint with the sequencing facility/company why the samples are contaminated….Jack Tierney
06/13/2025, 8:59 AMFelix Krueger
06/13/2025, 9:04 AMFelix Krueger
06/13/2025, 9:05 AMJack Tierney
06/13/2025, 9:09 AMFelix Krueger
06/13/2025, 9:11 AMJack Tierney
06/13/2025, 9:23 AMFelix Krueger
06/13/2025, 9:31 AMJack Tierney
06/13/2025, 9:44 AMFelix Krueger
06/13/2025, 10:11 AM--twopass Basic --outFilterMultimapNmax 1000 --winAnchorMultimapNmax 2000
MULTI-MAPPING READS:
Number of reads mapped to multiple loci | 96029346
% of reads mapped to multiple loci | 67.51%
Number of reads mapped to too many loci | 2553
% of reads mapped to too many loci | 0.00%
UNMAPPED READS:
Number of reads unmapped: too many mismatches | 0
% of reads unmapped: too many mismatches | 0.00%
Number of reads unmapped: too short | 10176682
% of reads unmapped: too short | 7.15%
Number of reads unmapped: other | 6188987
% of reads unmapped: other | 4.35%
OK I am glad this is not a true bug. Thanks all for your input here! (It might have helped to call the reads “Number of reads exceeding multi-map filters” rather than “unmapped”, but I guess that’s just semantics….)Felix Krueger
06/16/2025, 8:37 PMThomas Danhorn
06/16/2025, 8:47 PMFelix Krueger
06/16/2025, 8:48 PM