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

fix

parent 63771a22
No related branches found
No related tags found
No related merge requests found
......@@ -32,16 +32,16 @@ cp $SCRIPT_DIR/write_allele_list.py .
PEPTIDES=$(mhcflurry-downloads path data_mass_spec_annotated)/annotated_ms.csv.bz2
REFERENCES_DIR=$(mhcflurry-downloads path data_references)
python write_allele_list.py "$PEPTIDES" --out alleles.txt
mkdir predictions
# First just chr1 peptides
python write_proteome_peptides.py \
"$PEPTIDES" \
"${REFERENCES_DIR}/uniprot_proteins.csv.bz2" \
--chromosome 1 \
--out proteome_peptides.chr1.csv
python write_allele_list.py "$PEPTIDES" --out alleles.txt
mkdir predictions
for kind in with_mass_spec no_mass_spec
do
python run_mhcflurry.py \
......@@ -60,7 +60,33 @@ do
--cluster-script-prefix-path $SCRIPT_DIR/cluster_submit_script_header.mssm_hpc.lsf
done
# Now all peptides
python write_proteome_peptides.py \
"$PEPTIDES" \
"${REFERENCES_DIR}/uniprot_proteins.csv.bz2" \
--out proteome_peptides.all.csv
for kind in with_mass_spec no_mass_spec
do
python run_mhcflurry.py \
proteome_peptides.all.csv \
--chunk-size 500000 \
--batch-size 65536 \
--models-dir "$(mhcflurry-downloads path models_class1_pan)/models.$kind" \
--allele $(cat alleles.txt) \
--out "predictions/all.mhcflurry.$kind" \
--verbosity 1 \
--worker-log-dir "$SCRATCH_DIR/$DOWNLOAD_NAME" \
--cluster-parallelism \
--cluster-max-retries 15 \
--cluster-submit-command bsub \
--cluster-results-workdir ~/mhcflurry-scratch \
--cluster-script-prefix-path $SCRIPT_DIR/cluster_submit_script_header.mssm_hpc.lsf
done
bzip2 proteome_peptides.chr1.csv
bzip2 proteome_peptides.all.csv
cp $SCRIPT_ABSOLUTE_PATH .
bzip2 LOG.txt
......
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