Question: Unable to configure SRA toolkit in cygwin
gravatar for
21 months ago by wrote:

Hello, first post!

I'm trying to download SRA data using cygwin and SRA tools. If I get the data down, I can do everything I want to do, but downloading the data is where I'm getting caught up. I'm trying to change the location that prefetch downloads files to a network location instead of my hard drive which fills up fast. Cygwin's default location is c:/ncbi

  1. did a "full" cygwin installation (-debug, -docs) ~15GB
  2. curl -OL
  3. unzip
  4. cd sratoolkit.2.7.0-win64/bin
  5. ls produces many things including vdb-config.exe
  6. ./vdb-config -i on my local machine produces "-bash: ./vdb-config: Permission denied" I have total read-write permissions on my own machine
  7. If I try to unzip within the network site (questionable if I have the power to do this), I can certainly unzip the files and produce the same list of executables, but when I try to change the configuration I get "$ ./vdb-config -i ok Segmentation fault"

I'm sure I'm doing something incredibly stupid, but any suggestions would be appreciated.

software error • 789 views
ADD COMMENTlink modified 21 months ago by Antonio R. Franco3.7k • written 21 months ago by

You probably need to chmod a+x vdb-config, or whatever the equivalent is in cygwin.

ADD REPLYlink written 21 months ago by Devon Ryan81k

ok, now I'm getting $ ./vdb-config -i ok Segmentation fault

for the one on my local machine. I've removed the folder in terminal ($ rm -rf sratoolkit.2.7.0-win64/) and unzipped again and now I'm getting the same errror. I also tried redownloading the .zip file again and re-unzipping (thinking I had a bad zip file) and I keep getting errors. Thanks though!

ADD REPLYlink written 21 months ago by

No clue, you'll have better luck borrowing someone's Mac or Linux computer. Little in bioinformatics supports windows.

ADD REPLYlink written 21 months ago by Devon Ryan81k

I use sra tools from cygwin. Have you set SRA_PATH=`cygpath -u C:/<whatever>/sratoolkit.X.Y.Z-win64/bin in .bashrc or are you running it as a cygwin tool?

It is a ballache though, even once it runs it's really slow (the ballache is OS-independent). I'm sure I'll have my set up notes somewhere

ADD REPLYlink modified 21 months ago • written 21 months ago by russhh3.5k
gravatar for Antonio R. Franco
21 months ago by
Spain. Universidad de Córdoba
Antonio R. Franco3.7k wrote:

This is a case where the new native Ubuntu Linux implemented into Windows 10 anniversary update comes handy

ADD COMMENTlink written 21 months ago by Antonio R. Franco3.7k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1579 users visited in the last hour