Skip to content
Snippets Groups Projects
Commit 1c47306e authored by Tim O'Donnell's avatar Tim O'Donnell
Browse files

update

parent aff8994b
No related branches found
No related tags found
No related merge requests found
...@@ -58,32 +58,34 @@ MONOALLELIC_TRAIN="$(mhcflurry-downloads path models_class1_pan)/models.with_mas ...@@ -58,32 +58,34 @@ MONOALLELIC_TRAIN="$(mhcflurry-downloads path models_class1_pan)/models.with_mas
# ******************************************************** # ********************************************************
# First we refine a single model excluding chromosome 1. # First we refine a single model excluding chromosome 1.
echo "Beginning testing run." if false; then
time python make_multiallelic_training_data.py \ echo "Beginning testing run."
--hits "$(mhcflurry-downloads path data_mass_spec_annotated)/annotated_ms.csv.bz2" \ time python make_multiallelic_training_data.py \
--expression "$(mhcflurry-downloads path data_curated)/rna_expression.csv.bz2" \ --hits "$(mhcflurry-downloads path data_mass_spec_annotated)/annotated_ms.csv.bz2" \
--exclude-contig "1" \ --expression "$(mhcflurry-downloads path data_curated)/rna_expression.csv.bz2" \
--decoys-per-hit 1 \ --exclude-contig "1" \
--out train.multiallelic.no_chr1.csv --decoys-per-hit 1 \
--out train.multiallelic.no_chr1.csv
time mhcflurry-multiallelic-refinement \
--monoallelic-data "$MONOALLELIC_TRAIN" \ time mhcflurry-multiallelic-refinement \
--multiallelic-data train.multiallelic.no_chr1.csv \ --monoallelic-data "$MONOALLELIC_TRAIN" \
--models-dir "$(mhcflurry-downloads path models_class1_pan)/models.with_mass_spec" \ --multiallelic-data train.multiallelic.no_chr1.csv \
--hyperparameters hyperparameters.yaml \ --models-dir "$(mhcflurry-downloads path models_class1_pan)/models.with_mass_spec" \
--out-affinity-predictor-dir $(pwd)/test_models.no_chr1.affinity \ --hyperparameters hyperparameters.yaml \
--out-presentation-predictor-dir $(pwd)/test_models.no_chr1.presentation \ --out-affinity-predictor-dir $(pwd)/test_models.no_chr1.affinity \
--worker-log-dir "$SCRATCH_DIR/$DOWNLOAD_NAME" \ --out-presentation-predictor-dir $(pwd)/test_models.no_chr1.presentation \
$PARALLELISM_ARGS --worker-log-dir "$SCRATCH_DIR/$DOWNLOAD_NAME" \
$PARALLELISM_ARGS
time mhcflurry-calibrate-percentile-ranks \
--models-dir $(pwd)/test_models.no_chr1.affinity \ time mhcflurry-calibrate-percentile-ranks \
--match-amino-acid-distribution-data "$MONOALLELIC_TRAIN" \ --models-dir $(pwd)/test_models.no_chr1.affinity \
--motif-summary \ --match-amino-acid-distribution-data "$MONOALLELIC_TRAIN" \
--num-peptides-per-length 100000 \ --motif-summary \
--allele "HLA-A*02:01" "HLA-A*02:20" "HLA-C*02:10" \ --num-peptides-per-length 100000 \
--verbosity 1 \ --allele "HLA-A*02:01" "HLA-A*02:20" "HLA-C*02:10" \
$PARALLELISM_ARGS --verbosity 1 \
$PARALLELISM_ARGS
fi
# ******************************************************** # ********************************************************
echo "Beginning production run" echo "Beginning production run"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment