Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Problem with GATK ReadBackedPhasing

    Hello,

    I want to use ReadBackedPhasing module of GATK on my data, but I have a problem which I think is beacuse in my bam file I have both records from BWA aligner and Novoalign. Just as a reminder, this is the command to run ReadBackedPhasing:

    java
    -jar GenomeAnalysisTK.jar
    -T ReadBackedPhasing
    -R reference.fasta
    -I reads.bam <--- Input seq BAM file
    --variant SNPs.vcf <--- SNP VCF file
    -L Chr.list
    -o phased_SNPs.vcf
    --phaseQualityThresh 20.0

    So when I try to run ReadBackedPhasing the output contains very few results because it crashed. I assume that happens when it hits a novoalign record in the bam file. An example of two records(one from BWA and the other from Novoalign) in the same bam file is shown below:

    1)HWI-ST395_B80MA2ABXX_1:6:6:3197:146608#0 99 chrM 4874 60 104M = 5329 559 AACTAGCCCCCATCTCAATCATATACCAAATCTCTCCCTCACTAAACGTAAGCCTTCTCCTCACTCTCTCAATCTTATCCATCATAGCAGGCAGT
    TGAGGTGGA
    ..fastq seq...
    X0:i:1 X1:i:0 MD:Z:104 RG:Z:2_2-600-1st XG:i:0 AM:i:37 NM:i:0 SM:i:37 XM:i:0 XO:i:0 XT:A:U

    2)HWI-ST395_B81AMYABXX_0:1:65:18036:20406#0 99 chrM 4874 150 2S93M9S = 2384 -2430 NNAACTAGCCCCCATCTCAATCATATACCAAATCTCTCCCTCACTAAACGTAAGCCTTCTCCTCACTCTCTCAATCTTATCCATCATAGCAGGCA
    GTTGAGGTG
    ..fastq seq..
    MD:Z:93 PG:Z:novoalign.23 RG:Z:2_2-MP-novoalign AM:i:150 NM:i:0 SM:i:150 ZO:Z:-+ PQ:i:245 UQ:i:66 AS:i:66

    The difference is that even though both are in SAM format, Novoalign uses different flags which might cause this problem. If you could please help me, I would greatly appreciate it. Also would you suggest a way to convert Novoalign's SAM file into a regular SAM file with the proper flags?

    Thanks a lot,
    Mike

  • #2
    My experience with ReadBackedPhasing is to run it without --variant SNPs.vcf

    I find that when I ran with it, it took forever and then crashed at the end.

    Without --variant SNPs.vcf, it can run to completion and it seems to me the result is ok.

    Comment

    Latest Articles

    Collapse

    • seqadmin
      Essential Discoveries and Tools in Epitranscriptomics
      by seqadmin




      The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
      04-22-2024, 07:01 AM
    • 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

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by seqadmin, 04-11-2024, 12:08 PM
    0 responses
    59 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 04-10-2024, 10:19 PM
    0 responses
    57 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 04-10-2024, 09:21 AM
    0 responses
    53 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 04-04-2024, 09:00 AM
    0 responses
    56 views
    0 likes
    Last Post seqadmin  
    Working...
    X