Closed jkreinz closed 2 years ago
Hi Julia, thanks for reporting.
I'm guessing something is happening because your bam file is small or has very few split/discordant reads.
Can you show the output of ls -lh $outdir
after the smoove run fails? where $outdir
is the full path to female_smoove
?
Thanks Brent. My original bams have 30x coverage so I wouldn't have thought bam file size would be an issue. The error also occurred for most if not all samples when I did a parallelized run across 200 bams.
> ls -lh /ohta2/julia.kreiner/commongarden_results/female_bams/secondhalf/lumpy_sv/female_smoove
total 3.0G
-rw-rw-r--. 1 julia.kreiner julia.kreiner 774M Feb 6 17:59 342.disc.bam
-rw-rw-r--. 1 julia.kreiner julia.kreiner 96K Feb 6 18:00 342.disc.bam.csi
-rw-rw-r--. 1 julia.kreiner julia.kreiner 774M Feb 6 17:59 342.disc.bam.orig.bam
-rw-rw-r--. 1 julia.kreiner julia.kreiner 7.3K Feb 6 17:56 342.histo
-rw-rw-r--. 1 julia.kreiner julia.kreiner 727M Feb 6 17:59 342.split.bam
-rw-rw-r--. 1 julia.kreiner julia.kreiner 727M Feb 6 17:59 342.split.bam.orig.bam
drwxrwxr-x. 3 julia.kreiner julia.kreiner 3 Feb 7 12:40 tmp
Thanks, I think you are right that it's not that. here's other things I can think of:
Oh, actually, I think the most promising is to make sure you have a recent version of mosdepth and that's the version that smoove finds. Maybe an old version is getting called and it doesn't understand some of the options.
As a backup, there's also something similar in #30 related to NFS, so maybe you can try TMPDIR as a directory that's local to the instance and not networked.
updating mosdepth did the trick! thanks for the quick fix.
glad you got it sorted.
Hi there,
Thanks so much for this software. Truly impressive!
I'm repeatedly running into the following error even when starting with a clean results folder. I've exported a tmp for which I have read and write error, but it seems like the issue might be with mosdepth which seems to get called without options.
The call is:
ohta1/apps/smoove call --outdir female_smoove --name 342 --fasta $reference_fasta -p 1 --genotype ../female_bams/342.dd.bam
Out to screen:
Thanks, Julia