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

[BUG] srp-to-srr giving SRSs as result #213

Open
arcones opened this issue Feb 21, 2024 · 3 comments
Open

[BUG] srp-to-srr giving SRSs as result #213

arcones opened this issue Feb 21, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@arcones
Copy link

arcones commented Feb 21, 2024

Describe the bug
Given SRP319378, when I ask pysradb the SRRs it gives me SRSs instead of SRRs

To Reproduce
Steps to reproduce the behavior:
pysradb srp-to-srr SRP481544

Desktop

  • OS: Ubuntu 22.04
  • Python 3.10.2

Additional context
It happens to me as well in the following SRPs: SRP319378, SRP227554, SRP299449, SRP298142.

@arcones arcones added the bug Something isn't working label Feb 21, 2024
@saketkc
Copy link
Owner

saketkc commented Feb 21, 2024

This looks like a bug, but I am not sure why I cannot reproduce it with other SRPs (SRP481543 for example)

@arcones
Copy link
Author

arcones commented Feb 21, 2024

One detail I should have commented before is that I am integrating pysradb in a python project, not using it from terminal. My application uses pysradb 2.2.0 and does:

from pysradb import SRAweb

[...]
srp = 'SRP481544'
raw_pysradb_data_frame = SRAweb().srp_to_srr(srp)
srrs = list(raw_pysradb_data_frame['run_accession'])

@saketkc
Copy link
Owner

saketkc commented Feb 22, 2024

I think it is specific to this SRP - are there other examples where you have run into the same error?

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

2 participants