brentp / vcfanno

annotate a VCF with other VCFs/BEDs/tabixed files
https://genomebiology.biomedcentral.com/articles/10.1186/s13059-016-0973-5
MIT License
357 stars 55 forks source link

Sorting large VCF file fails #61

Closed sa9 closed 7 years ago

sa9 commented 7 years ago

I am trying to annotate a 5+ Gb compressed VCF file with vcfanno but it fails at the sorting (after 10 min or so) with this message sort: write failed: /tmp/sortTH9eaK: No space left on device

I tried fews things like

But the same issue persists. I know this is an OS issue not a vcfanno specific but I wonder where does vcfanno invoke the sort command and how can we change the default behavior?


vcfanno version 0.1.1 [built with go1.8]

see: https://github.com/brentp/vcfanno
=============================================
vcfanno.go:114: found 2 sources from 2 files
sort -k1,1d -k2,2n
sort: write failed: /tmp/sortTH9eaK: No space left on device```
brentp commented 7 years ago

Hi, this isn't a vcfanno problem, your drive is full. You can see if there are other drives with more space with df -h

vcfanno doesn't call sort, so you must be doing that in the command-line, though it's not shown in your invocation above.