Merging pe and contig alignments with Samtools
1
1
Entering edit mode
9.2 years ago
zggayk ▴ 10

Does anyone know how to merge two BWA alignments into one using samtools? I have a pe read alignment and a contig alignment, both done with BWA and I was wondering how difficult it would be to merge these into one consensus alignment?

The authors of the following paper (Whole genome sequencing of the black grouse (Tetrao tetrix): reference guided assembly suggests faster-Z and MHC evolution)

did this with contigs and mate-pair reads:

"The BAM format alignment files of the contig mapping and the mate-pair read mapping were subsequently merged using SAMtools suite v0.1.18"

Zach

alignment • 2.4k views
ADD COMMENT
1
Entering edit mode
9.2 years ago

I am not sure if I have understood your question correctly but if you have aligned both contigs and mate-pair reads to the same reference genome, you can use samtools "merge" function to merge the two bam/alignment files.

ADD COMMENT

Login before adding your answer.

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