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
    Best Practices for Single-Cell Sequencing Analysis
    by seqadmin



    While isolating and preparing single cells for sequencing was historically the bottleneck, recent technological advancements have shifted the challenge to data analysis. This highlights the rapidly evolving nature of single-cell sequencing. The inherent complexity of single-cell analysis has intensified with the surge in data volume and the incorporation of diverse and more complex datasets. This article explores the challenges in analysis, examines common pitfalls, offers...
    06-06-2024, 07:15 AM
  • seqadmin
    Latest Developments in Precision Medicine
    by seqadmin



    Technological advances have led to drastic improvements in the field of precision medicine, enabling more personalized approaches to treatment. This article explores four leading groups that are overcoming many of the challenges of genomic profiling and precision medicine through their innovative platforms and technologies.

    Somatic Genomics
    “We have such a tremendous amount of genetic diversity that exists within each of us, and not just between us as individuals,”...
    05-24-2024, 01:16 PM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by seqadmin, Yesterday, 06:58 AM
0 responses
13 views
0 likes
Last Post seqadmin  
Started by seqadmin, 06-06-2024, 08:18 AM
0 responses
20 views
0 likes
Last Post seqadmin  
Started by seqadmin, 06-06-2024, 08:04 AM
0 responses
18 views
0 likes
Last Post seqadmin  
Started by seqadmin, 06-03-2024, 06:55 AM
0 responses
13 views
0 likes
Last Post seqadmin  
Working...
X