-
Notifications
You must be signed in to change notification settings - Fork 248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configure step does not work, can't find NCBI VDB #27
Comments
In order to build 'sra-tools' you need the source files and build results of 'ncbi-vdb'. --with-ncbi-vdb-sources is directory where the source files of 'ncbi-vdb' git package are. --with-ncbi-vdb-build is the output directory of 'make' build running in 'ncbi-vdb'. |
Thank you for that prompt response. I tried setting the "--build-prefix" of NCBI VDB and the "--with-ncbi-vdb-build" of SRA toolkit to the same value as you suggested, still seeing: configure: error: required ncbi-vdb package not found. Can you show me an example "configure" command for NCBI VDB that sets --build-prefix? Then please show the corresponding example "configure" command for SRA Toolkit that sets --with-ncbi-vdb-build and --with-ncbi-vdb-sources. |
Normally, you should not use these options. Here is recommended build sequence: rm -r |
Thanks, @klymenko. Is there a downside to using these options, for example, for a system-level installation? |
@seandavi , can you elaborate a bit on what you mean? |
Certainly for a system-level installation, you should never build as root, but only install as root, so |
@klymenko Those configure examples don't work. If you do "ngs/ngs-sdk/configure --prefix=/software/apps/sratoolkit/gcc/64/2.5.8" then the corresponding SRA configure has to have this: "--with-ngs-sdk-prefix=/software/apps/sratoolkit/gcc/64/2.5.8/". Doing that does work, and the SDK is found. However, I'm still seeing this after trying various permutations of --with-ncbi-vdb-build and --with-ncbi-vdb-sources: configure: error: required ncbi-vdb package not found Can you show the values of --with-ncbi-vdb-sources and --with-ncbi-vdb-build that would work in this example? |
More complete example: sudo mkdir -p /sw/sra/src mkdir -p /sw/sra/src/1 sudo mkdir /sw/sra/build cd /sw/sra/src/1/ngs/ngs-sdk/ cd /sw/sra/src/2/ncbi-vdb/ cd /sw/sra/src/3/sra-tools/ |
It works. |
hi everyone, Can someone please help me with the commands of downloading data from ncbi sra using new sra tools, the prefetch command I used is SHOWING ERROR AND FASTDUMP COMMAND SHOWS THIS AS AN ERROR: and thanks @klymenko for sharing the build sequence for sra tools. I |
Hi @darra56-Csir , While this issue is closed, please start off by reading https://github.com/ncbi/sra-tools/wiki/HowTo:-Access-SRA-Data and win particular you should notice that tools from last March are guaranteed to fail now. Please see https://github.com/ncbi/sra-tools/wiki. If you continue to experience issues, please open a new ticket. Thanks! |
Hello, I highly recommend to post this kind of instructions in first page of the package ,for making Installation available to everyone who downloads the tool. It is not evident how to install, and especially because ncbi-vdb is required. Furthermore , |
Instructions are here: https://github.com/ncbi/sra-tools/wiki/Building-and-Installing-from-Source |
Not really sure what the right combination of options is, here's the closest I can get:
sudo ./configure --prefix=/software/apps/sratoolkit/gcc/64/2.5.8 --with-ngs-sdk-prefix=/software/apps/ngs-sdk/gcc/64/1.2.3 --with-ncbi-vdb-sources=/software/builds/ncbi-vdb/gcc/64/2.5.8/ncbi-vdb-2.5.8/ --with-ncbi-vdb-build=/software/apps/ncbi-vdb/gcc/64/2.5.8/
Configuring SRA-TOOLS package
checking system type... Linux
checking machine architecture... x86_64
checking SRA-TOOLS version... 2.5.8
checking for supported architecture... x86_64 (64 bits) is supported
checking for supported OS... Linux (linux) is supported
checking for supported tool chain... gcc tool chain is supported
checking for g++... yes
checking whether gcc accepts -Wno-array-bounds... yes
checking for fuse library... no
checking for hdf5 library... no
checking for magic library... no
checking for xml2 library... yes
checking for ngs-sdk package...
includes... /software/apps/ngs-sdk/gcc/64/1.2.3
libraries... /software/apps/ngs-sdk/gcc/64/1.2.3/lib64
includes: /software/apps/ngs-sdk/gcc/64/1.2.3/include
libraries: /software/apps/ngs-sdk/gcc/64/1.2.3/lib64
checking for ncbi-vdb package source files and build results...
includes... /software/builds/ncbi-vdb/gcc/64/2.5.8/ncbi-vdb-2.5.8
libraries... /software/apps/ncbi-vdb/gcc/64/2.5.8/lib64
no
configure: error: required ncbi-vdb package not found.
NCBI VDB is installed like this:
2518 > ls /software/apps/ncbi-vdb/gcc/64/2.5.8/lib64/
total 18340
0 libncbi-ngs-c++.a@ 0 libncbi-vdb.a.2@ 0 libncbi-vdb-static.a@ 0 libncbi-wvdb.so.2@
0 libncbi-ngs-c++.a.2@ 5752 libncbi-vdb.a.2.5.8 0 libncbi-wvdb.a@ 3512 libncbi-wvdb.so.2.5.8*
8 libncbi-ngs-c++.a.2.5.8 0 libncbi-vdb.so@ 0 libncbi-wvdb.a.2@ 0 libncbi-wvdb-static.a@
0 libncbi-ngs-c++-static.a@ 0 libncbi-vdb.so.2@ 5216 libncbi-wvdb.a.2.5.8
0 libncbi-vdb.a@ 3852 libncbi-vdb.so.2.5.8* 0 libncbi-wvdb.so@
2519 > ls /software/apps/ncbi-vdb/gcc/64/2.5.8/include/ncbi-vdb/
total 4
4 NGS.hpp*
No problem finding NGS SDK, as you can see.
The text was updated successfully, but these errors were encountered: