removing sequencing gaps
0
0
Entering edit mode
10.5 years ago
cdwilliam524 ▴ 30

Could anyone tell me how to remove sequencing gaps from a *.sam file?

I use bwa to map the reference genome (fasta) to the metatranscriptome files (fastq), and then use "bwa sampe" to combine all the *.fasta, *.sai, and *.fastq to get the *.sam file. But the *.sam file contains many gaps between contigs. How could I remove them?

Thanks in advance!

sequencing alignment • 2.4k views
ADD COMMENT
0
Entering edit mode

I assume you mean that you mapped the short reads (fastq) to the reference genome (fasta), rather than the other way around.

Can you elaborate a bit on what you mean by gaps in the SAM file? I can think of a couple possible ways to interpret that.

ADD REPLY
0
Entering edit mode

Hi Devon,

I am new to bioinformatics, so it should be in the way you stated. Sorry for the confusion.

So in the *.sam file I have sequence like NNNNNNNNNCNNNNNNNTNNNNNNAGNNNNCT... I assume Ns are sequencing gaps and I want to remove them and I want to know the start/ end positions of the mapped contigs (I am not sure if I worded it right).

Thanks

ADD REPLY

Login before adding your answer.

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