How to add the PO tag in BAM file
1
0
Entering edit mode
2.1 years ago

Dear all,

I want to add the PO tag in my BAM file that is required by popbam tool which I am going to use to compute Fay's and Wu's statistics. Kindly guide me how can I add that tag? I saw the AddOrReplaceReadGroups feature of Picard tool but there was no as such option to add that tag. Any help in this regard would be highly appreciated.

Thanks in advance

PO_tag BAM POPBAM • 627 views
ADD COMMENT
1
Entering edit mode
2.1 years ago

https://github.com/BioinformaticsArchive/POPBAM/blob/master/popbam.1#L13

Popbam requires the inclusion of the PO' tag in the read group header line, which identifies the population from which a particular sample originates. Once thePO' tag is included, popbam can do statistical analyses of nucleotide variation both within and between populations.

it's the very same answer than for your previous question: How to add @RG tags in vcf file? , have a look at : https://gatk.broadinstitute.org/hc/en-us/articles/360035890671-Read-groups , Read Group In Sam/Bam Files: What Do They Exactly Describe? , etc...

ADD COMMENT
0
Entering edit mode

Many thanks for your help. Sorry for bothering again and again. But I am encountering another problem related to popbam tool. Now opening another question.

ADD REPLY

Login before adding your answer.

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