This is a test version of Biostars. For the public version, visit https://www.biostars.org.
tcga slice bam downloading problem

Hello everybody...! I'm trying to download ran-seq slice bam from TCGA. I used following command line:

curl -H "X-Auth-Token: $token" "https://gdc-api.nci.nih.gov/slicing/view/02182379-e10d-4ca2-8cc9-af33e4194ff8?$regions" > Temporany.bam

Where: $regions are the list about 1700 gene positions (ex. region=chr1:xxxx-xxxxx&region=chr2:xxxx-xxxx etc...). But it gives me the following errors:

curl: (56) SSLRead() return error -9806.

Did anyone face the same issue? If yes, how does one resolve this. Thanks.

rna-seq tcga slice_bam curl

1 answer

Maybe your curl has not been built including openssl, for instance in the install docs, you can

./configure --with-ssl

before building (from https://curl.haxx.se/docs/install.html). If you use Mac with Homebrew, there is this option:

brew install --with-openssl curl

Log in to answer this question.