Entering edit mode
8.2 years ago
mad.irish.frog
•
0
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
- did a "full" cygwin installation (-debug, -docs) ~15GB
- curl -OL http://ftp-trace.ncbi.nlm.nih.gov/sra/sdk/2.7.0/sratoolkit.2.7.0-win64.zip
- unzip sratoolkit.2.7.0-win64.zip
- cd sratoolkit.2.7.0-win64/bin
- ls produces many things including vdb-config.exe
- ./vdb-config -i on my local machine produces "-bash: ./vdb-config: Permission denied" I have total read-write permissions on my own machine
- 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.
You probably need to
chmod a+x vdb-config
, or whatever the equivalent is in cygwin.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!
No clue, you'll have better luck borrowing someone's Mac or Linux computer. Little in bioinformatics supports windows.
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