Skip to content

Commit 4fa95aa

Browse files
added required package for MW and removed extra ID column
1 parent 0398e6c commit 4fa95aa

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

scripts/color_peptides51mer.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,6 @@ def main():
273273
for index, row in peptides_51mer.iterrows():
274274

275275
search_string = row['51mer ID']
276-
print(search_string)
277276

278277
#classII_sequence
279278
classII_peptide = merged_peptide_51mer.loc[merged_peptide_51mer['51mer ID'] == search_string, 'Best Peptide Class II'].values[0]
@@ -310,6 +309,9 @@ def main():
310309

311310
next_td_tags[2].string = new_string
312311

312+
# Remove the tag_with_search_string from the BeautifulSoup tree
313+
tag_with_search_string.decompose()
314+
313315
modified_html = peptides_51mer_soup.prettify(formatter=None)
314316

315317
else:

scripts/requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ argparse
22
pandas
33
et-xmlfile == 1.1.0
44
openpyxl == 3.1.2
5-
bs4 == 0.0.1
5+
bs4 == 0.0.1
6+
biopython

scripts/setup_review.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525

2626

2727

28-
command1 = f"python /Volumes/mgriffit/Active/griffithlab/gc2596/e.schmidt/neoag_vaccine_scripts/scripts/generate_reviews_files.py -WB {args.WB} -a {args.a} -c {args.c} -samp {args.samp}"
29-
command2 = f"python /Volumes/mgriffit/Active/griffithlab/gc2596/e.schmidt/neoag_vaccine_scripts/scripts/color_peptides51mer.py -WB {args.WB} -p {args.WB}/../manual_review/{args.samp}_Peptides_51-mer.xlsx -classI {args.classI} -classII {args.classII} -samp {args.samp}"
28+
command1 = f"python /opt/scripts/generate_reviews_files.py -WB {args.WB} -a {args.a} -c {args.c} -samp {args.samp}"
29+
command2 = f"python /opt/scripts/color_peptides51mer.py -WB {args.WB} -p {args.WB}/../manual_review/{args.samp}_Peptides_51-mer.xlsx -classI {args.classI} -classII {args.classII} -samp {args.samp}"
3030

3131

3232
# Execute the first script

0 commit comments

Comments
 (0)