hi:
I clearly do not understand behavior of samtools mpileup. it is frustrating at times for not knowing the exact reasons for segmentation fault.
1. is seg-fault in mpileup related to a bam file? If so how do I know why it segfaults?
here is my segfault:
samtools mpileup -d 100000 -f hg19.fasta -g bc1.bam | bcftools view -e -g -c -v -N -i -1 -I -
(here I clearly gave -I -- to avoid indels)
chr3 10183782 . T G 5.29 . // info truncated///
[afs] 0:1003.293 1:3.825 2:8.882
Segmentation fault
2. I take a different bam file and enforce -I -- I get segfault with a different message. In a previous analysis this bam file went through bcftools pipe.
[bcf_sync] incorrect number of fields (6 != 5) at 2:10191496
[afs] 0:1438.765 1:13.635 2:23.601
Segmentation fault
Is this due to corrput bcftools or samtools.
3. Cannot exactly understand the reason for segfault in both 1 and 2.
Is this because I have some problem in bam file or bcftools got corrputed somehow?
This bam is generated through (PGM) tmap aligner.
thanks for your help.
-Adrian
I clearly do not understand behavior of samtools mpileup. it is frustrating at times for not knowing the exact reasons for segmentation fault.
1. is seg-fault in mpileup related to a bam file? If so how do I know why it segfaults?
here is my segfault:
samtools mpileup -d 100000 -f hg19.fasta -g bc1.bam | bcftools view -e -g -c -v -N -i -1 -I -
(here I clearly gave -I -- to avoid indels)
chr3 10183782 . T G 5.29 . // info truncated///
[afs] 0:1003.293 1:3.825 2:8.882
Segmentation fault
2. I take a different bam file and enforce -I -- I get segfault with a different message. In a previous analysis this bam file went through bcftools pipe.
[bcf_sync] incorrect number of fields (6 != 5) at 2:10191496
[afs] 0:1438.765 1:13.635 2:23.601
Segmentation fault
Is this due to corrput bcftools or samtools.
3. Cannot exactly understand the reason for segfault in both 1 and 2.
Is this because I have some problem in bam file or bcftools got corrputed somehow?
This bam is generated through (PGM) tmap aligner.
thanks for your help.
-Adrian
Comment