Can BWA MEM input file be in fasta format?
1
1
Entering edit mode
9.7 years ago
biolab ★ 1.4k

Hi, everyone,

I have a simple question: does bwa mem accept fasta format input file? The bwa mem help does not cover this issue, and no options for fasta input (bowtie has -f option), so I ask you here. Actually I made a test, and it seems ok, but I am not completely sure. THANKS a lot!

fasta bwa • 17k views
ADD COMMENT
1
Entering edit mode

I am a bit out-of-date when it comes to BWA but if I recall correctly: you can use fasta format for ref. genome and reads but then you are neglecting the quality score information, that is, you are assigning some artificial quality score value.

Please, someone correct me if I am wrong. I am also curious.

mxs

ADD REPLY
7
Entering edit mode
9.7 years ago

It can handle fasta files. But it will NOT print dummy quality values in the SAM/BAM file. It prints * in the quality field. You should be careful with downstream analysis. If any tool expects a quality value, it may fail.

ADD COMMENT
1
Entering edit mode

Thank you Geek_y and mxs. Yes, the quality score is missing. I will be careful in downstream analysis.

ADD REPLY

Login before adding your answer.

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