Skip to content

Seg fault on large VCF #5

@fritzsedlazeck

Description

@fritzsedlazeck

Hi,
i wanted to try this tool as it seems very promising. I have multiple hundred human samples with SNPs called and wanted to run emeraLD. However, within seconds I get a seg fault:

NOTE: genotype data appear to be unphased
reporting genotype LD rather than haplotype LD
use "--phased" option to override this behaviour
./run_LDanalysis.sh: line 14: 15620 Segmentation fault ~/mydir/programs/emeraLD/bin/emeraLD -i $reads --out output_chr22.txt --region chr22:10511578-20511578

were $reads is my bgziped and indexed VCF file. I also run into the same problem when I dont define a region.
Here is a short sample of the VCF file (without the header) and just the first two samples. As you can see they are not phased per sample.

Please let me what is going wrong as I would really like to run emeraLD on that data set.
Thanks
Fritz

chr22   10511193        .       T       C       56      .       .       GT:GQ:PL:DP:RR:VR:FT:RNC        ./.:.:0,27,30:0:0:0:No_data:..  1/1:.:27,3,0:2:0:2:low_coverage;low_Var
chr22   10511228        .       T       A       98      .       .       GT:GQ:PL:DP:RR:VR:FT:RNC        ./.:.:0,27,30:0:0:0:No_data:..  0/0:.:0,35,114:2:2:0:No_var:..  ./.:.:0
chr22   10511254        .       A       G       87      .       .       GT:GQ:PL:DP:RR:VR:FT:RNC        0/0:.:0,32,80:1:1:0:No_var:..   0/0:.:0,35,114:2:2:0:No_var:..  ./.:.:0
chr22   10511255        .       C       A       73      .       .       GT:GQ:PL:DP:RR:VR:FT:RNC        0/0:.:0,32,80:1:1:0:No_var:..   0/0:.:0,35,114:2:2:0:No_var:..  ./.:.:0
chr22   10511270        .       T       A       229     .       .       GT:GQ:PL:DP:RR:VR:FT:RNC        0/0:.:0,32,80:1:1:0:No_var:..   0/0:.:0,35,114:2:2:0:No_var:..  ./.:.:0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions