Error message when runing FreeBayes
1
0
Entering edit mode
3.4 years ago

Dear all,

I got an error message when I was trying to call variants by using FreeBayes. The error message is:

ERROR(freebayes): could not find SM: in @RG tag @RG ID:Unpaired_reads_assembled_against_24353_tag_g20871 SM:

What does RG tag mean? How can I fix this error?

Thanks, Yunyang

software error SNP alignment sequence • 1.0k views
ADD COMMENT
0
Entering edit mode

Check if Read Group already present in your bam file using samtools view -H |grep "@RG" . If RG is absent using Picard you can add them.

ADD REPLY
0
Entering edit mode

Hi Arup,

Thanks for your reply. This is how my RG looks like:

@RG ID:Unpaired_reads_assembled_against_24353_tag_g20871 SM: @RG ID:Paired_Group_1_assembled_against_24353_tag_g20871 PI:296 SM:

Is there anything wrong?

ADD REPLY
0
Entering edit mode
3.4 years ago

You need to define Read Groups in your bam file.

ADD COMMENT

Login before adding your answer.

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