lfj-code / transfer /code /scGPT /data /cellxgene /build_soma_idx.sh
ethan1115's picture
Upload folder using huggingface_hub
0161e74 verified
#!/bin/sh
# output directory for the index
OUTPUT_DIR=$1
QUERY_LIST=$2
while read QUERY; do
echo "building index for ${QUERY}"
python3 ./build_soma_idx.py --query-name ${QUERY} --output-dir ${OUTPUT_DIR}
done < ${QUERY_LIST}