Announcement

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

  • tahamasoodi
    replied
    Hi,

    I'm getting the same error message. How it can be sorted out?

    samtools: bam_plcmd.c:612: group_smpl: Assertion `id >= 0 && id < m->n' failed

    Leave a comment:


  • rubi
    replied
    Hi vinodhsri,

    Did you manage to solve the [bcf_sync] incorrect number of fields (0 != 5) problem?

    I'm facing the same problem myself.

    Thanks,
    rubi

    Leave a comment:


  • vinodhsri
    replied
    [bcf_sync] incorrect number of fields Error:

    Has anyone encountered this error ('[bcf_sync] incorrect number of fields (0 != 5)') and found a solution already:


    vcfutils.pl splitchr -l 50000000 ucsc.hg19.fasta.fai | xargs -i echo samtools mpileup -I -C50 -m3 -F0.0002 -DSuf ucsc.hg19.fasta -r {} -b bam.list | bcftools view -bcvg - /> part-{}.bcf

    [bcf_sync] incorrect number of fields (0 != 5) at 0:0
    [afs] 0:0.000
    xargs: echo: terminated by signal 13

    Appreciate your advice.

    vsri

    Leave a comment:


  • aatu18
    replied
    Hi,

    How did you solve this error, samtools: bam_plcmd.c:596: group_smpl: Assertion `id >= 0 && id < m->n' failed ? I am repeatedly getting this error! I have a merged and sorted bam file, which I am using to call SNPs using bcftools. i merged multiple sorted bam files using a "rg.txt" file I created..

    Where should I look first ?

    Thanks for any help!

    aarti

    Leave a comment:


  • jamminbeh
    replied
    How can I implement the -I option? I've tried:

    /u/local/apps/samtools/0.1.11/samtools mpileup -I -uf hg19.fa accepted_hits.bam

    and

    /u/local/apps/samtools/0.1.11/samtools mpileup -ufI hg19.fa accepted_hits.bam

    and I still get the same error:

    [bcf_sync] incorrect number of fields (8 != 5). Corrupted file?

    Leave a comment:


  • Hkins552
    replied
    Is there anyway to avoid using the -I option? I would still like to call the INDELs on my file. My error is:

    [bcf_sync] incorrect number of fields (6 != 5) at 0:33736084
    [afs] 0:27544.812 1:16105.314 2:36880.874

    Leave a comment:


  • Haiqing
    replied
    I think I just removed these @RG header from SAM file(I do not use the read groups in my case).

    Leave a comment:


  • oudacontrol
    replied
    How did you fix the read group issue? I am getting the same error: "bam_plcmd.c:596: group_smpl: Assertion `id >= 0 && id < m->n' failed" ...

    Leave a comment:


  • Haiqing
    replied
    Thanks! It works now!

    BTW, I also tried the old "pileup" for SNP/INDEL call with my deep sequencing data (50000+). Somehow, the pileup out only count 8000 read depth (column eight of the pileup output) for the first reference base. And then add one more read for every next base(like 8001 for second reference base, 8002 for third reference base, and so on). Any suggestions(I already give the -d60000 option to increase the max read depth. It works for mpileup, but not for pileup)? Thanks.
    Last edited by Haiqing; 03-21-2011, 03:40 PM.

    Leave a comment:


  • lh3
    replied
    You have read groups undefined in the header

    Leave a comment:


  • Haiqing
    replied
    Another error message when do the first step for SNP call using samtools:
    samtools mpileup -uf reference.fna sample.sort.bam |bcftools view -bvcg - > var.raw.bcf
    [mpileup] 1 samples in 1 input files
    samtools: bam_plcmd.c:596: group_smpl: Assertion `id >= 0 && id < m->n' failed.
    Aborted
    :-(

    Any suggestions?

    Leave a comment:


  • Haiqing
    replied
    Hi! lh3,

    I got similar error:
    [bcf_sync] incorrect number of fields (0 != 5). Corrupted file?
    [afs] 0:0.000

    What does this mean?

    Thanks

    Leave a comment:


  • gaffa
    replied
    I am also getting this error. I wonder if it would be possible to somehow sort out positions with excessively many indels before running mpileup.

    Leave a comment:


  • bair
    replied
    Originally posted by lh3 View Post
    No, your results are truncated.
    Yes, you are right. I get more variants with -I option on chr:MT.

    Leave a comment:


  • lh3
    replied
    No, your results are truncated.

    Leave a comment:

Latest Articles

Collapse

  • seqadmin
    Advanced Methods for the Detection of Infectious Disease
    by seqadmin




    The recent pandemic caused worldwide health, economic, and social disruptions with its reverberations still felt today. A key takeaway from this event is the need for accurate and accessible tools for detecting and tracking infectious diseases. Timely identification is essential for early intervention, managing outbreaks, and preventing their spread. This article reviews several valuable tools employed in the detection and surveillance of infectious diseases.
    ...
    11-27-2023, 01:15 PM
  • seqadmin
    Strategies for Investigating the Microbiome
    by seqadmin




    Microbiome research has led to the discovery of important connections to human and environmental health. Sequencing has become a core investigational tool in microbiome research, a subject that we covered during a recent webinar. Our expert speakers shared a number of advancements including improved experimental workflows, research involving transmission dynamics, and invaluable analysis resources. This article recaps their informative presentations, offering insights...
    11-09-2023, 07:02 AM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by seqadmin, 12-05-2023, 02:24 PM
0 responses
17 views
0 likes
Last Post seqadmin  
Started by seqadmin, 12-05-2023, 07:37 AM
0 responses
27 views
0 likes
Last Post seqadmin  
Started by seqadmin, 12-04-2023, 08:23 AM
0 responses
13 views
0 likes
Last Post seqadmin  
Started by seqadmin, 12-01-2023, 09:55 AM
0 responses
26 views
0 likes
Last Post seqadmin  
Working...
X