Go Back   SEQanswers > Bioinformatics > Bioinformatics

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bowtie2: Merged alignments to split reference /= aligning to whole reference? helloxine Bioinformatics 0 08-04-2014 12:18 PM
Treatment of Identical Alignments of Multiple Reads Fernas Bioinformatics 0 07-26-2014 07:24 AM
Output in SAM format; what and how to consider the alignments raj112 Bioinformatics 0 07-17-2012 08:55 AM
Cufflinks models from gsnap alignments extend beyond the reference bwalts Bioinformatics 0 05-29-2012 03:01 PM
Obtaining reference identical reads from a BAM file Sakti Bioinformatics 2 05-17-2011 11:40 AM

Thread Tools
Old 10-27-2017, 06:02 AM   #1
Location: Europe

Join Date: Oct 2011
Posts: 18
Lightbulb Help in output only the alignments identical to the reference

Hello everyone,
I have a SAM file resulting from a STAR alignment, containing reads aligned to a reference of smallRNA sequences (I created the reference, downloading the fasta sequences of interest and concatenated).
Now I would like to keep only the reads that are of the same length of the region in which they are mapped in the fasta file (I also have a GFF file with the coordinates of every region).
I tried setting STAR to keep only the reads completely mapped, and it works....but I would like a SAM or BAM file with just the reads that completely overlap the mapping region and are not longer or shorter than the region (I alredy removed the adapters).
The final goal is to count correctly reads overlapping the region of interest.
Now I used this tools: cutadapt, STAR and HTSeq-count.
Please could someone help me (maybe with some awk function, script, algorithm, STAR options...)?
Thank you in advance!!

Liam_Gallagher is offline   Reply With Quote

fasta, filtering reads, sam bam, smallrna, star aligner

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT -8. The time now is 12:12 PM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Single Sign On provided by vBSSO