why do the header of bwa mapping sam files show [M::main_mem]
1
0
Entering edit mode
3.0 years ago
szp770 ▴ 10

why does the header of my bwa mapping file showing: """ [M::main_mem] read 1198380 sequences (100000017 bp)... """ I cannot do any further analysis using this file.

shell bwa genome chip mapping • 826 views
ADD COMMENT
0
Entering edit mode
3.0 years ago

My guess is in your workflow you're both redirecting stderr and stdout to the the same file. ( Are you using nohup for example ?)

[M::main_mem] read 1198380 sequences (100000017 bp)... """

is a message that is displayed on stderr: https://github.com/lh3/bwa/blob/f1d1fd7c42e16f6006da77bf81e402eb531dbac2/fastmap.c#L85

ADD COMMENT
0
Entering edit mode

Yes, I used nohup. It is solved if I run the command in a *.sh file.

ADD REPLY

Login before adding your answer.

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