Header Leaderboard Ad

Collapse

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

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #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


    • #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


      • #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


        • #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

          • seqadmin
            How RNA-Seq is Transforming Cancer Studies
            by seqadmin



            Cancer research has been transformed through numerous molecular techniques, with RNA sequencing (RNA-seq) playing a crucial role in understanding the complexity of the disease. Maša Ivin, Ph.D., Scientific Writer at Lexogen, and Yvonne Goepel Ph.D., Product Manager at Lexogen, remarked that “The high-throughput nature of RNA-seq allows for rapid profiling and deep exploration of the transcriptome.” They emphasized its indispensable role in cancer research, aiding in biomarker...
            09-07-2023, 11:15 PM
          • seqadmin
            Methods for Investigating the Transcriptome
            by seqadmin




            Ribonucleic acid (RNA) represents a range of diverse molecules that play a crucial role in many cellular processes. From serving as a protein template to regulating genes, the complex processes involving RNA make it a focal point of study for many scientists. This article will spotlight various methods scientists have developed to investigate different RNA subtypes and the broader transcriptome.

            Whole Transcriptome RNA-seq
            Whole transcriptome sequencing...
            08-31-2023, 11:07 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, 09-22-2023, 09:05 AM
          0 responses
          14 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 09-21-2023, 06:18 AM
          0 responses
          12 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 09-20-2023, 09:17 AM
          0 responses
          13 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 09-19-2023, 09:23 AM
          0 responses
          28 views
          0 likes
          Last Post seqadmin  
          Working...
          X