Skip to content

Filtering for null

LAPIS allows users to filter for null in the metadata. You can either filter for null values or for non-null values:

Get the number of sequences where the stringField field is null:

GET /sample/aggregated?stringField.isNull=true
POST /sample/aggregated
{
"stringField.isNull": true
}

Get the number of sequences where the stringField field is not null:

GET /sample/aggregated?stringField.isNull=false
POST /sample/aggregated
{
"stringField.isNull": false
}