Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Floating point exception #13

Closed
sjackman opened this issue Jan 20, 2018 · 4 comments
Closed

Floating point exception #13

sjackman opened this issue Jan 20, 2018 · 4 comments

Comments

@sjackman
Copy link

sjackman commented Jan 20, 2018

simulateLinkedReads failed with the error Floating point exception. I'm trying to simulate reads with no simulated variations. Perhaps that's related.

❯❯❯ simulateLinkedReads.pl -z 16 -x 524 -d 1 -1 0 -4 0 -7 0 -0 0 -r GRCh38.wrap.fa -p sim.lr
Sat Jan 20 14:19:27 2018: sim.lr.status
Sat Jan 20 14:19:27 2018: Variant simulation mode enabled
Sat Jan 20 14:19:27 2018: SURVIVOR start
Sat Jan 20 14:19:27 2018: Running: /gsc/btl/linuxbrew/Cellar/lrsim/1.0/SURVIVOR 0 GRCh38.wrap.fa sim.lr.hap.parameter 0 sim.lr.hap 0
sh: line 1: 21814 Floating point exception(core dumped) /gsc/btl/linuxbrew/Cellar/lrsim/1.0/SURVIVOR 0 GRCh38.wrap.fa sim.lr.hap.parameter 0 sim.lr.hap 0 > /dev/null
Sat Jan 20 14:21:21 2018: SURVIVOR error on missing sim.lr.hapA.fasta
No such file or directory at /gsc/btl/linuxbrew/Cellar/lrsim/1.0/simulateLinkedReads.pl line 738.
unable to delete sim.lr.hapA.fasta at exit
unable to delete sim.lr.hap.homAB.insertions.fa at exit
unable to delete sim.lr.hap.hetA.insertions.fa at exit
unable to delete sim.lr.hap.hetB.insertions.fa at exit
unable to delete sim.lr.hapB.fasta at exit
Command exited with non-zero status 2
❯❯❯ cat sim.lr.status
Sat Jan 20 14:19:27 2018: sim.lr.status
Sat Jan 20 14:19:27 2018: Variant simulation mode enabled
Sat Jan 20 14:19:27 2018: SURVIVOR start
Sat Jan 20 14:19:27 2018: Running: /gsc/btl/linuxbrew/Cellar/lrsim/1.0/SURVIVOR 0 GRCh38.wrap.fa sim.lr.hap.parameter 0 sim.lr.hap 0
Sat Jan 20 14:21:21 2018: SURVIVOR error on missing sim.lr.hapA.fasta
@sjackman
Copy link
Author

Using -g rather than -r avoids running SURVIVOR and gets further:

simulateLinkedReads.pl -z 16 -x 524 -d 1 -1 0 -4 0 -7 0 -0 0 -g GRCh38.fa,GRCh38.fa -p sim.lr

@aquaskyline
Copy link
Owner

Using -g with only one copy of GRCh38.fa also work.

@sjackman
Copy link
Author

sjackman commented Jan 21, 2018

Also relevant is this commit 8abd7c1

added option n to disable all SVs

@sinamajidian
Copy link

sinamajidian commented Dec 21, 2018

Hi
I run this
~/Install/LRSIM/simulateLinkedReads.pl -r soltub_40.fasta -p out

The output is

Fri Dec 21 12:57:18 2018: out.status
Fri Dec 21 12:57:18 2018: Variant simulation mode enabled
Fri Dec 21 12:57:18 2018: SURVIVOR start
Fri Dec 21 12:57:18 2018: Running: /home/majid001/Install/LRSIM/SURVIVOR 0 soltub_40.fasta out.hap.parameter 0 out.hap 1000
Floating point exception
Fri Dec 21 12:57:18 2018: SURVIVOR error on missing out.hapA.fasta
No such file or directory at /home/majid001/Install/LRSIM/simulateLinkedReads.pl line 748.
unable to delete out.hapA.fasta at exit
unable to delete out.hap.hetB.insertions.fa at exit
unable to delete out.hap.homAB.insertions.fa at exit
unable to delete out.hap.hetA.insertions.fa at exit
unable to delete out.hapB.fasta at exit

In my pipeline, firstly, I should generate two haplotypes from the reference genome, then, generate some reads. Any idea?
I think using -g is not a good idea for my case. Because, haplotypes will not be created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants