arq5x / lumpy-sv

lumpy: a general probabilistic framework for structural variant discovery
MIT License
309 stars 118 forks source link

Core dump #149

Open awacs opened 7 years ago

awacs commented 7 years ago

I have bwa mem mapped reads, de-duplication & discordant read/split read extraction by samblaster and coordinate sorted via sambamba. When I try to run lumpy it aborted and core dumped producing the following error message: 443 0 terminate called after throwing an instance of 'std::out_of_range' what(): vector::_M_range_check The core dump file is given here. core.zip

The mean/stv/histo files are generated using the example code with the full bam data, and using the full bam file as "-pe" input can run lumpy with no problem.

The command is as follows lumpy -b -mw 4 -tt 0 -t tmp -pe bam_file:/data/talkowski/hw878/Twins/wdl_scripts/cromwell-executions/JointSV/967d1fd0-ed0c-429c-9662-a6b488c8b0b2/call-Get_pesr/shard-0/execution/PM13-02652.sort.disc.bam,histo_file:./PM13-02652.sort.disc.histo,mean:277.459045905,stdev:68.6063129788,read_length:100,min_non_overlap:100,discordant_z:4,back_distance:20,weight:1,id:1,min_mapping_threshold:10 > ./lumpy_output.bedpe

Any idea of what could be the problem would be greatly appreciated.

ryanlayer commented 7 years ago

Can you try vcf output to see if that is the issue?

On Nov 14, 2016, at 3:02 PM, awacs notifications@github.com wrote:

I have bwa mem mapped reads, de-duplication & discordant read/split read extraction by samblaster and coordinate sorted via sambamba. When I try to run lumpy it aborted and core dumped producing the following error message: 443 0 terminate called after throwing an instance of 'std::out_of_range' what(): vector::_M_range_check The core dump file is given here. core.zip

The mean/stv/histo files are generated using the example code with the full bam data, and using the full bam file as "-pe" input can run lumpy with no problem.

The command is as follows lumpy -b -mw 4 -tt 0 -t tmp -pe bam_file:/data/talkowski/hw878/Twins/wdl_scripts/cromwell-executions/JointSV/967d1fd0-ed0c-429c-9662-a6b488c8b0b2/call-Get_pesr/shard-0/execution/PM13-02652.sort.disc.bam,histo_file:./PM13-02652.sort.disc.histo,mean:277.459045905,stdev:68.6063129788,read_length:100,min_non_overlap:100,discordant_z:4,back_distance:20,weight:1,id:1,min_mapping_threshold:10 > ./lumpy_output.bedpe

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

awacs commented 7 years ago

Exact same issue with vcf output.

Aborted (core dumped) lumpy -mw 4 -tt 0 -t tmp -pe bam_file:/data/talkowski/hw878/Twins/wdl_scripts/cromwell-executions/JointSV/967d1fd0-ed0c-429c-9662-a6b488c8b0b2/call-Get_pesr/shard-0/execution/PM13-02652.sort.disc.bam,histo_file:./PM13-02652.sort.disc.histo,mean:277.459045905,stdev:68.6063129788,read_length:100,min_non_overlap:100,discordant_z:4,back_distance:20,weight:1,id:1,min_mapping_threshold:10 > ./lumpy_output.vcf

ryanlayer commented 7 years ago

Is there any output to the vcf?

On Mon, Nov 14, 2016 at 3:27 PM, awacs notifications@github.com wrote:

Exact same issue with vcf output.

Aborted (core dumped) lumpy -mw 4 -tt 0 -t tmp -pe bam_file:/data/talkowski/hw878/Twins/wdl_scripts/ cromwell-executions/JointSV/967d1fd0-ed0c-429c-9662- a6b488c8b0b2/call-Get_pesr/shard-0/execution/PM13-02652. sort.disc.bam,histo_file:./PM13-02652.sort.disc.histo, mean:277.459045905,stdev:68.6063129788,read_length:100, min_non_overlap:100,discordant_z:4,back_distance: 20,weight:1,id:1,min_mapping_threshold:10 > ./lumpy_output.vcf

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/arq5x/lumpy-sv/issues/149#issuecomment-260483922, or mute the thread https://github.com/notifications/unsubscribe-auth/AAlDUaAgxefvIX2LWYdEoeCPqrMM0yiKks5q-OBdgaJpZM4Kx3cD .

Ryan Layer

awacs commented 7 years ago

Just the headers `##fileformat=VCFv4.2

source=LUMPY

INFO=

INFO=

INFO=

INFO=

INFO=

INFO=

INFO=

INFO=

INFO=

INFO=

INFO=

INFO=

INFO=

INFO=

INFO=

INFO=

INFO=

INFO=

INFO=

ALT=

ALT=

ALT=

ALT=

ALT=

ALT=

FORMAT=

FORMAT=

FORMAT=

FORMAT=

FORMAT=

CHROM POS ID REF ALT QUAL FILTER INFO FORMAT 1`

ryanlayer commented 7 years ago

Can you send over your histo file and the first few 1000 lines of your bams?

On Mon, Nov 14, 2016 at 3:40 PM, awacs notifications@github.com wrote:

Just the headers

fileformat=VCFv4.2

source=LUMPY

INFO=<ID=SVTYPE,Number=1,Type=String,Description="Type of structural

variant">

INFO=<ID=SVLEN,Number=.,Type=Integer,Description="Difference in length

between REF and ALT alleles">

INFO=<ID=END,Number=1,Type=Integer,Description="End position of the

variant described in this record">

INFO=<ID=STRANDS,Number=.,Type=String,Description="Strand orientation

of the adjacency in BEDPE format (DEL:+-, DUP:-+, INV:++/--)">

INFO=<ID=IMPRECISE,Number=0,Type=Flag,Description="Imprecise structural

variation">

INFO=<ID=CIPOS,Number=2,Type=Integer,Description="Confidence interval

around POS for imprecise variants">

INFO=<ID=CIEND,Number=2,Type=Integer,Description="Confidence interval

around END for imprecise variants">

INFO=<ID=CIPOS95,Number=2,Type=Integer,Description="Confidence interval

(95%) around POS for imprecise variants">

INFO=<ID=CIEND95,Number=2,Type=Integer,Description="Confidence interval

(95%) around END for imprecise variants">

INFO=

INFO=<ID=EVENT,Number=1,Type=String,Description="ID of event associated

to breakend">

INFO=<ID=SECONDARY,Number=0,Type=Flag,Description="Secondary breakend

in a multi-line variants">

INFO=<ID=SU,Number=.,Type=Integer,Description="Number of pieces of

evidence supporting the variant across all samples">

INFO=<ID=PE,Number=.,Type=Integer,Description="Number of paired-end

reads supporting the variant across all samples">

INFO=<ID=SR,Number=.,Type=Integer,Description="Number of split reads

supporting the variant across all samples">

INFO=<ID=BD,Number=.,Type=Integer,Description="Amount of BED evidence

supporting the variant across all samples">

INFO=<ID=EV,Number=.,Type=String,Description="Type of LUMPY evidence

contributing to the variant call">

INFO=<ID=PRPOS,Number=.,Type=String,Description="LUMPY probability

curve of the POS breakend">

INFO=<ID=PREND,Number=.,Type=String,Description="LUMPY probability

curve of the END breakend">

ALT=

ALT=

ALT=

ALT=

ALT=

ALT=

FORMAT=

FORMAT=<ID=SU,Number=1,Type=Integer,Description="Number of pieces of

evidence supporting the variant">

FORMAT=<ID=PE,Number=1,Type=Integer,Description="Number of paired-end

reads supporting the variant">

FORMAT=<ID=SR,Number=1,Type=Integer,Description="Number of split reads

supporting the variant">

FORMAT=<ID=BD,Number=1,Type=Integer,Description="Amount of BED evidence

supporting the variant">

CHROM POS ID REF ALT QUAL FILTER INFO FORMAT 1

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/arq5x/lumpy-sv/issues/149#issuecomment-260486982, or mute the thread https://github.com/notifications/unsubscribe-auth/AAlDUe1FbIGkZSx_P2LxjDSpvwfu9042ks5q-ONigaJpZM4Kx3cD .

Ryan Layer

awacs commented 7 years ago

Testing_ground.zip

ryanlayer commented 7 years ago

The bam was too small... can you send the first 1M?

On Mon, Nov 14, 2016 at 3:49 PM, awacs notifications@github.com wrote:

Testing_ground.zip https://github.com/arq5x/lumpy-sv/files/590682/Testing_ground.zip

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/arq5x/lumpy-sv/issues/149#issuecomment-260489112, or mute the thread https://github.com/notifications/unsubscribe-auth/AAlDUVn0tjUuK00DhG_7o9pbCSr-7wC2ks5q-OVhgaJpZM4Kx3cD .

Ryan Layer