serve¶
Webserver for interactive spatial visualisation and querying of malva indexes
usage: malva serve [-h] [--index-in INDEX_IN] [--uuid UUID] [--annotation ANNOTATION] [--port PORT] [--address ADDRESS] [--max-mem MAX_MEM] [--max-len MAX_LEN] [--rescale-coords RESCALE_COORDS]
Named Arguments¶
- --index-in
- Valid directory where the malva index (and metadata) is located.
The directory must contain the file malva_index.h5. Otherwise, an exception will be thrown.
- --uuid
UUID for the server
- --annotation
Path to a tippecanoe annotation (vector-tile GeoJSON)
- --port
Port where the webserver will be listening to
Default:
8888- --address
Address where the webserver will be available at
Default:
'127.0.0.1'- --max-mem
Maximum allowed memory usage for the k-mer index (default: 1M)
Default:
'1M'- --max-len
Maximum allowed length for DNA/RNA queries
Default:
1000- --rescale-coords
Provided coordinate units (from the index) are rescaled by this factor
Default:
1