BEDOPS sort-bed Unable to access --tempdir error
1
0
Entering edit mode
9.5 years ago
eford.dna • 0

Second BEDOPS sort-bed question of the morning.

I'm getting the below error when trying to sort a bed file with sort-bed:

[ethanf@cpebrazor mClevels]$ sort-bed --tempdir /home/ethanf/temp test.bed > test_sorted.bed
Unable to access --tempdir
[ethanf@cpebrazor mClevels]$ sort-bed --tempdir $PWD test.bed > test_sorted.bed
Unable to access --tempdir
[ethanf@cpebrazor mClevels]$ sort-bed test.bed > test_sorted.bed
[ethanf@cpebrazor mClevels]$ export TMPDIR=/home/ethanf/temp
[ethanf@cpebrazor mClevels]$ sort-bed test.bed > test_sorted.bed
[ethanf@cpebrazor mClevels]$ 

Could it be a permissions problem? I have full access to the directories I tried.

BEDOPS • 1.9k views
ADD COMMENT
0
Entering edit mode
9.5 years ago

Use --tmpdir, not --tempdir, i.e.:

[ethanf@cpebrazor mClevels]$ sort-bed --tmpdir /home/ethanf/temp test.bed > test_sorted.bed
ADD COMMENT
0
Entering edit mode

opps. O.k. I'm a little stupid. Thanks!!

ADD REPLY
0
Entering edit mode

Hi,dear Alex. I met a same problem, and when I wrote as .

/bin/vcf2bed \
    --sort-tmpdir=${/nird/projects/nird/NS9769K/GWAS_Summstats/} --max-mem=2G All_20170710.vcf > hg19.dbSNP150.bed

the error is saying --sort-tmpdir bad substitution, but if I change to --sort-tmpdir=/nird/projects/nird/NS9769K/GWAS_Summstats/, another error will be cannot find 'convert2bed', could you help me ... many thanks

ADD REPLY

Login before adding your answer.

Traffic: 1329 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6