Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Mate-pair information damaged on file merge

    Hi all,

    I'm trying to merge WGS data for one sample that's been run across 6 lanes.
    Now the six individual files all validate (with Picard ValidateSamFile) correctly; the problem comes when I try to merge them.

    I originally used Picard MergeSamFiles to merge them but this screwed with the mate-pairs ; then I recently found that most of the GATK pipeline will take multiple input files and merge them into a single output, so I tried this at the step of the GATK IndelRealigner, which I understand corrects mate-pair errors.

    Both Picard MergeSamFiles and GATK IndelRealigner have messed up the mate-pair information during the merge. So I wondered if anyone knew of a way to merge the files whilst preserving the mate pair information.

    I should point out that I've tried correcting this (4 times) with Picard FixMateInformation and each time it's run into various problems after about 18 hours.

    the commands I used were:

    java -Xmx24g -Xms24g -jar ~/apps/GATK/GenomeAnalysisTK.jar \
    -I nodup17_01.bam \
    -I nodup17_02.bam \
    -I nodup17_03.bam \
    -I nodup17_04.bam \
    -I nodup17_05.bam \
    -I nodup17_06.bam \
    -R ~/gatk/ucsc.hg19.fasta \
    -T IndelRealigner \
    -targetIntervals nodup17.intervals \
    -o realign17.bam \
    -nt 12 \
    -known ~/gatk/Mills_and_1000G_gold_standard.indels.hg19.vcf \
    -known ~/gatk/1000G_phase1.indels.hg19.vcf \
    -known ~/gatk/dbsnp_135.hg19.vcf

    java -Xmx24g -Xms24g -jar ~/apps/picard/MergeSamFiles.jar \
    I=nodup17_01.bam \
    I=nodup17_02.bam \
    I=nodup17_03.bam \
    I=nodup17_04.bam \
    I=nodup17_05.bam \
    I=nodup17_06.bam \
    o=realign17.bam \
    USE_THREADING=true \
    SO=coordinate \
    TMP_DIR=~/local17/ \
    CREATE_INDEX=true \
    CREATE_MD5_FILE=true

    java -Xmx24g -Xms24g -jar ~/apps/picard/FixMateInformation.jar \
    INPUT=realign17.bam \
    OUTPUT=realign17_FM.bam \
    SO=coordinate \
    TMP_DIR=local17/ \
    CREATE_INDEX=true \
    CREATE_MD5_FILE=true

    Thanks
    Richard

Latest Articles

Collapse

  • seqadmin
    Genetic Variation in Immunogenetics and Antibody Diversity
    by seqadmin



    The field of immunogenetics explores how genetic variations influence immune responses and susceptibility to disease. In a recent SEQanswers webinar, Oscar Rodriguez, Ph.D., Postdoctoral Researcher at the University of Louisville, and Ruben Martínez Barricarte, Ph.D., Assistant Professor of Medicine at Vanderbilt University, shared recent advancements in immunogenetics. This article discusses their research on genetic variation in antibody loci, antibody production processes,...
    11-06-2024, 07:24 PM
  • seqadmin
    Choosing Between NGS and qPCR
    by seqadmin



    Next-generation sequencing (NGS) and quantitative polymerase chain reaction (qPCR) are essential techniques for investigating the genome, transcriptome, and epigenome. In many cases, choosing the appropriate technique is straightforward, but in others, it can be more challenging to determine the most effective option. A simple distinction is that smaller, more focused projects are typically better suited for qPCR, while larger, more complex datasets benefit from NGS. However,...
    10-18-2024, 07:11 AM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by seqadmin, Today, 11:09 AM
0 responses
24 views
0 likes
Last Post seqadmin  
Started by seqadmin, Today, 06:13 AM
0 responses
20 views
0 likes
Last Post seqadmin  
Started by seqadmin, 11-01-2024, 06:09 AM
0 responses
30 views
0 likes
Last Post seqadmin  
Started by seqadmin, 10-30-2024, 05:31 AM
0 responses
21 views
0 likes
Last Post seqadmin  
Working...
X