Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • question about bcftools merge

    Hi all,

    I was hoping this is the right place to ask this, but if not please let me know.

    I am trying to merge 3 *.vcf.gz files using bcftools merge. Two of the files are from our local sequencing center and contain one genome each, and the other one is a vcf of 17 genomes (previously published) from Sanger.

    When I call: bcftools merge g1.vcf.gz g2.vcf.gz sang.vcf.gz
    I get: *** glibc detected *** bcftools: realloc(): invalid next size: 0x0000000003369fe0 ***

    If I then split the genomes by chromosome and call: bcftools merge g1_chromX.vcf.gz g2_chromX.vcf.gz sang_chromX.vcf.gz
    The header prints fine, but in the first line I get: FIXME: error parsing DP4 at X:3050056 .. -2

    Finally I can successfully bcftools view all 3 files, and bcftools merging just g1.vcf.gz and g2.vcf.gz works just fine.

    I was wondering if anyone might have any experience or suggestions that might help me understand the error messages or to merge my 3 vcf files.


    Thanks a whole lot in advance!

  • #2
    I think there is some problem with sang.vcf.gz file. Can you check the content of the file? (The reference names are the same?)

    Comment


    • #3
      Hang on.. my bcftools doesn't have a merge command

      And I was actually just looking for a way to merge bcfs..

      Samtools / Vcftools sourceforge page doesn't say anything about merge in (I assume( the latest version.. what version are you using here? Where can I get merge??

      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, Yesterday, 08:47 AM
      0 responses
      12 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-11-2024, 12:08 PM
      0 responses
      60 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 10:19 PM
      0 responses
      60 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 04-10-2024, 09:21 AM
      0 responses
      54 views
      0 likes
      Last Post seqadmin  
      Working...
      X