Skip to content

Commit

Permalink
renamed protein and pathogen fields
Browse files Browse the repository at this point in the history
  • Loading branch information
riasc committed Sep 2, 2024
1 parent 4e1345f commit d52df6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions workflow/scripts/prioritization/filtering.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,14 @@ def __init__(self, output_dir, mhc_class, vartype):
df.insert(len(df.keys()), "pathogen_similarity", score)
df.insert(len(df.keys()), "pathogen_evalue", evalue)
df.insert(len(df.keys()), "pathogen_bitscore", bitscore)
df.insert(len(df.keys()), "pathogen_organism", organism)
df.insert(len(df.keys()), "pathogen", organism)

# calculate proteome similarity
prot_score, prot_evalue, prot_bit, prot = self.proteome_similarity(mt_epitope_seq)
df.insert(len(df.keys()), "proteome_similarity", prot_score)
df.insert(len(df.keys()), "proteome_evalue", prot_evalue)
df.insert(len(df.keys()), "proteome_bitscore", prot_bit)
df.insert(len(df.keys()), "proteome_organism", prot)
df.insert(len(df.keys()), "protein", prot)

self.outfile = os.path.join(output_dir, f"{vartype}_{mhc_class}_neoepitopes.txt")

Expand Down

0 comments on commit d52df6e

Please sign in to comment.