Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • colindaven
    replied
    Actually, I think it wasn't truncated, but something added by nohup.

    When I don't use nohup to run the mpileup command bcftools seems to work fine.

    Leave a comment:


  • brentp
    replied
    usually this happens if your bcf file is truncated.

    Leave a comment:


  • colindaven
    replied
    This is weird. I've used Samtools a lot before on bacterial references and never had this problem, yet on some human exomes it happens. Mpileup runs fine and then I repeatedly get

    [bcf_sync] incorrect number of fields (0 != 5) at 0:0

    Reinstalling/updating samtools and bcftools doesn't seem to help.

    Leave a comment:


  • Mark.hz
    replied
    Still have this problem when doing bcftools view for a bcf file (mpileup generated):[bcf_sync] incorrect number of fields (6 != 5) at 7:1396330564
    Any help?

    Leave a comment:


  • Mark.hz
    replied
    I ran into this problem as well, using mpileup/bcftools (samtools-0.1.18) to call variants from 19 bam files.
    I willl try to run it wiiltout nohup.

    Leave a comment:


  • sflink
    replied
    I get the same error message with a command like:

    nohup samtools mpileup -uf ref.fa s1.bam s2.bam

    but it runs fine without the 'nohup'. Have you tried the command sequence without the pipes?

    Leave a comment:


  • vinodhsri
    started a topic ERROR: [bcf_sync] incorrect number of fields..

    ERROR: [bcf_sync] incorrect number of fields..

    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

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