SRA data download

Time:2021-12-30

Additional comments: sratoolkit is really rubbish!!!!! Don’t use it. Not recommended, not recommended at all!!!!

Recently, I started to participate in another direction, so I need to learn new things.

Download the sratoolkit tool to download data from NCBI.
The latest version (sratoolkit. 2.10.9-centos_linux64) is downloaded for the first time, but an error is reported when running:

./fastq-dump: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./fastq-dump)

Um~~Angry!!~
Checked the version of glibc on the following server:

strings /lib64/libc.so.6 | grep GLIBC

The maximum version installed on the display server is glibc_ 2.12。

Because upgrading glibc is really troublesome and requires administrator privileges.
So, change your mind.
Choose a lower version of sratoolkit.
Change to sratoolkit 2.8. 2-centos_ linux64. tar. gz
Download address:

https://ftp-trace.ncbi.nlm.nih.gov/sra/sdk/2.8.2/

decompression

cd bin
./fastq-dump

Perfect solution!