Entering edit mode
2.9 years ago
adrian18_07
▴
10
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?
just curious: why ?