Seqanswers Leaderboard Ad

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
            Current Approaches to Protein Sequencing
            by seqadmin


            Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
            04-04-2024, 04:25 PM
          • seqadmin
            Strategies for Sequencing Challenging Samples
            by seqadmin


            Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
            03-22-2024, 06:39 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, 04-11-2024, 12:08 PM
          0 responses
          25 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-10-2024, 10:19 PM
          0 responses
          28 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-10-2024, 09:21 AM
          0 responses
          24 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-04-2024, 09:00 AM
          0 responses
          52 views
          0 likes
          Last Post seqadmin  
          Working...
          X