Giter Site home page Giter Site logo

Comments (3)

dibyaaaaax avatar dibyaaaaax commented on July 20, 2024

Hi, I would like to take up this issue but I am facing a problem.
How do I write a command to make sure SRAweb is used instead of SRAmetadb? All the command I have tried initiates the download process for SRAmetadb.sqlite.gz.

from pysradb.

saketkc avatar saketkc commented on July 20, 2024

Hi @dibyaaaaax, thanks for your interest! I just added a template version for testing SRAweb mode here: https://github.com/saketkc/pysradb/blob/master/tests/test_sraweb.py

The idea would be to test each and every function that is in sraweb.py. Ideally, each function should be tested on different set of SRP IDs. I have attached a list of SRPs in a file here. In order to verify if the total number of records for each SRP are correct, you will need to manually verify it using the web interface.

Example:

SRP: SRP016501
Online version of metadata (URL): https://www.ncbi.nlm.nih.gov/Traces/study1/?acc=SRP016501

1.Basic check:
Verify that the total number of records is 134 as shown under the "Runs" column.

2.Advanced check:
Check if the tissue column in the online version is the same as in the SRAweb version when using sraweb_connection.sra_metadata("SRP016501", detailed=True). One easy way to do this is to download the "Runinfo table" from SRA (using the URL above, also attached here) and check if SRAweb's output captures all the columns in the Runinfo table or not (even if the exact column name is not the same).

Please let me know if you have any questions.
SRP_IDs.txt
SraRunTable.txt

from pysradb.

saketkc avatar saketkc commented on July 20, 2024

Should be fixed by #43

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.