ewels / sra-explorer

Web application to explore the Sequence Read Archive.
https://sra-explorer.info/
GNU General Public License v2.0
203 stars 29 forks source link

multiple GSM accessions as input #38

Closed FrAoJm closed 2 years ago

FrAoJm commented 2 years ago

Hi!

I try to put several GSMxxxx accessions separated by ",", but it returns nothing, not even an error. Is it possible to find a batch of files somehow? Thanks!

ewels commented 2 years ago

If I try it space delimited:

GSM758560 GSM758562 GSM758565

Then the SRA converts this query to:

GSM758560[All Fields] AND GSM758562[All Fields] AND GSM758565[All Fields]

which gives 0 results. This makes sense, as it's look for a single result with all 3 identifiers because of the AND operators.

If I manually change these to OR then I get the expected results:

GSM758560[All Fields] OR GSM758562[All Fields] OR GSM758565[All Fields]

So, looks like you need to separate with OR and it should work 👍🏻

Hope that helps!

Phil

FrAoJm commented 2 years ago

So quick!! it works nicely!! :=) Thank you!!