Soft Clipping Position
1
1
Entering edit mode
11.1 years ago

Hi,

How can I know the position and the length of soft-clipped nucleotides in my aligned reads (I used bowtie2 in local mode but the idea will be the same for other aligner). So from the sam file.

I put a little picture to explain more easily :

enter image description here

Thanks

N.

rna-seq • 4.3k views
ADD COMMENT
3
Entering edit mode
11.1 years ago

The answer you are looking for is in the SAM specification. The cigar string contains the information. Look for 'S' in the cigar string.

Nice picture.

ADD COMMENT
0
Entering edit mode

I checked in SAM spec and indeed I have to filter by cigar flag. Thanks a lot

ADD REPLY

Login before adding your answer.

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