I have a reads which are quite short (~22nt), and I want to find which mapped to intron-exon boundaries.
I have run tophat with segment=10 but did not find any spliced reads - probably impossible, so something must be wrong with the options I'm using?
Also tried bowtie2 --local
, the option I do not see any clipped aligned reads (at least I cannot see in the IGV, is there a way to count the number of trimmed reads that are aligned in --local
mode if any?)
20bp reads are too short for useful spliced alignments unless the introns are extremely short, on the order of a few dozen bp. That said, BBMap can map such reads spliced, with a command like this:
k=10
and slow are optional but recommended for mapping such short reads spliced. You can also add the "local" flag but that may reduce the number of reads spanning an intron.Try reducing the seed length, the read has to be longer than the seed length for the alignment to work. Default seed lengths are around 20.
you have no option for seed in tophat or am I wrong? this option is the segment one and I already decrease it to 10
bowtie is the aligner that users the seed lengths - it takes seed length via -L if you use it via tophat the option is called --b2-L I think.