Skip to content
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

SRA file links deprecated #301

Open
tiendu opened this issue Mar 7, 2024 · 3 comments
Open

SRA file links deprecated #301

tiendu opened this issue Mar 7, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@tiendu
Copy link

tiendu commented Mar 7, 2024

Description of the bug

I used these IDs as input:

SRR26943528
SRR26943529

I was unable to retrieve the download links. ffq said that NCBI is deprecating SRA file links so that's why no download links available.

Command used and terminal output

No response

Relevant files

No response

System information

No response

@tiendu tiendu added the bug Something isn't working label Mar 7, 2024
@allyssonallan
Copy link

That what I saw when I tried...

Command executed:

  wget \
      -t 5 -nv -c -T 60 \
      -O SRX3958387_SRR7026107_1.fastq.gz \
      ftp.sra.ebi.ac.uk/vol1/fastq/SRR702/007/SRR7026107/SRR7026107_1.fastq.gz

  echo "782827dbf79c833f1c439f2db1aa932a  SRX3958387_SRR7026107_1.fastq.gz" > SRX3958387_SRR7026107_1.fastq.gz.md5
  md5sum -c SRX3958387_SRR7026107_1.fastq.gz.md5

  wget \
      -t 5 -nv -c -T 60 \
      -O SRX3958387_SRR7026107_2.fastq.gz \
      ftp.sra.ebi.ac.uk/vol1/fastq/SRR702/007/SRR7026107/SRR7026107_2.fastq.gz

  echo "53550f7b015054a1085d9268b626e6f3  SRX3958387_SRR7026107_2.fastq.gz" > SRX3958387_SRR7026107_2.fastq.gz.md5
  md5sum -c SRX3958387_SRR7026107_2.fastq.gz.md5

  cat <<-END_VERSIONS > versions.yml
  "NFCORE_FETCHNGS:SRA:SRA_FASTQ_FTP":
      wget: $(echo $(wget --version | head -n 1 | sed 's/^GNU Wget //; s/ .*$//'))
  END_VERSIONS

Command exit status:
  125

Command output:
  (empty)

We now have a S3 solution to work with. I don't know if it is a good workaround.

@allyssonallan
Copy link

Maybe this prefetch -> fasterq-dump -> gzip works.

https://github.com/ncbi/sra-tools/wiki/08.-prefetch-and-fasterq-dump

@Midnighter
Copy link
Contributor

The last part is already implemented if you run the pipeline with the option --download_method sratools.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants