This is a test version of Biostars. For the public version, visit https://www.biostars.org.
searching for specific RNA nucleotide sequences

I have a unique chimera RNA nucleotide sequence. Is there a script I can use to to search my RNA seq bam files for that specific nucleotide motif.

rna-seq

1 answer

If you just want the reads containing the specific sequence, you could use grep;

$ samtools view in.bam | grep 'your sequence' > out.sam

And grep the rev comp

thanks for the reply . is there a way to a call sequence that has a specific nucleotide pattern for most reads but may alter in this pattern by 3 or 5 nucleotide for other reads?

Log in to answer this question.