Header Leaderboard Ad
Collapse
ERROR: [bcf_sync] incorrect number of fields..
Collapse
Announcement
Collapse
SEQanswers June Challenge Has Begun!
The competition has begun! We're giving away a $50 Amazon gift card to the member who answers the most questions on our site during the month. We want to encourage our community members to share their knowledge and help each other out by answering questions related to sequencing technologies, genomics, and bioinformatics. The competition is open to all members of the site, and the winner will be announced at the beginning of July. Best of luck!
For a list of the official rules, visit (https://www.seqanswers.com/forum/sit...wledge-and-win)
For a list of the official rules, visit (https://www.seqanswers.com/forum/sit...wledge-and-win)
See more
See less
X
-
Same here, the bcftools that is compiled within samtools is old, and when I compiled a fresh version from github, this error vanished.
-
hello,all,I think I have solve this problem:
both nohup and ">" would add stdout and stderr to output file,which cause that problem。
so,
"samtools mpileup -ugf F.fna F.sorted.bam -o F.bcf"
instead of
"samtools mpileup -ugf F.fna F.sorted.bam > F.bcf"
Leave a comment:
-
I got the same problem. I tried the verson 1.0, 0.1.19, 0.1.18 and none worked.
Any one can help to solve this problem.
Here are my command and error message:
samtools mpileup -ugf F.fna F.sorted.bam > F.bcf
[mpileup] 1 samples in 1 input files
<mpileup> Set max per-file depth to 8000
[bcf_sync] incorrect number of fields (6 != 5) at 67:234
Segmentation fault
Leave a comment:
-
I had the same problem. I think the problen is that bcftools works with bcf-file but you don't specify for samtools to output bcf. So you should add to samtools mpileup command argument -g.
Hope this was helpful.
Leave a comment:
-
I'm getting this error with this command
samtools mpileup -D -S -u -f hg19.fasta child.bam father.bam mother.bam | bcftools view -vcgT trioauto -s sample.txt - > samtoolsCLR.vcf
The resulting vcf file just has the INFO and FORMAT ## lines, then:
#CHROM POS ID REF ALT QUAL FILTER INFO FORMAT
[bcf_sync] incorrect number of fields (0 != 5) at 0:0
[afs] 0:0.000
I am using the correct fa reference file.
My samples file looks like:
child.bam
father.bam
mother.bam
Any advice appreciated.
Leave a comment:
-
The problem occurs when nohup is used with a Unix pipe.
I've just sent this reply to the samtools-help mailing list.
nohup merges stdout and stderr of the command that it runs. bcftools then
doesn't know what to do with the input data since it also contains messages
such as "[mpileup] 1 samples in 1 input files".
To avoid the problem, you can run the command like this:
nohup samtools mpileup ... 2> stderr.txt | bcftools ... - > out.raw.bcf &
But I strongly suggest you try the 'screen' program. It is less fragile and
much more powerful than nohup. This is the briefest introduction I could find: http://www.askbjoernhansen.com/2006/...ix_screen.html
Leave a comment:
-
I also had the problem when using nohup. Without nohup. it goes well.
Leave a comment:
-
Make sure you're using the correct reference genome
In case anyone else encounters this same problem ("[bcf_sync] incorrect number of fields (6 != 5)..."), here's another possible solution:
I was having this problem with multiple files, but then I realized I was using the wrong reference fasta as the argument to the mpileup -f option. It wasn't the same reference fasta that was used to create the bam files. When I switched to the correct one, the problem went away.
Leave a comment:
-
I still got the error message without nohup: "[bcf_sync] incorrect number of fields (6 != 5) at 7:1396330564"
Leave a comment:
Latest Articles
Collapse
-
by seqadmin
Developments in sequencing technologies and methodologies have transformed the field of epigenetics, giving researchers a better way to understand the complex world of gene regulation and heritable modifications. This article explores some of the diverse sequencing methods employed in the study of epigenetics, ranging from classic techniques to cutting-edge innovations while providing a brief overview of their processes, applications, and advances.
Methylation Detect...-
Channel: Articles
05-31-2023, 10:46 AM -
-
Differential Expression and Data Visualization: Recommended Tools for Next-Level Sequencing Analysisby seqadmin
After covering QC and alignment tools in the first segment and variant analysis and genome assembly in the second segment, we’re wrapping up with a discussion about tools for differential gene expression analysis and data visualization. In this article, we include recommendations from the following experts: Dr. Mark Ziemann, Senior Lecturer in Biotechnology and Bioinformatics, Deakin University; Dr. Medhat Mahmoud Postdoctoral Research Fellow at Baylor College of Medicine;...-
Channel: Articles
05-23-2023, 12:26 PM -
-
by seqadmin
Continuing from our previous article, we share variant analysis and genome assembly tools recommended by our experts Dr. Medhat Mahmoud, Postdoctoral Research Fellow at Baylor College of Medicine, and Dr. Ming "Tommy" Tang, Director of Computational Biology at Immunitas and author of From Cell Line to Command Line.
Variant detection and analysis tools
Mahmoud classifies variant detection work into two main groups: short variants (<50...-
Channel: Articles
05-19-2023, 10:03 AM -
ad_right_rmr
Collapse
News
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by seqadmin, Yesterday, 08:56 PM
|
0 responses
8 views
0 likes
|
Last Post
by seqadmin
Yesterday, 08:56 PM
|
||
Deep Sequencing Unearths Novel Genetic Variants: Enhancing Precision Medicine for Vascular Anomalies
by seqadmin
Started by seqadmin, Yesterday, 07:33 AM
|
0 responses
8 views
0 likes
|
Last Post
by seqadmin
Yesterday, 07:33 AM
|
||
Unveiling Genetic Associations Through Transcription Factor Binding Quantitative Trait Loci
by seqadmin
Started by seqadmin, 05-31-2023, 07:50 AM
|
0 responses
4 views
0 likes
|
Last Post
by seqadmin
05-31-2023, 07:50 AM
|
||
Exploring French-Canadian Ancestry: Insights into Migration, Settlement Patterns, and Genetic Structure
by seqadmin
Started by seqadmin, 05-26-2023, 09:22 AM
|
0 responses
9 views
0 likes
|
Last Post
by seqadmin
05-26-2023, 09:22 AM
|
Leave a comment: