This is a test version of Biostars. For the public version, visit https://www.biostars.org.
What is difference between soft-clipped and hard-clipped in SAM specification?

Hi.

I know that what soft-clipped reads are.

But when facing sam files, also, there are many hard clipped reads.

and I cannnot figure out what differences between them even though I check the sam specification.

Could you explain the difference of them?

I attached the easily understood figure

< image not found >

sequence next-gen-sequencing

2 answers

soft-clipped: bases in 5' and 3' of the read are NOT part of the alignment.

hard-clipped: bases in 5' and 3' of the read are NOT part of the alignment AND those bases have been removed from the read sequence in the BAM file. The 'real' sequence length would be length(SEQ)+ count-of-hard-clipped-bases

May i ask that is there any particular reason to use soft-clipped and hard-clipped? Can i say in the case of soft-clipped, bases that are not part of the alignment can be aligned to its complementary sequence?

Hi Guys,

Full explanation about clipping: http://davetang.org/wiki/tiki-index.php?page=SAM

Log in to answer this question.