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!

Did you remember to?


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!


Surround blocks of code, error messages and BAM/VCF snippets--especially content with hashes (#)--with lines with three backticks ( ``` ) each to make a code block.
Powered by Vanilla. Made with Bootstrap.
Picard 2.9.0 is now available. Download and read release notes here.
GATK 3.7 is here! Be sure to read the Version Highlights and optionally the full Release Notes.

SNPs from genome-2-genome alignment

darked89darked89 Member Posts: 1

Hello,

I have two strains from small eukariote (say S1 and S2) plus and two reference genomes: G1 (closest to S1 and S2) and sister species G2.
Using GATK I can call SNPs in S1 and S2 genomic data. Since G1 and G2 are quite close, I want to get G2 SNPs after performing G2 to G1 alignment. I got MAF file, reduced it (= removed weaker mappings of the same contig to the other part of the genome), then managed to create SAM and sorted BAM file. I used picard to add fake ReadGroups and "MarkDuplicates". In the end I am running:

java -Xmx240G -jar ~/soft/GATK_current/GenomeAnalysisTK.jar -T UnifiedGenotyper -R G1.fa \
-I G1_vs_G2.reduced.gr.dup.bam \
-o G1_vs_G2.reduced.gr.dup.gatk.vcf

I got no running errors, but apart from VCF header the file is empty.

Is there any way to pass some argument to UnifiedGenotyper so it will ignore coverage, and simply call every SNP it encounters?

Many thanks,

Darek Kedra

Answers

  • Geraldine_VdAuweraGeraldine_VdAuwera Cambridge, MAMember, Administrator, Broadie Posts: 11,388 admin

    You mean that you're passing the "flat" G2 genome as a bam file (presumably containing one huge "read" per chromosome?) to call variants against G1? I'm not sure it's possible to do this, as this is very different from what UG was designed for. If it was me I would use a genome aligner like Mauve to identify the divergent regions between the two references and see where the SNPs map to.

    Geraldine Van der Auwera, PhD

Sign In or Register to comment.