Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • swNGS
    Member
    • Nov 2011
    • 83

    #1

    how to use Indel religner against bam aligned to major allele human genome

    Hi,

    I am looking at the difference in variant calls that I get having aligned my resequencing data to both the 1000 genomes reference genome human_g1k_v37.fasta and a major allle reference genome: Dewey et al, Plos Genetics.

    For both standard and major reference genome alignments, I had planned to use GATK to call variants.
    My question relates to whether I should be pointing GATK to either respective reference genome for each iteration, eg:

    for major allele refernce alignment
    java -Xmx4g -jar /path_to.../GenomeAnalysisTK/GenomeAnalysisTK.jar \
    -I Major_allele_aligned_input_bam.bam \
    -R /PATH_To_MAJOR_ALLELE_REF/CEUref.fasta \ <<----------- THIS
    -T IndelRealigner \
    -targetIntervals forIndelRealigner.intervals \
    -o output_bam.bam \
    --known /.../1000G_indels/1000G_biallelic.indels.b37.vcf \
    --consensusDeterminationModel KNOWNS_ONLY \
    -LOD 0.4

    for 1000 genome ref alignment
    java -Xmx4g -jar /path_to.../GenomeAnalysisTK/GenomeAnalysisTK.jar \
    -I 1000_genomes_aligned_input_bam.bam \
    -R /PATH_To_1000_GENOMES/human_g1k_v37.fasta \ <<----------- THIS
    -T IndelRealigner \
    -targetIntervals forIndelRealigner.intervals \
    -o output_bam.bam \
    --known /.../1000G_indels/1000G_biallelic.indels.b37.vcf \
    --consensusDeterminationModel KNOWNS_ONLY \
    -LOD 0.4

    Thanks
  • swNGS
    Member
    • Nov 2011
    • 83

    #2
    okay, that dosn't work!

    GATK throws the following error, which I recollect getting in the past:


    ##### ERROR MESSAGE: Input files known and reference have incompatible contigs: No overlapping contigs found.
    ##### ERROR known contigs = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, X]
    ##### ERROR reference contigs = [chr1, chr2, chr3, chr4, chr5, chr6, chr7, chr8, chr9, chr10, chr11, chr12, chr13, chr14, chr15, chr16, chr17, chr18, chr19, chr20, chr21, chr22, chrX, chrY, chrM]

    Its fairly obvious that the contigs are different, and I get something similar when I use the 1000 genomes reference:

    ##### ERROR MESSAGE: Input files reads and reference have incompatible contigs: No overlapping contigs found.
    ##### ERROR reads contigs = [chr1, chr2, chr3, chr4, chr5, chr6, chr7, chr8, chr9, chr10, chr11, chr12, chr13, chr14, chr15, chr16, chr17, chr18, chr19, chr20, chr21, chr22, chrX, chrY, chrM]
    ##### ERROR reference contigs = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, X, Y, MT, GL000207.1, GL000226.1, GL000229.1, GL000231.1, GL000210.1, GL000239.1, GL000235.1, GL000201.1, GL000247.1, GL000245.1, GL000197.1, GL000203.1, GL000246.1, GL000249.1, GL000196.1,...etc

    Does anyone have any idea how I can fix this ?

    thanks

    Comment

    • aaronh
      Member
      • Sep 2008
      • 46

      #3
      Looks like the names of the chromosomes are not matching between the reference dictionary in the bam file, the reference fasta file and the known variants in the VCF file.

      Comment

      • swNGS
        Member
        • Nov 2011
        • 83

        #4
        Ah, that's helpful, I suspect it might be the known variants vcf file that's causing the problem. Would I have to edit the headers so that the contig names in both the major allele reference genome and the known variants in the VCF are the same ?

        Also, and hopefully not a stupid question, what if one of these files refers to a contig that is missing in the other? I am thinking specifically of GL000207.1, GL000226.1... etc ?

        Thanks,

        Chris

        Comment

        • moty
          Junior Member
          • Nov 2011
          • 8

          #5
          Hi there,
          did you ever solve this? I am having the exact same problem.
          I am using the hg19 reference fasta from the GATK website and got bam files as a given.

          edit: I have tried renaming the chromosomes labels from the .dict and .fai files # --> chr# and ended up with a complaint the chrM is 2 read shorter.
          If you have a wiser solution I'd love to hear it

          Moty
          Last edited by moty; 03-07-2012, 04:43 AM.

          Comment

          Latest Articles

          Collapse

          • SEQadmin2
            16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
            by SEQadmin2




            NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification, detection...
            Today, 06:46 AM
          • SEQadmin2
            Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
            by SEQadmin2



            Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

            Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
            ...
            10-14-2026, 09:55 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, 10-28-2026, 09:57 AM
          0 responses
          23 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-28-2026, 09:51 AM
          0 responses
          15 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-22-2026, 11:13 AM
          0 responses
          68 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-22-2026, 10:48 AM
          0 responses
          48 views
          0 reactions
          Last Post SEQadmin2  
          Working...