Skip to content

Commit daa91eb

Browse files
Merge branch 'master' into extended-pepetide-sheet
2 parents 84c083d + 24c4e2d commit daa91eb

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

ModifiedPeptides.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ cat */pvacbind_results/*/MHC_Class_I/${SAMPLE_NAME}.all_epitopes.tsv | grep -v "
187187
```
188188

189189
### Evaluate the proposed modified peptide sequences
190-
The goal of this analysis is to test whether any strong binding peptides are created that include the modified amino acid sequences included to improve solubility. For example, one could require that no such peptides exist where the median binding affinity is < 500nm OR median binding score percentile is < 1%.
190+
The goal of this analysis is to test whether any strong binding peptides are created that include the modified amino acid sequences included to improve solubility. For example, one could require that no such peptides exist where the median binding affinity is < 500nm OR median binding score percentile is < 2%.
191191

192192
For each candidate modified peptide sequence, summarize the number of such potentially problematic peptides.
193193

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,14 @@ exit
7575
To generate files needed for manual review, save the pVAC results from the Immunogenomics Tumor Board Review meeting as $SAMPLE.revd.Annotated.Neoantigen_Candidates.xlsx (Note: if the file is not saved under this exact name the below command will need to be modified).
7676

7777
```
78-
cd $WORKING_BASE/../manual_review
79-
bsub -Is -q oncology-interactive -G $GROUP -a "docker(griffithlab/neoang_scripts)" /bin/bash
78+
docker pull griffithlab/neoang_scripts
79+
docker run -it --env WORKING_BASE -v $HOME/:$HOME/ -v $HOME/.config/gcloud:/root/.config/gcloud griffithlab/neoang_scripts /bin/bash
8080
81-
export SAMPLE="TWJF-10146-0029"
81+
cd $WORKING_BASE
8282
83-
python3 /opt/scripts/setup_review.py -WB $WORKING_BASE -a ../itb-review-files/*.xlsx -c $WORKING_BASE/../generate_protein_fasta/candidates/annotated_filtered.vcf-pass-51mer.fa.manufacturability.tsv -samp $SAMPLE -classI $WORKING_BASE/final_results/pVACseq/mhc_i/*.all_epitopes.aggregated.tsv -classII $WORKING_BASE/final_results/pVACseq/mhc_ii/*.all_epitopes.aggregated.tsv
83+
python3 /opt/scripts/generate_reviews_files.py -a itb-review-files/*.xlsx -c generate_protein_fasta/candidates/annotated_filtered.vcf-pass-51mer.fa.manufacturability.tsv -classI gcp_immuno/final_results/pVACseq/mhc_i/*.all_epitopes.aggregated.tsv -classII gcp_immuno/final_results/pVACseq/mhc_ii/*.all_epitopes.aggregated.tsv -samp $GCS_CASE_NAME -o manual_review/
84+
85+
python3 /opt/scripts/color_peptides51mer.py -p manual_review/*Peptides_51-mer.xlsx -samp $GCS_CASE_NAME -o manual_review/
8486
```
8587

8688
## Creating Case Final Report locally

scripts/modify_peptides.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ def generate_modifed_peptides(n, name, base_sequence):
3232
characters = ['K', 'R']
3333

3434
# Generate all possible combinations up to length n
35-
all_combinations = chain.from_iterable(product(characters, repeat=i) for i in range(1, n))
35+
all_combinations = chain.from_iterable(product(characters, repeat=i) for i in range(1, n+1))
36+
3637
possible_modifications = set(''.join(combination) for combination in all_combinations)
3738

3839
peptide_table = []
@@ -74,13 +75,13 @@ def assign_unique_numbers(df, column_name):
7475
def main():
7576
args = parse_arguments()
7677

77-
max_length = args.n
78+
max_length = int(args.n)
7879

7980
peptides = pd.read_csv(args.m, names=["Name", "Sequence"], header=None)
8081
peptides = peptides[1:]
8182
peptides = assign_unique_numbers(peptides, "Name")
8283

83-
max_length = 3
84+
# max_length = 3
8485
list = []
8586

8687
for index, row in peptides.iterrows():

0 commit comments

Comments
 (0)