Giter Site home page Giter Site logo

Comments (6)

saketkc avatar saketkc commented on June 21, 2024 1

Hi @amitpande74, You should be able to set a custom directory for the downloads using --out-dir:

pysradb download -p SRP165962 --out-dir /path/to/xyz

Feel free to reopen if you face any issues.

from pysradb.

amitpande74 avatar amitpande74 commented on June 21, 2024

Hi @saketkc
I tried the command
pysradb download -p SRP165962 --out-dir , but it only downloads the empty folders.

from pysradb.

saketkc avatar saketkc commented on June 21, 2024

Hi @amitpande74, I am unable to replicate this at my end.
See this notebook for an example: https://colab.research.google.com/drive/141ambHwCshyMZlZjgQgci6WCEZv6Z2KO

from pysradb.

amitpande74 avatar amitpande74 commented on June 21, 2024

Hi,
I think I found out the problem.
SRP165962 SRX4896814 SRS3943426 SRR8068516 [email protected]:/sra/sra-instant/reads/ByRun/sra/SRR/SRR806/SRR8068516/SRR8068516.sra
Whereas in the colab notebook which you shared, this link is not being shown.
and when i checked the link ftp-trace.ncbi.nlm.nih.gov:/sra/sra-instant/ it is empty.
how to avoid this ?
Is sra-tools a requirement ? 'cause I dont have this installed.

from pysradb.

saketkc avatar saketkc commented on June 21, 2024

The file is here: https://sra-download.ncbi.nlm.nih.gov/traces/sra67/SRR/007879/SRR8068516 (See last line on colab)
and pysradb does download it. I aborted the complete download since there is not enough space on colab to do so.

from pysradb.

saketkc avatar saketkc commented on June 21, 2024

Are you using SRAmetadb.sqlite? Please make sure you do not have it in your current working directory. We are moving away from SRAmetadb. The above commands are for SRAweb mode which does not require SRAmetadb.sqlite.

from pysradb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.