Error in downloadEncode
0
0
Entering edit mode
8.1 years ago
atsalaki ▴ 20

When i run this in R downloadEncode(resultSet = query_results[5,], resultOrigin = "searchEncode") I get the following error

Error in if (md5sum_file != md5sums[i]) { : 
  missing value where TRUE/FALSE needed
In addition: Warning messages:
1: running command 'curl -L -s -S "https://www.encodeproject.org/files/ENCFF002DAD/@@download/ENCFF002DAD.bed.gz"  -o "./ENCFF002DAD.bed.gz"' had status 127 
2: In download.file(url = paste0(encode_root, hrefs[i]), quiet = TRUE,  :
  download had nonzero exit status

I can't understand why??

ChIP-Seq R software error • 2.1k views
ADD COMMENT
0
Entering edit mode

Given your error code, are you sure you have curl installed?

ADD REPLY
0
Entering edit mode

I have already installed it through the ENCODE exlporer package

ADD REPLY
0
Entering edit mode

OK, so if you run

curl -L -s -S "https://www.encodeproject.org/files/ENCFF002DAD/@@download/ENCFF002DAD.bed.gz"  -o "./ENCFF002DAD.bed.gz"

at the command line do you get any additional warnings / messages printed out

ADD REPLY
0
Entering edit mode

In R it says unexpected string constant in curl bla bla :(. I have installed also curl in windows folder i putted there the curl.exe file. In command prompt it says curl: <23> failed writing body (0!=4096)

But what is the first error above the curl error Error in if (md5sum_file != md5sums[i]) { : missing value where TRUE/FALSE needed?

ADD REPLY

Login before adding your answer.

Traffic: 1933 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