Let's say I have an SRA file previously downloaded to a local filesystem by using prefetch
from SRA toolkit, but I don't have internet access. Theoretically, I should be able to convert it into FASTQ format using either fastq-dump
or fasterq-dump
. However, both of these throw errors like
error from srapath:
Error: RC(rcNS,rcNoTarg,rcValidating,rcConnection,rcNotFound)
I have confirmed that the conversion works fine when internet is enabled (using SRR000001 as a test). Why does fastq-dump need to access the internet here? And is there a way to get it to work without the internet access, perhaps by telling it not to check the srapath?
Did you try it? Does it work?
Yes, I tried it on my PC and it works.
Anyway, I do not understand, why
fastq-dump
andfasterq-dump
require internet access in the latest version:2.10.4
.Thanks so much, this is very useful to know! If others have a similar difficulty, please chime in here to encourage NCBI to allow the newer version of SRA-tools to work without internet connection when dealing with already downloaded files. https://github.com/ncbi/sra-tools/issues/302