The current GATK version is 3.8-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!

Get notifications!


You can opt in to receive email notifications, for example when your questions get answered or when there are new announcements, by following the instructions given here.

Got a problem?


1. Search using the upper-right search box, e.g. using the error message.
2. Try the latest version of tools.
3. Include tool and Java versions.
4. Tell us whether you are following GATK Best Practices.
5. Include relevant details, e.g. platform, DNA- or RNA-Seq, WES (+capture kit) or WGS (PCR-free or PCR+), paired- or single-end, read length, expected average coverage, somatic data, etc.
6. For tool errors, include the error stacktrace as well as the exact command.
7. For format issues, include the result of running ValidateSamFile for BAMs or ValidateVariants for VCFs.
8. For weird results, include an illustrative example, e.g. attach IGV screenshots according to Article#5484.
9. For a seeming variant that is uncalled, include results of following Article#1235.

Did we ask for a bug report?


Then follow instructions in Article#1894.

Formatting tip!


Wrap blocks of code, error messages and BAM/VCF snippets--especially content with hashes (#)--with lines with three backticks ( ``` ) each to make a code block as demonstrated here.

Jump to another community
Download the latest Picard release at https://github.com/broadinstitute/picard/releases.
GATK version 4.beta.3 (i.e. the third beta release) is out. See the GATK4 beta page for download and details.

UG outputs VCFs where different lanes from same sample are treated as separate individuals

Dear Team,

We are running an exome sequencing project where we have sequenced samples on two different lanes. Aligning with bwa, we assign identical ID and SM tags, yet different PU tag for these files. This should be in line with your general recommendations, keeping the lane information available for recalibration purposes. We have then fed both files from the same sample into the base recalibration step to create a common, sample-level bam, also in accordance with recommendations previously posted on the forum. However, when calling variants we get VCFs where UnifiedGenotyper has treated the different lanes as separate samples. What are we doing wrong? Is this approach not possible after all, so an identical read group is required for each sample?

Best Answer

Answers

  • Geraldine_VdAuweraGeraldine_VdAuwera Cambridge, MAMember, Administrator, Broadie

    In principle you're doing the right thing -- UG should be grouping data based on SM tag. Can you post the read group info and the header line of the VCF (showing the titles of the columns) so we can have a look at what's going on there?

  • PihlstromPihlstrom Member
    edited November 2013

    Shure!

    The bwa commands used to add read group info in the alignment step looked like this:

    bwa sampe -r '@RG\tID:RHEX1\tPL:ILLUMINA\tSM:RHEX1\PU:lane2'

    bwa sampe -r '@RG\tID:RHEX1\tPL:ILLUMINA\tSM:RHEX1\PU:lane1'

    And the columns in the VCF come out like this:

    CHROM POS ID REF ALT QUAL FILTER INFO FORMAT RHEX1U:lane1 RHEX1U:lane2

    (Don't know why the text above came out in such huge letters...)

    Best regards,
    LP

Sign In or Register to comment.