GenSpectrum / LAPIS-SILO

Sequence Indexing engine for Large Order of genomic data
GNU Affero General Public License v3.0
10 stars 3 forks source link

FASTA actions error #381

Open mneacsu opened 5 months ago

mneacsu commented 5 months ago

This request works fine: https://lapis.cov-spectrum.org/gisaid/v2/sample/alignedNucleotideSequences?accessKey={accessKey}&country=Switzerland&DateMonth=5&limit=3 . However, if I relax the filters like this: https://lapis.cov-spectrum.org/gisaid/v2/sample/alignedNucleotideSequences?accessKey={accessKey}&country=Switzerland&limit=3, I get the following error: "Error from SILO: FastaAligned action currently limited to 10000 sequences", although the limit is set. Same thing happens for the unalignedNucleotideSequences and alignedAminoAcidSequences endpoints.

fengelniederhammer commented 4 months ago

I just check to make sure - this is a query that's sent to SILO:

{
    "action": {
        "randomize": false,
        "limit": 3,
        "type": "FastaAligned",
        "sequenceName": "main"
    },
    "filterExpression": {
        "type": "True"
    }
}

So this needs to be fixed in SILO.

fengelniederhammer commented 4 months ago

Should be resolved when #112 is done - let's check again later.