The current GATK version is 3.7-0
Examples: Monday, today, last week, Mar 26, 3/26/04

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Powered by Vanilla. Made with Bootstrap.
GATK 3.7 is here! Be sure to read the Version Highlights and optionally the full Release Notes.
Register now for the upcoming GATK Best Practices workshop, Feb 20-22 in Leuven, Belgium. Open to all comers! More info and signup at http://bit.ly/2i4mGxz

Read Groups from SplitSamFile

dklevebringdklevebring Member Posts: 79

Hi,

If I have a bam file with three different read groups, and use SplitSamFile to split it like so:

java -Xmx2g -jar $GATKJAR -T SplitSamFile -I $INBAM -R $GENOME --outputRoot $PROJD/$IND/

Each of the output bam files have all three read groups. Is that the intended behavior? I would like each file to have only it's own read group info in the heads. Sorry for the bash arguments in the code above, is makes in readable at least.

Thanks

Daniel

Best Answer

  • Geraldine_VdAuweraGeraldine_VdAuwera Administrator, Dev Posts: 11,015 admin
    Answer ✓

    Hi Daniel,

    From the code it looks like SplitSamFile is indeed not tasked with updating the headers. I'll check if that's really what we want and if not, we'll patch this up for the next version.

    Geraldine Van der Auwera, PhD

Answers

Sign In or Register to comment.