Bwa/Samtools Soft-Clipping To Retrieve Back Whole Read
1
2
Entering edit mode
13.2 years ago

Hi,

(I've been googling for this and couldn't find the answer)

Am I right in thinking that the default bwa/samtools instructions in the website will hard-clip the reads in the SAM/BAM files?

In the usual pipeline for single fragment reads: bwa aln ... bwa samse ... samtools view ... samtools sort ... samtools index ...

How can I end up with a final SAM/BAM file that contains the whole of the read/qualscore even if it's not fully matched?

Cheers

bwa samtools • 4.8k views
ADD COMMENT
3
Entering edit mode

No, it is soft clip.

ADD REPLY
3
Entering edit mode
13.0 years ago
Ketil 4.1k

I've been using bwa, and I see soft-clipped reads in the results. I doubt that samtools will change this. As far as I can tell, the BAM files also contain the whole reads.

ADD COMMENT

Login before adding your answer.

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