formated readme for first run build, standarized docker and pipeline
This commit is contained in:
@@ -47,32 +47,32 @@ pipeline:
|
||||
step1: # Julia preprocessing
|
||||
@if [ -z "$(D)" ]; then echo "Usage: make step1 D=Datura_leaf"; exit 1; fi
|
||||
docker compose run --rm msi-pipeline-gpu julia --threads auto --project=/app/environment \
|
||||
/app/scripts/julia/julia_msi_bridge.jl /app/datasets/$(D) $(D)
|
||||
/app/scripts_julia/julia_msi_bridge.jl /app/datos_para_ai/$(D) $(D)
|
||||
|
||||
step2: # SimCLR training
|
||||
@if [ -z "$(D)" ]; then echo "Usage: make step2 D=Datura_leaf"; exit 1; fi
|
||||
docker compose run --rm msi-pipeline-gpu python3 /app/scripts/python/CNN_proof_1.py $(D)
|
||||
docker compose run --rm msi-pipeline-gpu python3 /app/scripts_python/CNN_proof_1.py $(D)
|
||||
|
||||
step3: # Clustering evaluation
|
||||
@if [ -z "$(D)" ]; then echo "Usage: make step3 D=Datura_leaf"; exit 1; fi
|
||||
docker compose run --rm msi-pipeline-gpu python3 /app/scripts/python/evaluate_clustering.py $(D)
|
||||
docker compose run --rm msi-pipeline-gpu python3 /app/scripts_python/evaluate_clustering.py $(D)
|
||||
|
||||
step4: # t-SNE
|
||||
@if [ -z "$(D)" ]; then echo "Usage: make step4 D=Datura_leaf K=5"; exit 1; fi
|
||||
docker compose run --rm msi-pipeline-gpu python3 /app/scripts/python/graph_tsne_msi.py $(D) $(K)
|
||||
docker compose run --rm msi-pipeline-gpu python3 /app/scripts_python/graph_tsne_msi.py $(D) $(K)
|
||||
|
||||
step5: # Validation
|
||||
@if [ -z "$(D)" ]; then echo "Usage: make step5 D=Datura_leaf K=5"; exit 1; fi
|
||||
docker compose run --rm msi-pipeline-gpu python3 /app/scripts/python/quantitative_validation.py $(D) $(K)
|
||||
docker compose run --rm msi-pipeline-gpu python3 /app/scripts_python/quantitative_validation.py $(D) $(K)
|
||||
|
||||
step6: # Galleries
|
||||
@if [ -z "$(D)" ]; then echo "Usage: make step6 D=Datura_leaf"; exit 1; fi
|
||||
docker compose run --rm msi-pipeline-gpu python3 /app/scripts/python/visualize_clusters.py $(D)
|
||||
docker compose run --rm msi-pipeline-gpu python3 /app/scripts_python/visualize_clusters.py $(D)
|
||||
|
||||
step7: # Mass spectra
|
||||
@if [ -z "$(D)" ]; then echo "Usage: make step7 D=Datura_leaf"; exit 1; fi
|
||||
docker compose run --rm msi-pipeline-gpu julia --project=/app/environment \
|
||||
/app/scripts/julia/plot_mass_spectra.jl $(D)
|
||||
/app/scripts_julia/plot_mass_spectra.jl $(D) /app/datos_para_ai/$(D)
|
||||
|
||||
# ============================================================
|
||||
# Plots
|
||||
@@ -80,7 +80,7 @@ step7: # Mass spectra
|
||||
plot-spectra:
|
||||
@if [ -z "$(D)" ]; then echo "Usage: make plot-spectra D=Datura_leaf"; exit 1; fi
|
||||
docker compose run --rm msi-pipeline-gpu julia --project=/app/environment \
|
||||
/app/scripts/julia/plot_mass_spectra.jl $(D)
|
||||
/app/scripts_julia/plot_mass_spectra.jl $(D) /app/datos_para_ai/$(D)
|
||||
|
||||
# ============================================================
|
||||
# Cleanup (outputs only; datasets are symlinked and never removed)
|
||||
|
||||
Reference in New Issue
Block a user