This is a test version of Biostars. For the public version, visit https://www.biostars.org.
AddOrReplaceReadGroups read only specific chromosomes

I have a BAM file where there are readings for different chromosomes. I would like to use the AddOrReplaceReadGroups function for chr1 and chr2 only. Can this be defined in a function? Do I have to use e.g. samtools to extract the chromosomes first?

bam gatk4 addorreplacereadgroups

I would like to use the AddOrReplaceReadGroups function for chr1 and chr2 only.

just curious: why ?

0 answers

No answers yet.

Log in to answer this question.