File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -273,7 +273,6 @@ def main():
273
273
for index , row in peptides_51mer .iterrows ():
274
274
275
275
search_string = row ['51mer ID' ]
276
- print (search_string )
277
276
278
277
#classII_sequence
279
278
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():
310
309
311
310
next_td_tags [2 ].string = new_string
312
311
312
+ # Remove the tag_with_search_string from the BeautifulSoup tree
313
+ tag_with_search_string .decompose ()
314
+
313
315
modified_html = peptides_51mer_soup .prettify (formatter = None )
314
316
315
317
else :
Original file line number Diff line number Diff line change 2
2
pandas
3
3
et-xmlfile == 1.1.0
4
4
openpyxl == 3.1.2
5
- bs4 == 0.0.1
5
+ bs4 == 0.0.1
6
+ biopython
Original file line number Diff line number Diff line change 25
25
26
26
27
27
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 } "
30
30
31
31
32
32
# Execute the first script
You can’t perform that action at this time.
0 commit comments